Re: pagure-over-dist-git: traceback in receive-hook when pushing to new repo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/10/2017 03:01 PM, Fabio Valentini wrote:
> I've just pushed an import commit to my first repository that was created
> with fedrepo_req on pagure, and I got the following traceback from the
> remote when it obviously failed to run a post-receive hook:
> 
> remote: Traceback (most recent call last):
> remote:   File "./hooks/post-receive.default", line 19, in <module>
> remote:     import pagure  # noqa: E402
> remote:   File "/usr/lib/python2.7/site-packages/pagure/__init__.py", line
> 60, in <module>
> remote:     APP.config.from_envvar('PAGURE_CONFIG')
> remote:   File "/usr/lib/python2.7/site-packages/flask/config.py", line
> 108, in from_envvar
> remote:     return self.from_pyfile(rv, silent=silent)
> remote:   File "/usr/lib/python2.7/site-packages/flask/config.py", line
> 128, in from_pyfile
> remote:     with open(filename) as config_file:
> remote: IOError: [Errno 13] Unable to load configuration file (Permission
> denied): '/etc/pagure/pagure.cfg'
> remote: Hook ./hooks/post-receive.default failed with error code 1
> 
> My commit shows up fine in the web GUI.
> Should I be worried about this? Is anybody else seeing this error?

No need to worry and this is tracked in
https://pagure.io/fedora-infrastructure/issue/6235

kevin


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux