After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 672972 - Can't install module
Can't install module
Status: RESOLVED OBSOLETE
Product: sysadmin
Classification: Infrastructure
Component: Mirrors
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Sysadmins
GNOME Sysadmins
: 781823 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-03-28 03:23 UTC by Robert Ancell
Modified: 2018-09-21 15:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Robert Ancell 2012-03-28 03:23:26 UTC
[rancell@master ~]$ install-module simple-scan-3.4.0.tar.gz 
Gathering information and sorting on version: ., done
Preparing installation of simple-scan-3.4.0.tar.gz:
 - Checking consistency: .., done
 - Checking previous tarball: .Traceback (most recent call last):
  • File "/usr/local/bin/ftpadmin", line 1688 in <module>
    main()
  • File "/usr/local/bin/ftpadmin", line 1673 in main
    options.func(options, parser)
  • File "/usr/local/bin/ftpadmin", line 1363 in cmd_install
    module.install(unattended=options.unattended)
  • File "/usr/local/bin/ftpadmin", line 899 in install
    diffs = self.fileinfo.diff(self.DIFF_FILES_DICT, prev_tarinfo, constructor, progress=True)
  • File "/usr/local/bin/ftpadmin", line 399 in diff
    prev_errors = prev_tarinfo.check(progress)
  • File "/usr/local/bin/ftpadmin", line 333 in check
    self.file[os.path.basename(info.name)] = t.extractfile(info).readlines()
  • File "/usr/lib64/python2.6/tarfile.py", line 857 in readlines
    line = self.readline()
  • File "/usr/lib64/python2.6/tarfile.py", line 834 in readline
    buf = self.fileobj.read(self.blocksize)
  • File "/usr/lib64/python2.6/tarfile.py", line 734 in read
    return self.readnormal(size)
  • File "/usr/lib64/python2.6/tarfile.py", line 743 in readnormal
    return self.fileobj.read(size)
SystemError: error return without exception set

Comment 1 Olav Vitters 2012-03-28 11:25:57 UTC
Weird

It is failing to extract a file from the previous simple-scan release (to diff the NEWS and/or ChangeLog).

Exception is useless. Reading the file itself seems to work.

If you have some Python knowledge, assistance is very welcome!

Just copy /usr/local/bin/ftpadmin to ~/ and hack it..

Note: I edited /usr/.../tarfile.py for debugging purposes.
Comment 2 Andrea Veri 2013-11-21 14:55:57 UTC
The GNOME Infrastructure Team is currently migrating its bug / issue tracker away from Bugzilla to Request Tracker and therefore all the currently open bugs have been closed and marked as OBSOLETE.

The following move will also act as a cleanup for very old and ancient tickets that were still living on Bugzilla. If your issue still hasn't been fixed as of today please report it again on the relevant RT queue.

More details about the available queues you can report the bug against can be found at https://wiki.gnome.org/Sysadmin/RequestTracker.

Thanks for your patience,

the GNOME Infrastructure Team
Comment 3 Robert Ancell 2017-04-27 09:32:35 UTC
*** Bug 781823 has been marked as a duplicate of this bug. ***
Comment 4 Robert Ancell 2017-04-27 10:15:29 UTC
I think this was due to my ChangeLog file just containing one line (saying look at the repository history). When I removed that ftpadmin worked fine.
Comment 5 Olav Vitters 2017-04-28 07:32:30 UTC
Can you either attach the problematic tarball here (if small enough) or put it somewhere else? I'd like to fix the bug.
Comment 6 Robert Ancell 2017-04-28 11:23:53 UTC
The first tarball that failed was 3.4.0 (last tarball was 3.3.92). At some point my hacked version of ftpadmin wasn't necessary. It might have been 3.4.2 since  that version doesn't have a .changes file. If could also be 3.7.1 which was the version the ChangeLog was removed.

All the tarballs are in https://download.gnome.org/sources/simple-scan/
Comment 7 GNOME Infrastructure Team 2018-09-21 15:12:40 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/2.