#7402 No such file or directory on Pagure post-receive hook
Closed: Fixed 5 years ago Opened 5 years ago by bowlofeggs.

  • Describe what you need us to do:
    When pushing to Bodhi's spec file repo, I got this traceback:
$ git push
Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 2 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 538 bytes | 538.00 KiB/s, done.
Total 4 (delta 2), reused 0 (delta 0)
remote: Running hooks for rpms/bodhi
remote: Running hooks for rpms/bodhi
remote: Running legacy hook update.sample. Please ask your admin to port this to the new plugin format, as the current system will cease functioning in a future Pagure release                                   
remote: Emitting a message to the fedmsg bus.
remote: * Publishing information for 1 commits
remote: No handlers could be found for logger "pagure.hooks.default"
remote: Running hooks for rpms/bodhi
remote: Sending to redis to log activity and send commit notification emails
remote: * Publishing information for 1 commits
remote:   - to fedmsg
remote:   - to web-hooks
remote: Running legacy hook post-receive.sample. Please ask your admin to port this to the new plugin format, as the current system will cease functioning in a future Pagure release                             
remote: Running legacy hook post-receive.fedmsg. Please ask your admin to port this to the new plugin format, as the current system will cease functioning in a future Pagure release                             
remote: Traceback (most recent call last):
remote:   File "/usr/lib/python2.7/site-packages/pagure/hooks/files/post-receive", line 26, in <module>
remote:     run_hook_file(hooktype)
remote:   File "/usr/lib/python2.7/site-packages/pagure/hooks/__init__.py", line 513, in run_hook_file
remote:     pull_request,
remote:   File "/usr/lib/python2.7/site-packages/pagure/hooks/__init__.py", line 431, in run_project_hooks                                                                                                        
remote:     [hookfile] + args, cwd=repodir, stdin=subprocess.PIPE
remote:   File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
remote:     errread, errwrite)
remote:   File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
remote:     raise child_exception
remote: OSError: [Errno 2] No such file or directory
To ssh://pkgs.fedoraproject.org/rpms/bodhi
   ac43086..805d9be  master -> master
  • When do you need this? (YYYY/MM/DD)
    I don't know if I do need it, but thought I should report it.

  • When is this no longer needed or useful? (YYYY/MM/DD)
    N/A.

  • If we cannot complete your request, what is the impact?
    No idea.


Metadata Update from @bowlofeggs:
- Issue tagged with: src.fp.o

5 years ago

Metadata Update from @pingou:
- Issue assigned to pingou

5 years ago

I believe this should be fixed now, let me know if it isn't :)

Metadata Update from @pingou:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata