Bug 772895 - [abrt] fedora-review-0.1.1-1.fc16: tarfile.py:1720:gzopen:IOError: [Errno 2] No such file or directory: 'jek-flatland-0938e70bb76d.tar.bz2'
Summary: [abrt] fedora-review-0.1.1-1.fc16: tarfile.py:1720:gzopen:IOError: [Errno 2] ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-review
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stanislav Ochotnicky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6266fdec57a310511970a74ca52...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-10 09:19 UTC by Matthias Runge
Modified: 2012-07-28 01:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-14 21:54:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matthias Runge 2012-01-10 09:19:08 UTC
libreport version: 2.0.8
abrt_version:   2.0.7
cmdline:        /usr/bin/python -tt /usr/bin/fedora-review -b 768007
executable:     /usr/bin/fedora-review
reason:         tarfile.py:1720:gzopen:IOError: [Errno 2] No such file or directory: 'jek-flatland-0938e70bb76d.tar.bz2'
time:           Tue 10 Jan 2012 10:10:50 CET
uid:            500
username:       mrunge

backtrace:
:tarfile.py:1720:gzopen:IOError: [Errno 2] No such file or directory: 'jek-flatland-0938e70bb76d.tar.bz2'
:
:Traceback (most recent call last):
:  File "/usr/bin/fedora-review", line 202, in <module>
:    review.run()
:  File "/usr/bin/fedora-review", line 196, in run
:    self.__do_report()
:  File "/usr/bin/fedora-review", line 110, in __do_report
:    self.__do_report_local(self.args.workdir)
:  File "/usr/bin/fedora-review", line 119, in __do_report_local
:    self.__run_checks(files_spec[0], files_srpm[0])
:  File "/usr/bin/fedora-review", line 165, in __run_checks
:    self.checks.run_checks(output=output)
:  File "/usr/lib/python2.7/site-packages/FedoraReview/misc.py", line 117, in run_checks
:    if test.is_applicable() and test.__class__.__name__ \
:  File "/usr/lib/python2.7/site-packages/FedoraReview/checks/ccpp.py", line 13, in is_applicable
:    self.sources_have_files('*.c') or \
:  File "/usr/lib/python2.7/site-packages/FedoraReview/checks/generic.py", line 89, in sources_have_files
:    sources_files = self.sources.get_files_sources()
:  File "/usr/lib/python2.7/site-packages/FedoraReview/__init__.py", line 270, in get_files_sources
:    self.extract_all()
:  File "/usr/lib/python2.7/site-packages/FedoraReview/__init__.py", line 249, in extract_all
:    source.extract()
:  File "/usr/lib/python2.7/site-packages/FedoraReview/__init__.py", line 328, in extract
:    tar = tarfile.open(self.filename)
:  File "/usr/lib64/python2.7/tarfile.py", line 1658, in open
:    return func(name, "r", fileobj, **kwargs)
:  File "/usr/lib64/python2.7/tarfile.py", line 1720, in gzopen
:    fileobj = bltn_open(name, mode + "b")
:IOError: [Errno 2] No such file or directory: 'jek-flatland-0938e70bb76d.tar.bz2'
:
:Local variables in innermost frame:
:name: 'jek-flatland-0938e70bb76d.tar.bz2'
:compresslevel: 9
:mode: 'r'
:fileobj: None
:kwargs: {}
:gzip: <module 'gzip' from '/usr/lib64/python2.7/gzip.pyc'>
:cls: <class 'tarfile.TarFile'>

comment:
:reviewing bz 768007
:
:I assume, this crashed, because src-file is .tar.bz2 instead of tar.gz
:
:I'm pretty sure, the requested file exists.

Comment 1 Pierre-YvesChibon 2012-01-10 10:27:02 UTC
The error is correct, the sources should be in the folder 768007, they are not.

I'm trying to find where it goes wrong.

Comment 2 Pierre-YvesChibon 2012-01-10 11:02:49 UTC
Ok I found and documented in the source where the problem is, but I don't know yet the best way to fix it.

Comment 3 Alec Leamas 2012-07-09 07:38:26 UTC
Current devel version uses rpmdev-extract, which should be able to handle all formats rpmbuild can handle.

The testcase above (768007) seems outdated, I get 404 when trying http://fedorapeople.org/~limb/review/python-flatland/python-flatland-0.0.2-1.fc16.src.rpm.

Comment 4 Matthias Runge 2012-07-09 09:13:04 UTC
If I remember right, at least f17 uses a newer version of fedora-review tool where this error is already fixed.

Comment 5 Alec Leamas 2012-07-09 09:27:37 UTC
Nope, not yet, we're about to release. But not yet...

Comment 6 Fedora Update System 2012-07-11 16:40:29 UTC
fedora-review-0.2.0-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/fedora-review-0.2.0-1.fc16

Comment 7 Fedora Update System 2012-07-11 16:40:59 UTC
fedora-review-0.2.0-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/fedora-review-0.2.0-1.fc17

Comment 8 Fedora Update System 2012-07-11 23:49:26 UTC
Package fedora-review-0.2.0-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing fedora-review-0.2.0-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-10509/fedora-review-0.2.0-1.fc16
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2012-07-14 21:54:05 UTC
fedora-review-0.2.0-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2012-07-28 01:19:20 UTC
fedora-review-0.2.0-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


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