[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

Colin Watson cjwatson at canonical.com
Sun Sep 30 11:56:07 UTC 2012


This is a regression from Python 2.  Here's a minimal test case:

<cjwatson at sarantium ~>$ python -c 'import apt_pkg; print(apt_pkg.size_to_str(2147483648))'
2147 M
<cjwatson at sarantium ~>$ python3 -c 'import apt_pkg; print(apt_pkg.size_to_str(2147483648))'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
OverflowError: Python int too large to convert to C long

** Changed in: python-apt (Ubuntu Quantal)
       Status: Confirmed => Triaged

-- 
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