[Bug 1030278] Re: Quantal failed to install: ubiquity crashed in apt/progress/text.py in pulse: OverflowError: Python int too large to convert to C long

Barry Warsaw 1030278 at bugs.launchpad.net
Mon Oct 1 19:27:53 UTC 2012


Hmm:


% python -c 'import apt_pkg; print(apt_pkg.size_to_str(2147483648))'
2147 M
% python3 -c 'import apt_pkg; print(apt_pkg.size_to_str(2147483648))'
2147 M

But even if that was the problem, then it confirms my suspicion as
discussed with James on IRC, that some exception state is not being
checked.  If you look at the traceback in UbiquitySyslog.txt, the error
is getting raised during iteration over owner.workers.  Which makes no
sense <wink>.  Most likely this OverflowError is getting set some place
but not checked at the point of error, and the traceback is a red
herring.  That would mean there are two bugs here (although as you can
see, I cannot reproduce Colin's test case).

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/1030278

Title:
  Quantal failed to install: ubiquity crashed in apt/progress/text.py in
  pulse: OverflowError: Python int too large to convert to C long

Status in “python-apt” package in Ubuntu:
  Triaged
Status in “python-apt” source package in Quantal:
  Triaged

Bug description:
  install problem of ubuntu12.10 quantal quetzal

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: ubiquity 2.11.18
  ProcVersionSignature: Ubuntu 3.5.0-6.6-generic 3.5.0
  Uname: Linux 3.5.0-6-generic i686
  ApportVersion: 2.4-0ubuntu5
  Architecture: i386
  CasperVersion: 1.320
  Date: Sat Jul 28 20:45:15 2012
  InstallCmdLine: noprompt cdrom-detect/try-usb=true persistent file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
  LiveMediaBuild: Ubuntu 12.10 "Quantal Quetzal" - Alpha i386 (20120724.2)
  ProcEnviron:
   LANGUAGE=ko_KR.UTF-8
   TERM=linux
   PATH=(custom, no user)
   LANG=ko_KR.UTF-8
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1030278/+subscriptions




More information about the foundations-bugs mailing list