#7465 `No such file or directory` when pushing to python-flask-babelex
Closed: Fixed 5 years ago Opened 5 years ago by ignatenkobrain.

⋊> /v/t/f/python-flask-babelex on master ⨯ git push                                                                                                                                                        18:26:41
fedpkg build --nowait
.Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 8 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 1.25 KiB | 1.25 MiB/s, done.
Total 3 (delta 1), reused 0 (delta 0)
.
remote: Running hooks for rpms/python-flask-babelex
remote: Running hooks for rpms/python-flask-babelex
remote: Emitting a message to the fedmsg bus.
remote: * Publishing information for 1 commits
remote: Sending notification emails to: python-flask-babelex-owner@fedoraproject.org
remote: Running hooks for rpms/python-flask-babelex
remote: Sending to redis to log activity and send commit notification emails
remote: * Publishing information for 1 commits
remote: Running legacy hook post-receive.mail. 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 517, in run_hook_file
remote:     pull_request,
remote:   File "/usr/lib/python2.7/site-packages/pagure/hooks/__init__.py", line 435, 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/python-flask-babelex
   093884e..239a3b7  master -> master

I believe I have fixed this, can you confirm?

Metadata Update from @pingou:
- Issue assigned to pingou
- Issue priority set to: Waiting on Reporter (was: Needs Review)
- Issue tagged with: src.fp.o

5 years ago

@pingou just happened to me on another package:

⋊> /v/t/f/python-flask-mail on master ⨯ git push                                                                                    21:23:23
fedpkg build --nowait
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 8 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 1.23 KiB | 1.23 MiB/s, done.
Total 3 (delta 1), reused 0 (delta 0)
..
remote: Running hooks for rpms/python-flask-mail
remote: Running hooks for rpms/python-flask-mail
remote: Emitting a message to the fedmsg bus.
remote: * Publishing information for 1 commits
remote: Sending notification emails to: python-flask-mail-owner@fedoraproject.org
remote: Running hooks for rpms/python-flask-mail
remote: Sending to redis to log activity and send commit notification emails
remote: * Publishing information for 1 commits
remote: Running legacy hook post-receive.mail. 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 517, in run_hook_file
remote:     pull_request,
remote:   File "/usr/lib/python2.7/site-packages/pagure/hooks/__init__.py", line 435, 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/python-flask-mail
   c6e0ef2..02cbf68  master -> master

The next pagure release (5.2) should fix all these...

I've fixed this one manually again, let me know if this doesn't work :)

I also went ahead and manually fixed all the ones I could find :)

Let's close this and hopefully never hear from it again :)

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