Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: I have followed workaround: https://bugzilla.redhat.com/show_bug.cgi?id=1036046#c10 Then called: $ pyp2rpm -n django-grappelli and got the traceback. When I have noted "subprocess.Popen('rpmdev-packager'" in the traceback, I have installed "rpmdevtools" package and thn it worked. Version-Release number of selected component: pyp2rpm-1.0.1-3.fc20 Additional info: reporter: libreport-2.1.11 cmdline: /usr/bin/python /usr/bin/pyp2rpm -n django-grappelli executable: /usr/bin/pyp2rpm kernel: 3.12.8-300.fc20.x86_64 runlevel: N 5 type: Python uid: 1000 Truncated backtrace: subprocess.py:1308:_execute_child:OSError: [Errno 2] No such file or directory Traceback (most recent call last): File "/usr/bin/pyp2rpm", line 9, in <module> load_entry_point('pyp2rpm==1.0.1', 'console_scripts', 'pyp2rpm')() File "/usr/lib/python2.7/site-packages/pyp2rpm/bin.py", line 75, in main converted = convertor.convert() File "/usr/lib/python2.7/site-packages/pyp2rpm/convertor.py", line 75, in convert return jinja_template.render(data = data, name_convertor = name_convertor) File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 969, in render return self.environment.handle_exception(exc_info, True) File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 742, in handle_exception reraise(exc_type, exc_value, tb) File "/usr/lib/python2.7/site-packages/pyp2rpm/templates/fedora.spec", line 116, in top-level template code * {{ data.changelog_date_packager }} - {{ data.version }}-1 File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 397, in getattr return getattr(obj, attribute) File "/usr/lib/python2.7/site-packages/pyp2rpm/package_data.py", line 53, in changelog_date_packager packager = subprocess.Popen('rpmdev-packager', stdout = subprocess.PIPE).communicate()[0].strip() File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1308, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory Local variables in innermost frame: errread: None c2pread: 4 gc_was_enabled: True errwrite: None shell: False errpipe_write: 7 executable: 'rpmdev-packager' close_fds: False self: <subprocess.Popen object at 0x1d41550> env: None cwd: None child_exception: OSError(2, 'No such file or directory') args: ['rpmdev-packager'] c2pwrite: 5 data: 'cexceptions\nOSError\np0\n(I2\nS\'No such file or directory\'\np1\ntp2\nRp3\n(dp4\nS\'child_traceback\'\np5\nS\'Traceback (most recent call last):\\n File "/usr/lib64/python2.7/subprocess.py", line 1263, in _execute_child\\n os.execvp(executable, args)\\n File "/usr/lib64/python2.7/os.py", line 344, in execvp\\n _execvpe(file, args)\\n File "/usr/lib64/python2.7/os.py", line 380, in _execvpe\\n func(fullname, *argrest)\\nOSError: [Errno 2] No such file or directory\\n\'\np6\nsb.' creationflags: 0 errpipe_read: 6 preexec_fn: None p2cread: None startupinfo: None p2cwrite: None universal_newlines: False
Created attachment 854108 [details] File: backtrace
Created attachment 854109 [details] File: dso_list
Created attachment 854110 [details] File: environ
Hi, Yes, this is also problem with requires. I will fix this.
pyp2rpm-1.0.1-4.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/pyp2rpm-1.0.1-4.fc20
Package pyp2rpm-1.0.1-4.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing pyp2rpm-1.0.1-4.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-1798/pyp2rpm-1.0.1-4.fc20 then log in and leave karma (feedback).
Thanks, it have requirements set as expected now.
pyp2rpm-1.0.1-4.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.