Bug 619763 - [abrt] crash in fedora-packager- subprocess.py:1126:_execute_child:OSError: [Errno 2] No such file or directory
[abrt] crash in fedora-packager- subprocess.py:1126:_execute_c...
Product: Fedora
Classification: Fedora
Component: fedora-packager (Show other bugs)
x86_64 Linux
low Severity medium
: ---
: ---
Assigned To: Dennis Gilmore
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2010-07-30 09:20 EDT by Konstantin Ryabitsev
Modified: 2013-01-10 01:06 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-08-12 02:11:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
File: backtrace (5.19 KB, text/plain)
2010-07-30 09:20 EDT, Konstantin Ryabitsev
no flags Details

  None (edit)
Description Konstantin Ryabitsev 2010-07-30 09:20:24 EDT
abrt 1.1.1 detected a crash.

architecture: x86_64
Attached file: backtrace
cmdline: /usr/bin/python /usr/bin/fedpkg clone epylog
comment: First attempt to use fedpkg -- somewhat discouraging. :)
component: fedora-packager
executable: /usr/bin/fedpkg
package: fedora-packager-
reason: subprocess.py:1126:_execute_child:OSError: [Errno 2] No such file or directory
release: Fedora release 13 (Goddard)

How to reproduce
1. Trying to do "fedpkg clone epylog"
Comment 1 Konstantin Ryabitsev 2010-07-30 09:20:25 EDT
Created attachment 435550 [details]
File: backtrace
Comment 2 Dennis Gilmore 2010-07-30 10:48:08 EDT
Please update to
Comment 3 Konstantin Ryabitsev 2010-07-30 12:31:47 EDT
Hmm.. abrt is actually incorrect reporting the version.

$ rpm -qf /usr/bin/fedpkg

$ fedpkg clone epylog
Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 959, in <module>
  File "/usr/bin/fedpkg", line 409, in clone
    pyfedpkg.clone(args.module[0], args.user, args.path, args.branch)
  File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line 302, in clone
  File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line 115, in _run_command
    stderr=sys.stderr, shell=shell)
  File "/usr/lib64/python2.6/subprocess.py", line 483, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib64/python2.6/subprocess.py", line 470, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib64/python2.6/subprocess.py", line 621, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.6/subprocess.py", line 1126, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Comment 4 Dennis Gilmore 2010-07-30 12:44:31 EDT
[dennis@pegasus fedora]$ fedpkg clone epylog
Cloning into epylog...
remote: Counting objects: 153, done.
remote: Compressing objects: 100% (61/61), done.
remote: Total 153 (delta 82), reused 153 (delta 82)
Receiving objects: 100% (153/153), 19.46 KiB, done.
Resolving deltas: 100% (82/82), done.
[dennis@pegasus fedora]$ rpm -q fedora-packager
Comment 5 Konstantin Ryabitsev 2010-07-30 13:28:01 EDT
That doesn't really help me.
Comment 6 Stijn Hoop 2010-07-30 13:42:45 EDT
Konstantin, may be a simple question, but do you have git installed?
Comment 7 Konstantin Ryabitsev 2010-07-30 13:51:41 EDT

I guess someone forgot to add it as a dep to fedora-packager. :)

It works now (at least as far as "fedpkg co").
Comment 8 Jesse Keating 2010-07-30 14:17:33 EDT
I expected to get a git dep through our dep on GitPython, but that didn't seem to happen.  We should explicitly depend on git as well I suppose.
Comment 9 Charley Wang 2010-08-03 11:08:30 EDT
Package: fedora-packager-
Architecture: i686
OS Release: Fedora release 13 (Goddard)

How to reproduce
1. Update fedora-packager to 0.5.1
2. fedkpg clone eclipse-mylyn
3. fedpkg clone -B eclipse-mylyn
(Both commands fail)

Fedora-cvs presently works on this machine, I believe any required certificate files are all right.
Comment 10 Charley Wang 2010-08-03 11:13:40 EDT
Ah, it was indeed the lack of git on this machine that was causing the error.

Installing it makes the crashes go away.
Comment 11 Luya Tshimbalanga 2010-08-05 16:48:33 EDT
Package: fedora-packager-
Architecture: i686
OS Release: Fedora release 13 (Goddard)

How to reproduce
1. Use the command: fedpkg clone <yourpackage>

Crash happened when attempting to clone a package
Comment 12 Jesse Keating 2010-08-06 15:35:39 EDT
GitPython update will solve this.  https://admin.fedoraproject.org/updates/GitPython-0.2.0-0.3.beta1.fc13

Note You need to log in before you can comment on or make changes to this bug.