[hardy] pycentral crashed with ValueError in parse_versions()

Bug #192992 reported by zjaak
826
This bug affects 3 people
Affects Status Importance Assigned to Milestone
python-apt (Ubuntu)
Invalid
Undecided
Unassigned
Hardy
Invalid
Undecided
Unassigned
python-central (Ubuntu)
Fix Released
High
Matthias Klose
Hardy
Fix Released
High
Matthias Klose

Bug Description

Binary package hint: python-central

Just installing the lasterst hardy updates.

Note: This bug has already been confirmed. There is no need to comment simply to confirm the bug, but please comment if you have something to add.

ProblemType: Crash
Architecture: i386
Date: Mon Feb 18 19:47:43 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/pycentral
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: nvidia
Package: python-central 0.5.50ubuntu1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/pycentral pkgprepare bzr
ProcCwd: /
ProcEnviron:
 LANGUAGE=nl_NL:nl
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=nl_NL.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/pycentral', 'pkgprepare', 'bzr']
SourcePackage: python-central
Title: pycentral crashed with ValueError in parse_versions()
Uname: Linux zjaak-desktop 2.6.24-8-generic #1 SMP Thu Feb 14 20:40:45 UTC 2008 i686 GNU/Linux
UserGroups:

Revision history for this message
zjaak (zjaakie) wrote :
Revision history for this message
Miguel Ruiz (mruiz) wrote :

I'm confirming this issue with Hardy Heron up to date.

Cheers!

Changed in python-central:
status: New → Confirmed
Revision history for this message
marcobra (Marco Braida) (marcobra) wrote :

I'm confirming this issue with Hardy up to date.

Thank you

Revision history for this message
marcobra (Marco Braida) (marcobra) wrote :

Confirmed on all my 3 Ubuntu Hardy up to date pcs.

Thank you

Revision history for this message
nanog (sorenimpey) wrote :

Terminal output during crash:

[code]$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  evolution evolution-common evolution-plugins
The following packages will be upgraded:
  python-apt
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
Need to get 0B/194kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 232115 files and directories currently installed.)
Preparing to replace python-apt 0.7.4ubuntu4 (using .../python-apt_0.7.4ubuntu5_i386.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1075, in run
    requested = pyversions.requested_versions_for_runtime(version_field, version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 172, in requested_versions_for_runtime
    vinfo = parse_versions(vstring)
  File "/usr/share/pycentral-data/pyversions.py", line 58, in parse_versions
    raise ValueError, 'error parsing Python-Version attribute'
ValueError: error parsing Python-Version attribute
dpkg: error processing /var/cache/apt/archives/python-apt_0.7.4ubuntu5_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/python-apt_0.7.4ubuntu5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
[/code]

Revision history for this message
Vikrant (vikrant82) wrote :

Confirming same crash on latest updates.

Revision history for this message
Dennis Craven (dcraven) wrote :

Confirming. Error received during upgrade to bzr_1.1~rc1-1_i386.deb.

Revision history for this message
mattia.lambertini (mat-lambertini) wrote :

same bug for me on hardy.

Preparing to replace python-apt 0.7.4ubuntu4 (using .../python-apt_0.7.4ubuntu5_i386.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1075, in run
    requested = pyversions.requested_versions_for_runtime(version_field, version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 172, in requested_versions_for_runtime
    vinfo = parse_versions(vstring)
  File "/usr/share/pycentral-data/pyversions.py", line 58, in parse_versions
    raise ValueError, 'error parsing Python-Version attribute'
ValueError: error parsing Python-Version attribute
dpkg: error processing /var/cache/apt/archives/python-apt_0.7.4ubuntu5_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/python-apt_0.7.4ubuntu5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
miked (miked11) wrote :
Download full text (3.5 KiB)

Hardy Heron 8.04 Alpha 4
root@AMD1Ghz-desktop:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libmlt-data libmlt0.2.4
The following packages will be upgraded:
  python-apt update-manager update-manager-core
3 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 0B/1122kB of archives.
After this operation, 32.8kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 223014 files and directories currently installed.)
Preparing to replace python-apt 0.7.4ubuntu4 (using .../python-apt_0.7.4ubuntu5_i386.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1075, in run
    requested = pyversions.requested_versions_for_runtime(version_field, version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 172, in requested_versions_for_runtime
    vinfo = parse_versions(vstring)
  File "/usr/share/pycentral-data/pyversions.py", line 58, in parse_versions
    raise ValueError, 'error parsing Python-Version attribute'
ValueError: error parsing Python-Version attribute
dpkg: error processing /var/cache/apt/archives/python-apt_0.7.4ubuntu5_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Preparing to replace update-manager 1:0.87.7 (using .../update-manager_1%3a0.87.8_all.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1075, in run
    requested = pyversions.requested_versions_for_runtime(version_field, version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 172, in requested_versions_for_runtime
    vinfo = parse_versions(vstring)
  File "/usr/share/pycentral-data/pyversions.py", line 58, in parse_versions
    raise ValueError, 'error parsing Python-Version attribute'
ValueError: error parsing Python-Version attribute
dpkg: error processing /var/cache/apt/archives/update-manager_1%3a0.87.8_all.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Preparing to replace update-manager-core 1:0.87.7 (using .../update-manager-core_1%3a0.87.8_i386.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1075, in run
    requested = pyversions.requested_versions_for_runtime(version_field, version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 172, in requested_versions_for_runtime
    vinfo = parse_versions(vstring)
  File "/usr/share/pycentral-data/pyversions.py", line 58, in parse_versions
    raise ValueError, 'error parsing Python-Version attribute'
ValueError: error parsing Python-Version attribute
dpkg: error processing /var/cache/apt/a...

Read more...

Revision history for this message
Jesper Larsen (knorr) wrote :

Confirming this with the 64 bit python-apt_0.7.4ubuntu5_amd64.deb package as well.

Revision history for this message
miked (miked11) wrote :
mafix (mafix)
Changed in python-apt:
status: New → Invalid
Daniel T Chen (crimsun)
Changed in python-central:
importance: Undecided → Medium
Revision history for this message
mattismyname (mattismyname) wrote :

Confirming...

Revision history for this message
wesley_of_course (wesley-of-course) wrote :

confirming this happening on update. 64 - bit

Revision history for this message
David Duong (dduong) wrote :

OS: Xubuntu 64 Hardy Alpha 4

I also confirm this. This is might be linked to an upgrade that is associated with Update Manager + Update Manager Core.

Attaching the crash file for both

Revision history for this message
David Duong (dduong) wrote :

Oops adding attachment for Update Manager crash

Revision history for this message
thebinaryblob (superlegokid) wrote :

confirming
it also prevents me from updating 3 packages
python-apt, update-manager, and update-manager-core

Revision history for this message
akira (akira.spb) wrote :

confirm

Revision history for this message
douham (dougg) wrote :

confirm

Revision history for this message
Pitabred (ubuntu-pitabred) wrote :

I also ran into this, and accidentally reported it here since it didn't come up in a search for python-apt: https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/193076

My workaround is to install the python-apt_0.7.4ubuntu4_i386.deb package from here: https://launchpad.net/ubuntu/hardy/i386/python-apt/0.7.4ubuntu4

And pin it by creating a file called /etc/apt/preferences with the following 3 lines as contents:

Package: python-apt
Pin: release v=0.7.4ubuntu4
Pin-Priority: 1000

- David

Revision history for this message
Nemes Ioan Sorin (nemes-sorin) wrote :

confirm this bug (Just uploaded report data).

And confirm David solution. It works.

Revision history for this message
Colin Dean (colindean) wrote :

Confirmament, x86 Ubuntu.

Methinks it has something to do with pycentral or some other dependency of python-apt, bzr, and the like.

pycentral wants libapt-pkg-libc6.6-6.so.4.5.
libapt-pkg-libc6.7-6.so.4.6 is what is provided in hardy, in the apt package.

Revision history for this message
muffpotter (muffpotter) wrote :

confirming

Revision history for this message
Kyubutsu (jf) wrote :

confirmed
8.04 - kernel 2.6.24-8 - x86 celeron 2.0

Revision history for this message
Fred (eldmannen+launchpad) wrote :

I got this error too.

Revision history for this message
racoon97 (racoon97) wrote :

So do I.
E: /var/cache/apt/archives/python-apt_0.7.4ubuntu5_i386.deb: subprocess pre-installation script returned error exit status 1
E: /var/cache/apt/archives/update-manager_1%3a0.87.8_all.deb: subprocess pre-installation script returned error exit status 1
E: /var/cache/apt/archives/update-manager-core_1%3a0.87.8_i386.deb: subprocess pre-installation script returned error exit status 1

Revision history for this message
pnr (rusyaev-gmail) wrote :

Confirm the same bug after today's update of Hardy

Revision history for this message
Tim Cambrant (cambrant) wrote :

Problems seem solved when trying Pitabred's workaround, except that python-apt, update-manager and update-manager-core are held back by apt.

When this bug is solved, do we need to do anything in particular to revert the installation and pin of python-apt 0.7.4ubuntu4?

Revision history for this message
cjtinant (cjtinant) wrote :

Mine is bottoming out as well, wondering if it effects watching LIVE TV, Recordings, or movies... I cannot use any of them.

Revision history for this message
Pitabred (ubuntu-pitabred) wrote :

To revert, just delete the /etc/apt/preferences file if you created it, otherwise just remove those lines from it. You'll notice that the message "python-apt was held back" or something similar will come up now when you do an apt-get upgrade, which is because of that file.

Revision history for this message
Scott Wegner (swegner) wrote :

I can also confirm it-- running latest Hardy alpha x64 in a VMWare virtual machine. Today's updates killed this and the other two packages listed above.

Revision history for this message
sno (sno-squee) wrote :

Confirmed on today's daily image for hardy. Pitabred's workaround makes the error go away.

Revision history for this message
Mark Weaver (blushingpenguin) wrote :

It's because the preinst script in python-apt 0.7.4ubuntu5 has:

[python-package]
format = 1
python-version = python:Versions=2.4

and then /usr/bin/pycentral has @ line 1028

version_field = pkgconfig.get('python-package', 'python-version')
requested = pyversions.requested_versions_for_runtime(version_field, version_only=True)

and this ultimately calls parse_versions in /usr/share/pycentral-data/pyversions.py @ line 28,
and this expects a string of the form ">=|<=|<<|= d.d", so it breaks.

I "fixed" the issue with:

--- /root/pyversions.py 2008-02-19 01:34:19.000000000 +0000
+++ pyversions.py 2008-02-19 01:57:42.000000000 +0000
@@ -31,6 +31,7 @@
                   '>=': operator.ge, '<=': operator.le,
                   '<<': operator.lt
                   }
+ vstring = vstring.replace('python:Versions=','')
     vinfo = {}
     exact_versions = set([])
     version_range = set(supported_versions(version_only=True))

i.e. stripping off the unexpected python:Versions string.

Although what the correct fix is, I've no clue.

Revision history for this message
Alessandro Ghersi (alessandro-ghersi) wrote :

Confirming this with the Kubuntu 64bit python-apt_0.7.4ubuntu5_amd64.deb

Revision history for this message
Dean Loros (autocrosser) wrote :
Download full text (4.2 KiB)

Also ran into this problem--

The following packages will be upgraded:
  bzr python-apt update-manager update-manager-core
4 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/5523kB of archives.
After this operation, 434kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 238977 files and directories currently installed.)
Preparing to replace python-apt 0.7.4ubuntu4 (using .../python-apt_0.7.4ubuntu5_i386.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1075, in run
    requested = pyversions.requested_versions_for_runtime(version_field, version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 172, in requested_versions_for_runtime
    vinfo = parse_versions(vstring)
  File "/usr/share/pycentral-data/pyversions.py", line 58, in parse_versions
    raise ValueError, 'error parsing Python-Version attribute'
ValueError: error parsing Python-Version attribute
dpkg: error processing /var/cache/apt/archives/python-apt_0.7.4ubuntu5_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Preparing to replace update-manager 1:0.87.6 (using .../update-manager_1%3a0.87.8_all.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1075, in run
    requested = pyversions.requested_versions_for_runtime(version_field, version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 172, in requested_versions_for_runtime
    vinfo = parse_versions(vstring)
  File "/usr/share/pycentral-data/pyversions.py", line 58, in parse_versions
    raise ValueError, 'error parsing Python-Version attribute'
ValueError: error parsing Python-Version attribute
dpkg: error processing /var/cache/apt/archives/update-manager_1%3a0.87.8_all.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Preparing to replace update-manager-core 1:0.87.6 (using .../update-manager-core_1%3a0.87.8_i386.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1075, in run
    requested = pyversions.requested_versions_for_runtime(version_field, version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 172, in requested_versions_for_runtime
    vinfo = parse_versions(vstring)
  File "/usr/share/pycentral-data/pyversions.py", line 58, in parse_versions
    raise ValueError, 'error parsing Python-Version attribute'
ValueError: error parsing Python-Version attribute
dpkg: error processing /var/cache/apt/archives/update-manager-core_1%3a0.87.8_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Preparing to replace bzr 1.0-1 (using .../bzr_1.1~rc1-1_i386.deb) ...
Ignoring nonregistered document `bzr...

Read more...

Revision history for this message
Kyle M Weller (kylew) wrote :

Same issue here running hardy latest updates:
http://paste.ubuntu-nl.org/56581/

Steve Langasek (vorlon)
Changed in python-central:
importance: Medium → High
milestone: none → hardy-alpha-5
Changed in python-central:
importance: High → Medium
Changed in python-central:
importance: Medium → High
Revision history for this message
josejoe (jsschulz) wrote :

Confirming the bug.

Revision history for this message
Emanuel (emanuel-demetrescu) wrote :

confirm

Revision history for this message
Shirish Agarwal (shirishag75) wrote :

From comment 32 it seems that something is wrong in the python-apt package. I hope somebody works on this & gets us a new package which fixes the issue, till then many new packages would be affected. I'm having issues with 5 packages due to this :-

 bzr python-apt update-manager update-manager-core

Revision history for this message
Andrea Caminiti (nrayever) wrote :

hi everyone:

I'm confirming this issue with Hardy up to date. this is a bit annoying right now. hope it's fixed soon.

nrayever

Revision history for this message
whitelightme (inspheration-deactivatedaccount) wrote :

I just got the same bug...

Revision history for this message
warmrobot (imfrolov) wrote :

Confirmed. Today during update process.

Revision history for this message
Zaeggu (zaeggu) wrote :
Download full text (3.6 KiB)

Confirm this Bug!

root@zaeggus-hardybuechse:/home/zaeggu# sudo apt-get dist-upgrade
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Reading state information... Fertig
Berechne Upgrade...Fertig
Die folgenden Pakete werden aktualisiert:
  python-apt update-manager update-manager-core
3 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen noch 0B von 1122kB Archiven geholt werden.
After this operation, 12.3kB of additional disk space will be used.
Möchten Sie fortfahren [J/n]? J
(Lese Datenbank ... 248689 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereiten zum Ersetzen von python-apt 0.7.4ubuntu4 (durch .../python-apt_0.7.4ubuntu5_i386.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1075, in run
    requested = pyversions.requested_versions_for_runtime(version_field, version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 172, in requested_versions_for_runtime
    vinfo = parse_versions(vstring)
  File "/usr/share/pycentral-data/pyversions.py", line 58, in parse_versions
    raise ValueError, 'error parsing Python-Version attribute'
ValueError: error parsing Python-Version attribute
dpkg: Fehler beim Bearbeiten von /var/cache/apt/archives/python-apt_0.7.4ubuntu5_i386.deb (--unpack):
 Unterprozess pre-installation script gab den Fehlerwert 1 zurück
Vorbereiten zum Ersetzen von update-manager 1:0.87.6 (durch .../update-manager_1%3a0.87.8_all.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1075, in run
    requested = pyversions.requested_versions_for_runtime(version_field, version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 172, in requested_versions_for_runtime
    vinfo = parse_versions(vstring)
  File "/usr/share/pycentral-data/pyversions.py", line 58, in parse_versions
    raise ValueError, 'error parsing Python-Version attribute'
ValueError: error parsing Python-Version attribute
dpkg: Fehler beim Bearbeiten von /var/cache/apt/archives/update-manager_1%3a0.87.8_all.deb (--unpack):
 Unterprozess pre-installation script gab den Fehlerwert 1 zurück
Vorbereiten zum Ersetzen von update-manager-core 1:0.87.6 (durch .../update-manager-core_1%3a0.87.8_i386.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1075, in run
    requested = pyversions.requested_versions_for_runtime(version_field, version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 172, in requested_versions_for_runtime
    vinfo = parse_versions(vstring)
  File "/usr/share/pycentral-data/pyversions.py", line 58, in parse_versions
    raise ValueError, 'error parsing Python-Version attribute'
ValueError: error parsing Python-Version attri...

Read more...

Revision history for this message
cecilpierce (piercececil-deactivatedaccount) wrote :

Same thihg here.
Thanks

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :

Confirming, I got same error as miked

Revision history for this message
Thorsten Rhau (thorre) wrote :
Download full text (3.9 KiB)

I am having the same problem:

root@majestix:~# aptitude safe-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
The following packages will be upgraded:
  python-apt update-manager update-manager-core
3 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1122kB of archives. After unpacking 12.3kB will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
(Reading database ... 113404 files and directories currently installed.)
Preparing to replace python-apt 0.7.4ubuntu4 (using .../python-apt_0.7.4ubuntu5_i386.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1075, in run
    requested = pyversions.requested_versions_for_runtime(version_field, version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 172, in requested_versions_for_runtime
    vinfo = parse_versions(vstring)
  File "/usr/share/pycentral-data/pyversions.py", line 58, in parse_versions
    raise ValueError, 'error parsing Python-Version attribute'
ValueError: error parsing Python-Version attribute
dpkg: error processing /var/cache/apt/archives/python-apt_0.7.4ubuntu5_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Preparing to replace update-manager 1:0.87.6 (using .../update-manager_1%3a0.87.8_all.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1075, in run
    requested = pyversions.requested_versions_for_runtime(version_field, version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 172, in requested_versions_for_runtime
    vinfo = parse_versions(vstring)
  File "/usr/share/pycentral-data/pyversions.py", line 58, in parse_versions
    raise ValueError, 'error parsing Python-Version attribute'
ValueError: error parsing Python-Version attribute
dpkg: error processing /var/cache/apt/archives/update-manager_1%3a0.87.8_all.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Preparing to replace update-manager-core 1:0.87.6 (using .../update-manager-core_1%3a0.87.8_i386.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1075, in run
    requested = pyversions.requested_versions_for_runtime(version_field, version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 172, in requested_versions_for_runtime
    vinfo = parse_versions(vstring)
  File "/usr/share/pycentral-data/pyversions.py", line 58, in parse_versions
    raise ValueError, 'error parsing Python-Version attribute'
...

Read more...

Revision history for this message
Scott_Barnden (sbarnden) wrote :

This bug also turns up when using the update from gutsy to hardy. Problem is when it happens it causes a cascade of errors and causes the upgrade to die just before the cleanup and reboot stage. Then because it has broken dependencies the update manager fails to load. The terminal log of trying to upgrade the system is attached.

Trying to reload the update manager after the system upgrade:
root@hermes:~# update-manager -d
Traceback (most recent call last):
  File "/usr/bin/update-manager", line 32, in <module>
    from UpdateManager.UpdateManager import UpdateManager
  File "/usr/lib/python2.5/site-packages/UpdateManager/UpdateManager.py", line 38, in <module>
    import apt
  File "/usr/lib/python2.5/site-packages/apt/__init__.py", line 2, in <module>
    import apt_pkg
ImportError: libapt-pkg-libc6.6-6.so.4.5: cannot open shared object file: No such file or directory
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/apport_python_hook.py", line 38, in apport_excepthook
    from apport.fileutils import likely_packaged
  File "/usr/lib/python2.5/site-packages/apport/__init__.py", line 1, in <module>
    from apport.report import Report
  File "/usr/lib/python2.5/site-packages/apport/report.py", line 21, in <module>
    import fileutils
  File "/usr/lib/python2.5/site-packages/apport/fileutils.py", line 16, in <module>
    from packaging_impl import impl as packaging
  File "/usr/lib/python2.5/site-packages/apport/packaging_impl.py", line 18, in <module>
    import apt
  File "/usr/lib/python2.5/site-packages/apt/__init__.py", line 2, in <module>
    import apt_pkg
ImportError: libapt-pkg-libc6.6-6.so.4.5: cannot open shared object file: No such file or directory

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/update-manager", line 32, in <module>
    from UpdateManager.UpdateManager import UpdateManager
  File "/usr/lib/python2.5/site-packages/UpdateManager/UpdateManager.py", line 38, in <module>
    import apt
  File "/usr/lib/python2.5/site-packages/apt/__init__.py", line 2, in <module>
    import apt_pkg
ImportError: libapt-pkg-libc6.6-6.so.4.5: cannot open shared object file: No such file or directory

Revision history for this message
Zaeggu (zaeggu) wrote :

My System is not updated from Gutsy to Hardy, my system is installed from Alpha2 and all updates, and is the same Problem!!!

Revision history for this message
Tiger Zhang (iamzhanghu) wrote :

I think there is a bug in the preinst script which caused the python-apt ValueError: error parsing Python-Version.

root@tiger-desktop:/tmp# diff preinst 5/preinst
8c8
< python-version = python:Versions=2.4
---
> python-version = 2.4

After I changed this line to python-version = 2.4. It works!
And you can download the deb package here: http://emblinux.org/blog/blog.asp?name=tigerz

Revision history for this message
fabrizio (fabrizio-tmb) wrote :

Confirming this with the amd64 version

Revision history for this message
Tiger Zhang (iamzhanghu) wrote :

Sorry all, I can not upload the deb package to my blog in my office. So I post it here.

Revision history for this message
Guillaume (bou-gui) wrote :

Same pb on my laptop

Revision history for this message
Alexandre Kraft (alexandre-kraft) wrote :

Confirming this bug.

Tiger:
The package attached doesn't seems to work... Gdebi reports it as corrupted.

Changed in python-central:
assignee: nobody → doko
Revision history for this message
Zaeggu (zaeggu) wrote :

Confirm on my system, the package it corrupted!

Revision history for this message
Tiger Zhang (iamzhanghu) wrote :

Alexandre and Zaeggu:

How about # dpkg -i ?

Revision history for this message
Andrey Novoselov (ksynolog) wrote : Re: [Bug 192992] Re: [hardy] pycentral crashed with ValueError in parse_versions()

В Tue, 19 Feb 2008 08:23:40 -0000
Alexandre Kraft <email address hidden> пишет:

> Confirming this bug.
>
> Tiger:
> The package attached doesn't seems to work... Gdebi reports it
> as corrupted.
>
I've got the same effect.

--
С уважением, Андрей Новосёлов.
Registered linux user №282220.
Jabber gnostik_at_jabber.ru
ICQ 162278208

Revision history for this message
Olivier Berten (olivier-berten) wrote :

Works with dpkg -i

Revision history for this message
Olivier Berten (olivier-berten) wrote :

Could you do the same for bzr, update-manager and update-manager-core?

Thanks ;-)

Revision history for this message
Andrey Novoselov (ksynolog) wrote :

В Tue, 19 Feb 2008 08:44:45 -0000
Tiger Zhang <email address hidden> пишет:

> Alexandre and Zaeggu:
>
> How about # dpkg -i ?
>
sudo dpkg -i does work, but crashes of update-manager
&update-manager-core still present.

--
С уважением, Андрей Новосёлов.
Registered linux user №282220.
Jabber gnostik_at_jabber.ru
ICQ 162278208

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-central - 0.5.50ubuntu2

---------------
python-central (0.5.50ubuntu2) hardy; urgency=low

  * fix crash in parse_versions (LP: #192992)

 -- Michael Vogt <email address hidden> Tue, 19 Feb 2008 10:03:37 +0100

Changed in python-central:
status: Confirmed → Fix Released
Revision history for this message
Michael Vogt (mvo) wrote :

I uploaded the attached change to stop it crashing. I'm not sure that this is the most elegant way to deal with it or if striping away the "python:Versions" shouldn't be done in ActionPkgPrepare.run(). I let Matthias clean that up after me :)

There is one oddity I noticed when checking the python-apt preinst:
----
if which pycentral >/dev/null 2>&1 && pycentral --help 2>/dev/null | grep -q pkgprepare
; then
        pycentral pkgprepare python-apt <<EOF
[python-package]
format = 1
python-version = python:Versions=2.4
[pycentral]
version = 0.5.50
[files]
EOF
else
        mkdir -p /var/lib/pycentral
        echo python-apt >> /var/lib/pycentral/delayed-pkgs
fi
# End automatically added section
----

It lists python 2.4 instead of 2.5 here, I wonder if there is another bug hidding somewhere.

Cheers,
 Michael

Revision history for this message
Tiger Zhang (iamzhanghu) wrote :

Olivier Berten & Andrey Novoselov:

I did the same modification in update-manger and update-manger-core.
Please install them using # dpkg -i too ;)

Revision history for this message
Tiger Zhang (iamzhanghu) wrote :

update-manager-core_1%3a0.87.8_i386.deb

Revision history for this message
Giovanni Civardi (ciaby) (g-civardi) wrote :

That's how i fixed it (on amd64):

apt-get install python2.4
mkdir /root/pyt
mkdir /root/pyt/DEBIAN
dpkg -x python-apt_0.7.4ubuntu5_amd64.deb /root/pyt
dpkg -e python-apt_0.7.4ubuntu5_amd64.deb /root/pyt/DEBIAN

Then change this line in the file preinst:
python-version = python:Versions=2.4
to
python-version = 2.4

Then rebuild the package:
dpkg -b /root/pyt python-apt_0.7.4ubuntu5_amd64.deb

And install it:
dpkg -i python-apt_0.7.4ubuntu5_amd64.deb

Do the same with update-manager-core and you're done :)
I attach a tar with the 2 archives, but can be done easily in 5 minutes :D
Cheers

Ciaby

Revision history for this message
Dome (derdome) wrote :

Tiger:
Your package python-apt does't work as well (for me!), i got this

Preparing to replace python-apt 0.7.4ubuntu5 (using .../python-apt_0.7.4ubuntu5_i386.deb) ...
Unpacking replacement python-apt ...
Setting up python-apt (0.7.4ubuntu5) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 982, in run
    self.pkg.byte_compile(bc_option, self.options.exclude)
  File "/usr/bin/pycentral", line 624, in byte_compile
    rt.byte_compile(files, bc_option, exclude_regex)
AttributeError: 'NoneType' object has no attribute 'byte_compile'
dpkg: error processing python-apt (--install):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 python-apt

Any idea?

Revision history for this message
Leon (leonbo) wrote :

I got the same error as Dome.

Revision history for this message
ifoo (philippum) wrote :

I have created i386 packages for python-apt, update-manager-core and update-manager (need python2.4)

thanks Giovanni Civardi (ciaby)

Revision history for this message
Andrey Novoselov (ksynolog) wrote :

В Tue, 19 Feb 2008 09:26:01 -0000
Tiger Zhang <email address hidden> пишет:

> update-manager-core_1%3a0.87.8_i386.deb
>
> ** Attachment added: "update-manager-core_1%3a0.87.8_i386.deb"
> http://launchpadlibrarian.net/12080265/update-manager-core_1%253a0.87.8_i386.deb
>
It is working. My system said it's up to date.

--
С уважением, Андрей Новосёлов.
Registered linux user №282220.
Jabber gnostik_at_jabber.ru
ICQ 162278208

Revision history for this message
Dome (derdome) wrote :

installing python2.4 solved the problem. no more errors on "aptitude safe-upgrade"/"aptitude full-upgrade" or when using dpkg :-)

Revision history for this message
Francesco "Zeirus" Sorrentino (zeirus) wrote :

I also confirme:

E: /var/cache/apt/archives/python-apt_0.7.4ubuntu5_i386.deb: subprocess pre-installation script returned error exit status 1
E: /var/cache/apt/archives/update-manager_1%3a0.87.8_all.deb: subprocess pre-installation script returned error exit status 1
E: /var/cache/apt/archives/update-manager-core_1%3a0.87.8_i386.deb: subprocess pre-installation script returned error exit status 1

Revision history for this message
Leon (leonbo) wrote :

Installing python2.4 solves the "AttributeError: 'NoneType' object has no attribute 'byte_compile'" error messages.

Revision history for this message
Nibes (anibalalmendra) wrote :

the same here...

Revision history for this message
cabbie (cabbiebatman) wrote :

Same here - E: /var/cache/apt/archives/python-apt_0.7.4ubuntu5_i386.deb: subprocess pre-installation script returned error exit status 1
E: /var/cache/apt/archives/update-manager_1%3a0.87.8_all.deb: subprocess pre-installation script returned error exit status 1
E: /var/cache/apt/archives/update-manager-core_1%3a0.87.8_i386.deb: subprocess pre-installation script returned error exit status 1

Revision history for this message
cabbie (cabbiebatman) wrote :

xxxxx@xxxxx:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.24-7 linux-headers-2.6.24-7-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  update-manager
The following packages will be upgraded:
  update-manager
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B/894kB of archives.
After this operation, 28.7kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 147579 files and directories currently installed.)
Preparing to replace update-manager 1:0.87.6 (using .../update-manager_1%3a0.87.8_all.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1075, in run
    requested = pyversions.requested_versions_for_runtime(version_field, version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 172, in requested_versions_for_runtime
    vinfo = parse_versions(vstring)
  File "/usr/share/pycentral-data/pyversions.py", line 58, in parse_versions
    raise ValueError, 'error parsing Python-Version attribute'
ValueError: error parsing Python-Version attribute
dpkg: error processing /var/cache/apt/archives/update-manager_1%3a0.87.8_all.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/update-manager_1%3a0.87.8_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Francesco "Zeirus" Sorrentino (zeirus) wrote :

I resolved with ifoo's package:

http://launchpadlibrarian.net/12080601/packages.tar.bz2

But before i have cleaned cache (sudo apt-get clean cache)

After i've decompressed the packages.tar.bz2 in my desktop and installed the contents (with a simple double click of the mouse) in this order:

update-manager-core_1%3a0.87.8_i386.deb
update-manager_1%3a0.87.8_all.deb
python-apt_0.7.4ubuntu5_i386.deb

Initially i've a broked file (update-manager, maybe for error in sequence of installation), but with command "sudo synaptic" and with the filter "broke" i've disinstalled this error file package. After the "cleaning" i've installed the above three package of Ifoo without problems... ;)

Revision history for this message
Francesco "Zeirus" Sorrentino (zeirus) wrote :

Arghh... now i've the same problem installing "bzr"...

sudo apt-get install bzr

E: /var/cache/apt/archives/bzr_1.1~rc1-1_i386.deb: subprocess pre-installation script returned error exit status 1

:( ... sigh...

Revision history for this message
George Prowse (torqueing) wrote :

Confirmed still

Revision history for this message
Fabio Colombo (stratosphere1982) wrote :

got the same problem..

Revision history for this message
hype (hypeuser-lp) wrote :

Same for jockey-gtk and jockey-common , too.

Paramétrage de jockey-common (0.2-0ubuntu5) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 982, in run
    self.pkg.byte_compile(bc_option, self.options.exclude)
  File "/usr/bin/pycentral", line 627, in byte_compile
    (self.default_runtime.version, len(self.private_files)))
TypeError: int argument required
dpkg : erreur de traitement de jockey-common (--configure) :
 le sous-processus post-installation script a retourné une erreur de sortie d'état 1
dpkg : des problèmes de dépendances empêchent la configuration de jockey-gtk :
 jockey-gtk dépend de jockey-common (= 0.2-0ubuntu5) ; cependant :
 Le paquet jockey-common n'est pas encore configuré.
dpkg : erreur de traitement de jockey-gtk (--configure) :
 problèmes de dépendances - laissé non configuré
Des erreurs ont été rencontrées pendant l'exécution :
 jockey-common
 jockey-gtk
E: Sub-process /usr/bin/dpkg returned an error code (1)

Tho all updates seem to be installed now, except jockey-common which is "not yet configured".

Revision history for this message
Francesco "Zeirus" Sorrentino (zeirus) wrote :

Idem of Hype:

sudo apt-get install bzr

Reading package lists... Done
Building dependency tree
Reading state information... Done
bzr is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.

Setting up jockey-common (0.2-0ubuntu5) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 982, in run
    self.pkg.byte_compile(bc_option, self.options.exclude)
  File "/usr/bin/pycentral", line 627, in byte_compile
    (self.default_runtime.version, len(self.private_files)))
TypeError: int argument required
dpkg: error processing jockey-common (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of jockey-gtk:
 jockey-gtk depends on jockey-common (= 0.2-0ubuntu5); however:
  Package jockey-common is not configured yet.
dpkg: error processing jockey-gtk (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 jockey-common
 jockey-gtk
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Chow Loong Jin (hyperair) wrote :
Download full text (4.7 KiB)

hyperair@Hyperair-PC:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  bzr python-apt update-manager update-manager-core
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/5523kB of archives.
After this operation, 434kB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 320617 files and directories currently installed.)
Preparing to replace python-apt 0.7.4ubuntu4 (using .../python-apt_0.7.4ubuntu5_i386.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1075, in run
    requested = pyversions.requested_versions_for_runtime(version_field, version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 172, in requested_versions_for_runtime
    vinfo = parse_versions(vstring)
  File "/usr/share/pycentral-data/pyversions.py", line 58, in parse_versions
    raise ValueError, 'error parsing Python-Version attribute'
ValueError: error parsing Python-Version attribute
dpkg: error processing /var/cache/apt/archives/python-apt_0.7.4ubuntu5_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Preparing to replace update-manager 1:0.87.6 (using .../update-manager_1%3a0.87.8_all.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1075, in run
    requested = pyversions.requested_versions_for_runtime(version_field, version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 172, in requested_versions_for_runtime
    vinfo = parse_versions(vstring)
  File "/usr/share/pycentral-data/pyversions.py", line 58, in parse_versions
    raise ValueError, 'error parsing Python-Version attribute'
ValueError: error parsing Python-Version attribute
dpkg: error processing /var/cache/apt/archives/update-manager_1%3a0.87.8_all.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Preparing to replace update-manager-core 1:0.87.6 (using .../update-manager-core_1%3a0.87.8_i386.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1075, in run
    requested = pyversions.requested_versions_for_runtime(version_field, version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 172, in requested_versions_for_runtime
    vinfo = parse_versions(vstring)
  File "/usr/share/pycentral-data/pyversions.py", line 58, in parse_versions
    raise ValueError, 'error parsing Python-Version attribute'
ValueError: error parsing Python-Version attribute
dpkg: error processing /var/cache/apt/archives/update-manager-core_1%3a0...

Read more...

Changed in python-central:
status: Fix Released → Confirmed
Revision history for this message
Timo Saloranta (timo-saloranta) wrote :

still confirm

sudo aptitude full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following partially installed packages will be configured:
  jockey-common jockey-gtk
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up jockey-common (0.2-0ubuntu5) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 982, in run
    self.pkg.byte_compile(bc_option, self.options.exclude)
  File "/usr/bin/pycentral", line 627, in byte_compile
    (self.default_runtime.version, len(self.private_files)))
TypeError: int argument required
dpkg: error processing jockey-common (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of jockey-gtk:
 jockey-gtk depends on jockey-common (= 0.2-0ubuntu5); however:
  Package jockey-common is not configured yet.
dpkg: error processing jockey-gtk (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 jockey-common
 jockey-gtk
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up jockey-common (0.2-0ubuntu5) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 982, in run
    self.pkg.byte_compile(bc_option, self.options.exclude)
  File "/usr/bin/pycentral", line 627, in byte_compile
    (self.default_runtime.version, len(self.private_files)))
TypeError: int argument required
dpkg: error processing jockey-common (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of jockey-gtk:
 jockey-gtk depends on jockey-common (= 0.2-0ubuntu5); however:
  Package jockey-common is not configured yet.
dpkg: error processing jockey-gtk (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 jockey-common
 jockey-gtk
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done

Revision history for this message
Timo Saloranta (timo-saloranta) wrote :

It seems that installing python2.4 and bzr seemed to do the trick! (see the trace above)

Now I only have jockey-common and jockey-gtk problems left. But it's another issue, isn't it (?).

Revision history for this message
Kyubutsu (jf) wrote :

i386 is doomed alright. but weirdly (and thankfully perhaps), update-manager crashed before changing the system to current broken state (on 64bit). so i'm still running kernel 2.6.24-7 and everything with it is still fine.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

As a workaround installing python2.4 solves this issue.

Revision history for this message
Chow Loong Jin (hyperair) wrote :

Same thing happens for me. Strange.

Revision history for this message
Jellow (mail-jan-guenter) wrote :

My dirty Solution:
==================

Source of the bug:
The bug is produced in the packages build-time by dh_pycentral which generates a line in the preinst script like "python-version = python:Versions=2.4" instead of "python-version = 2.4".
This bug occures only when using "XB-Python-Version: ${python:Versions}" in the packages control file.

Workaround:
I attached a patch for dh_pycentral which corrects the $versions_field variable given to the autoscript method using a simple regex.

Result:
With my patch applied to /usr/bin/dh_pycentral I rebuild the packages python-apt and update-manager-core using debuild. The installation of the new generated packages works perfectly.

Revision history for this message
Chow Loong Jin (hyperair) wrote :

I take that back. Installing python2.4 didn't solve the issue for me.

Revision history for this message
John Dong (jdong) wrote :

This is not an appropriate place to discuss workarounds -- this is a place to identify the cause and propose proper fixes to the bug at hand. Please move nonessential discussion to another support medium,

Thanks.

Revision history for this message
Jussi Saarinen (jms) wrote :

ppc64 GNU/Linux (ps3):
After I upgraded python-central to version 0.5.50ubuntu3 some packages which failed to upgrade due to python-central's previous version upgraded now fine.
But some new issues:
 Preparing to replace mythbuntu-control-centre 0.20-0ubuntu1 (using .../mythbuntu-control-centre_0.21-0ubuntu1_all.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1145, in run
    pkg = DebPackage('package', self.args[0], oldstyle=False)
  File "/usr/bin/pycentral", line 295, in __init__
    self.read_pyfiles()
  File "/usr/bin/pycentral", line 315, in read_pyfiles
    lines = self.read_preinst_pkgconfig()
  File "/usr/bin/pycentral", line 403, in read_preinst_pkgconfig
    self.pkgconfig.readfp(cStringIO.StringIO(buffer.getvalue()))
AttributeError: 'NoneType' object has no attribute 'getvalue'
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1080, in run
    old_pkg = DebPackage('package', self.args[0], oldstyle=False)
  File "/usr/bin/pycentral", line 295, in __init__
    self.read_pyfiles()
  File "/usr/bin/pycentral", line 315, in read_pyfiles
    lines = self.read_preinst_pkgconfig()
  File "/usr/bin/pycentral", line 403, in read_preinst_pkgconfig
    self.pkgconfig.readfp(cStringIO.StringIO(buffer.getvalue()))
AttributeError: 'NoneType' object has no attribute 'getvalue'
dpkg: error processing /var/cache/apt/archives/mythbuntu-control-centre_0.21-0ubuntu1_all.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1015, in run
    pkg = DebPackage('package', self.args[0], oldstyle=False)
  File "/usr/bin/pycentral", line 295, in __init__
    self.read_pyfiles()
  File "/usr/bin/pycentral", line 315, in read_pyfiles
    lines = self.read_preinst_pkgconfig()
  File "/usr/bin/pycentral", line 403, in read_preinst_pkgconfig
    self.pkgconfig.readfp(cStringIO.StringIO(buffer.getvalue()))
AttributeError: 'NoneType' object has no attribute 'getvalue'
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1

Revision history for this message
Alexandr Rudenko (hinode-mikado) wrote :

Confirmed... problems of dependences.

Revision history for this message
Nikola Yanev (gericom) wrote :

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Setting up python-apt (0.7.4ubuntu5) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 982, in run
    self.pkg.byte_compile(bc_option, self.options.exclude)
  File "/usr/bin/pycentral", line 624, in byte_compile
    rt.byte_compile(files, bc_option, exclude_regex)
AttributeError: 'NoneType' object has no attribute 'byte_compile'
dpkg: error processing python-apt (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of update-manager-core:
 update-manager-core depends on python-apt (>= 0.7.4ubuntu5); however:
  Package python-apt is not configured yet.
dpkg: error processing update-manager-core (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-app-install:
 gnome-app-install depends on python-apt (>= 0.7.4ubuntu4); however:
  Package python-apt is not configured yet.
dpkg: error processing gnome-app-install (--configure):
 dependency problems - leaving unconfigured
Setting up jockey-common (0.2-0ubuntu5) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 982, in run
    self.pkg.byte_compile(bc_option, self.options.exclude)
  File "/usr/bin/pycentral", line 627, in byte_compile
    (self.default_runtime.version, len(self.private_files)))
TypeError: int argument required
dpkg: error processing jockey-common (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of jockey-gtk:
 jockey-gtk depends on jockey-common (= 0.2-0ubuntu5); however:
  Package jockey-common is not configured yet.
dpkg: error processing jockey-gtk (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of update-manager:
 update-manager depends on update-manager-core (= 1:0.87.8); however:
  Package update-manager-core is not configured yet.
dpkg: error processing update-manager (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python-apt
 update-manager-core
 gnome-app-install
 jockey-common
 jockey-gtk
 update-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)

the same problem i had in the morning

Revision history for this message
Dmytro Samsonov (creazine) wrote :

Confirming...

Revision history for this message
Iron Rat (theironrat) wrote :

Confirming

Revision history for this message
Michael Losonsky (michl) wrote :

Also confirming

Revision history for this message
goalieca (goalieca) wrote :

I want to join in on the fun!

Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 982, in run
    self.pkg.byte_compile(bc_option, self.options.exclude)
  File "/usr/bin/pycentral", line 624, in byte_compile
    rt.byte_compile(files, bc_option, exclude_regex)
AttributeError: 'NoneType' object has no attribute 'byte_compile'
dpkg: error processing python-apt (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of update-manager-core:
 update-manager-core depends on python-apt (>= 0.7.4ubuntu5); however:
  Package python-apt is not configured yet.
dpkg: error processing update-manager-core (--configure):
 dependency problems - leaving unconfigured
Setting up jockey-common (0.2-0ubuntu5) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 982, in run
    self.pkg.byte_compile(bc_option, self.options.exclude)
  File "/usr/bin/pycentral", line 627, in byte_compile
    (self.default_runtime.version, len(self.private_files)))
TypeError: int argument required
dpkg: error processing jockey-common (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of jockey-gtk:
 jockey-gtk depends on jockey-common (= 0.2-0ubuntu5); however:
  Package jockey-common is not configured yet.
dpkg: error processing jockey-gtk (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of update-manager:
 update-manager depends on update-manager-core (= 1:0.87.8); however:
  Package update-manager-core is not configured yet.
dpkg: error processing update-manager (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python-apt
 update-manager-core
 jockey-common
 jockey-gtk
 update-manager

Revision history for this message
miked (miked11) wrote :

https://bugs.launchpad.net/ubuntu/+source/python-central/+bug/192992/comments/88
John Dong wrote 3 hours ago: (permalink)

This is not an appropriate place to discuss workarounds -- this is a place to identify the cause and propose proper fixes to the bug at hand. Please move nonessential discussion to another support medium,

Thanks.

I wanted to know where the appropriate place to discuss workarounds is, to move nonessential discussion to, what other (another) support medium ?
Thanks.

Revision history for this message
dan (dadan) wrote :

miked a écrit :
> Thanks, this worked for me.
> https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/193260/comments/3
>

It worked for me too.

--
Maxime Danis

Revision history for this message
Elias K Gardner (zorkerz) wrote :

I would recommend starting a thread in ubuntuforums.org or possibly the ask
section of launchpad. The latter im not as familiar with and do not know if
they condone threads that are not direct questions.
cheers

Revision history for this message
miked (miked11) wrote :
Revision history for this message
phalax (jolsson81) wrote :

Confirm. When updating "jockey-common - 0.2-0ubuntu5".

Log:

Ställer in jockey-common (0.2-0ubuntu5) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 982, in run
    self.pkg.byte_compile(bc_option, self.options.exclude)
  File "/usr/bin/pycentral", line 627, in byte_compile
    (self.default_runtime.version, len(self.private_files)))
TypeError: int argument required
dpkg: fel vid hantering av jockey-common (--configure):
 underprocess post-installation script gav felkod 1
dpkg: beroendeproblem förhindrar konfigurering av jockey-gtk:
 jockey-gtk beror på jockey-common (= 0.2-0ubuntu5), men:
  Paketet jockey-common har inte konfigurerats ännu.
dpkg: fel vid hantering av jockey-gtk (--configure):
 beroendeproblem - lämnar okonfigurerad
Fel uppstod vid hantering:
 jockey-common
 jockey-gtk
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Olivier Samyn (olivier-oleastre) wrote :

I got also some troubles today once updating my fresh Hardy installation.

First step, I made to resolve this issue is to install Python 2.4.
It seems pycentral crashes if a packages specify a python version that is not installed.

After that I got an error when trying to update jockey-common.
This one comes from the debugging message expecting an int and it is given a string and an int.

Quick patch:
--- pycentral.old 2008-02-19 22:26:53.000000000 +0100
+++ pycentral 2008-02-19 22:27:01.000000000 +0100
@@ -623,7 +623,7 @@
             rt = get_runtime_for_version(version)
             rt.byte_compile(files, bc_option, exclude_regex)
         if self.private_files:
- logging.debug("bc private (%d files)" %
+ logging.debug("bc private v%s (%d files)" %
                           (self.default_runtime.version, len(self.private_files)))
             rt = self.default_runtime
             rt.byte_compile(self.private_files, bc_option, exclude_regex)

Revision history for this message
Randy LeJeune (lejeunerandy-fastmail) wrote : Re: [Bug 192992] Re: [hardy] pycentral crashed with ValueError in parse_versions()

Worked for me. Thanks!

On Tue, 19 Feb 2008 19:58:34 -0000, "Maxime Danis"
<email address hidden> said:
> miked a écrit :
> > Thanks, this worked for me.
> > https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/193260/comments/3
> >
>
> It worked for me too.
>
> --
> Maxime Danis
>
> --
> [hardy] pycentral crashed with ValueError in parse_versions()
> https://bugs.launchpad.net/bugs/192992
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Source Package "python-apt" in Ubuntu: Invalid
> Status in Source Package "python-central" in Ubuntu: Confirmed
> Status in python-apt in Ubuntu Hardy: Invalid
> Status in python-central in Ubuntu Hardy: Confirmed
>
> Bug description:
> Binary package hint: python-central
>
> Just installing the lasterst hardy updates.
>
> ProblemType: Crash
> Architecture: i386
> Date: Mon Feb 18 19:47:43 2008
> DistroRelease: Ubuntu 8.04
> ExecutablePath: /usr/bin/pycentral
> InterpreterPath: /usr/bin/python2.5
> NonfreeKernelModules: nvidia
> Package: python-central 0.5.50ubuntu1
> PackageArchitecture: all
> ProcCmdline: /usr/bin/python /usr/bin/pycentral pkgprepare bzr
> ProcCwd: /
> ProcEnviron:
> LANGUAGE=nl_NL:nl
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
> LANG=nl_NL.UTF-8
> SHELL=/bin/bash
> PythonArgs: ['/usr/bin/pycentral', 'pkgprepare', 'bzr']
> SourcePackage: python-central
> Title: pycentral crashed with ValueError in parse_versions()
> Uname: Linux zjaak-desktop 2.6.24-8-generic #1 SMP Thu Feb 14 20:40:45
> UTC 2008 i686 GNU/Linux
> UserGroups:
--
  Randy LeJeune
  <email address hidden>

--
http://www.fastmail.fm - Faster than the air-speed velocity of an
                          unladen european swallow

Revision history for this message
Nobu (benjo316) wrote :
Download full text (3.3 KiB)

Still not working for me. Has a solution been found yet, or are people still just throwing around patches?

When trying to update packages:
>super@nobu-desktop:~$ sudo aptitude
>[snip locale errors caused by bug # 192012]
>perl: warning: Falling back to the standard locale ("C").
>locale: Cannot set LC_CTYPE to default locale: No such file or directory
>locale: Cannot set LC_MESSAGES to default locale: No such file or directory
>locale: Cannot set LC_ALL to default locale: No such file or directory
>Setting up python-apt (0.7.4ubuntu5) ...
>Traceback (most recent call last):
> File "/usr/bin/pycentral", line 1593, in <module>
> main()
> File "/usr/bin/pycentral", line 1587, in main
> rv = action.run(global_options)
> File "/usr/bin/pycentral", line 982, in run
> self.pkg.byte_compile(bc_option, self.options.exclude)
> File "/usr/bin/pycentral", line 624, in byte_compile
> rt.byte_compile(files, bc_option, exclude_regex)
>AttributeError: 'NoneType' object has no attribute 'byte_compile'
>dpkg: error processing python-apt (--configure):
> subprocess post-installation script returned error exit status 1
>dpkg: dependency problems prevent configuration of update-manager-core:
> update-manager-core depends on python-apt (>= 0.7.4ubuntu5); however:
> Package python-apt is not configured yet.
>dpkg: error processing update-manager-core (--configure):
> dependency problems - leaving unconfigured
>dpkg: dependency problems prevent configuration of update-manager:
> update-manager depends on update-manager-core (= 1:0.87.8); however:
> Package update-manager-core is not configured yet.
>dpkg: error processing update-manager (--configure):
> dependency problems - leaving unconfigured
>Errors were encountered while processing:
> python-apt
> update-manager-core
> update-manager
>E: Sub-process /usr/bin/dpkg returned an error code (1)
>A package failed to install. Trying to recover:
>Setting up python-apt (0.7.4ubuntu5) ...
>Traceback (most recent call last):
> File "/usr/bin/pycentral", line 1593, in <module>
> main()
> File "/usr/bin/pycentral", line 1587, in main
> rv = action.run(global_options)
> File "/usr/bin/pycentral", line 982, in run
> self.pkg.byte_compile(bc_option, self.options.exclude)
> File "/usr/bin/pycentral", line 624, in byte_compile
> rt.byte_compile(files, bc_option, exclude_regex)
>AttributeError: 'NoneType' object has no attribute 'byte_compile'
>dpkg: error processing python-apt (--configure):
> subprocess post-installation script returned error exit status 1
>dpkg: dependency problems prevent configuration of update-manager-core:
> update-manager-core depends on python-apt (>= 0.7.4ubuntu5); however:
> Package python-apt is not configured yet.
>dpkg: error processing update-manager-core (--configure):
> dependency problems - leaving unconfigured
>dpkg: dependency problems prevent configuration of update-manager:
> update-manager depends on update-manager-core (= 1:0.87.8); however:
> Package update-manager-core is not configured yet.
>dpkg: error processing update-manager (--configure):
> dependency problems - leaving unconfigured
>Errors were encountered while processing:
> python-apt
> upd...

Read more...

Revision history for this message
Olivier Samyn (olivier-oleastre) wrote :

Nobu, did you installed python 2.4 ?

apt-get install python2.4

this will solve: " AttributeError: 'NoneType' object has no attribute 'byte_compile' "

Next, apply my patch to your pycentral.

Revision history for this message
Lafa (luis-alves) wrote :

I also got this problem, when I perform the update on the cmd
I see these messages

Setting up python-apt (0.7.4ubuntu6) ...
pycentral: byte_compile: python version '2.4' requested but not available

Setting up update-manager-core (1:0.87.9) ...
pycentral: byte_compile: python version '2.4' requested but not available

Setting up update-manager (1:0.87.9) ...
pycentral: byte_compile: python version '2.4' requested but not available

Revision history for this message
Rick Gabriel (klaxian1) wrote :

This seems fixed for me by installing the latest python-apt and python-central packages (within the last couple hours) and also installing python2.4. Perhaps a more permanent solution is still forthcoming, but so far so good. Thanks!

Revision history for this message
Gonçalo (monxalo) wrote :

Confirming...

Revision history for this message
komputes (komputes) wrote :
Download full text (3.6 KiB)

Confirmed issue using update-manager on Hardy x86

Update Manager Reported the following errors
E: python-apt: subprocess post-installation script returned error exit status 1
E: update-manager-core: dependency problems - leaving unconfigured
E: update-manager: dependency problems - leaving unconfigured
E: gnome-app-install: dependency problems - leaving unconfigured
E: jockey-common: subprocess post-installation script returned error exit status 1
E: jockey-gtk: dependency problems - leaving unconfigured

I have tried
sudo apt-get install python 2.4

to which I get the output

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  openoffice.org-hyphenation-en-us
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  python2.4-minimal
Suggested packages:
  python-profiler python2.4-doc
The following NEW packages will be installed:
  python2.4 python2.4-minimal
0 upgraded, 2 newly installed, 0 to remove and 23 not upgraded.
6 not fully installed or removed.
Need to get 3785kB of archives.
After this operation, 12.8MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ca.archive.ubuntu.com hardy/main python2.4-minimal 2.4.4-7ubuntu1 [974kB]
Get:2 http://ca.archive.ubuntu.com hardy/main python2.4 2.4.4-7ubuntu1 [2811kB]
Fetched 3785kB in 1min1s (61.4kB/s)
Selecting previously deselected package python2.4-minimal.
(Reading database ... 130522 files and directories currently installed.)
Unpacking python2.4-minimal (from .../python2.4-minimal_2.4.4-7ubuntu1_i386.deb) ...
Selecting previously deselected package python2.4.
Unpacking python2.4 (from .../python2.4_2.4.4-7ubuntu1_i386.deb) ...
Setting up python-apt (0.7.4ubuntu5) ...
'import site' failed; use -v for traceback

Setting up gnome-app-install (0.5.2.3-0ubuntu1) ...
Caching application data...
Generating mime/codec maps...

Setting up jockey-common (0.2-0ubuntu5) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 982, in run
    self.pkg.byte_compile(bc_option, self.options.exclude)
  File "/usr/bin/pycentral", line 627, in byte_compile
    (self.default_runtime.version, len(self.private_files)))
TypeError: int argument required
dpkg: error processing jockey-common (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of jockey-gtk:
 jockey-gtk depends on jockey-common (= 0.2-0ubuntu5); however:
  Package jockey-common is not configured yet.
dpkg: error processing jockey-gtk (--configure):
 dependency problems - leaving unconfigured
Setting up update-manager-core (1:0.87.8) ...
'import site' failed; use -v for traceback

Setting up update-manager (1:0.87.8) ...
'import site' failed; use -v for traceback

Setting up python2.4-minimal (2.4.4-7ubuntu1) ...
Linking and byte-compiling packages for runtime python2.4...

Set...

Read more...

Revision history for this message
komputes (komputes) wrote :

http://gulus.usherbrooke.ca/pub/distro/ubuntu/pool/main/p/python2.4/python2.4_2.4.4-7ubuntu1_i386.deb

Installed this package and ran update-manager twice, works fine for me!

description: updated
Revision history for this message
Nobu (benjo316) wrote :

Olivier Samyn:

Thanks, I thought I had already had it installed; turns out it was 2.5 I had.
Your patch did get jockey-common installed. There's only one change made by that patch, huh?

Just installed another update for both jockey-common and python-central (among others) and,
aside from the copious locale errors, there were no problems updating the packages.

Revision history for this message
Brian Curtis (bcurtiswx) wrote :

As far as recent updates (11:30PM EST Feb 19) I have no errors now.

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :

I updated today, errors have vanished

Revision history for this message
Mathieu Marquer (slasher-fun) wrote :

Seems fixed in python-apt 0.7.4ubuntu6 and python-central 0.5.50ubuntu6

Revision history for this message
Jochen Mertens (jmertens) wrote :

Confirmed for latest updates.

Revision history for this message
Miguel Ruiz (mruiz) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. I'm closing it because the bug has been fixed in the last version of python-central (0.5.50ubuntu7).

Cheers!

Changed in python-central:
status: Confirmed → Fix Released
Revision history for this message
mariano.iannuzzi (mariano-iannuzzi) wrote : Re: [Bug 192992] Re: [hardy] pycentral crashed with ValueError in parse_versions()

Great!

On Wed, Feb 20, 2008 at 10:43 AM, Miguel Ruiz <email address hidden> wrote:
> Thank you for taking the time to report this bug and helping to make
> Ubuntu better. I'm closing it because the bug has been fixed in the last
> version of python-central (0.5.50ubuntu7).
>
> Cheers!
>
> ** Changed in: python-central (Ubuntu Hardy)
> Status: Confirmed => Fix Released
>
> --
> [hardy] pycentral crashed with ValueError in parse_versions()
> https://bugs.launchpad.net/bugs/192992
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

Revision history for this message
Bernhard Schuster (drahnr) wrote : Re: [Bug 192992] my apologies

no big deal, as long as my email does NOT appear on AOLs spam list...

Revision history for this message
PC_THE_GREAT (pcthegreat) wrote :

lol mine also :p
On Fri, Dec 12, 2008 at 3:53 AM, soxs <email address hidden>wrote:

> no big deal, as long as my email does NOT appear on AOLs spam list...
>
> --
> [hardy] pycentral crashed with ValueError in parse_versions()
> https://bugs.launchpad.net/bugs/192992
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

--
$3|v3n

Revision history for this message
mattia.lambertini (mat-lambertini) wrote :

shit happens..

no problem for me ;)

2008/12/12 PC_THE_GREAT <email address hidden>

> lol mine also :p
> On Fri, Dec 12, 2008 at 3:53 AM, soxs <<email address hidden>
> >wrote:
>
> > no big deal, as long as my email does NOT appear on AOLs spam list...
> >
> > --
> > [hardy] pycentral crashed with ValueError in parse_versions()
> > https://bugs.launchpad.net/bugs/192992
> > You received this bug notification because you are a direct subscriber
> > of a duplicate bug.
> >
>
>
> --
> $3|v3n
>
> --
> [hardy] pycentral crashed with ValueError in parse_versions()
> https://bugs.launchpad.net/bugs/192992
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Cordiali Saluti,
Mattia

Le email contenenti, in allegato, i formati proprietari (".doc", ".ppt" di
Microsoft) vengono automaticamente cancellate, senza la possibilità di
lettura da parte mia. Questo perchè non sono adatti come forma di
trasmissione e condivisione dei saperi. Vi invito ad utilizzare formati
liberi e standard come odf ( http://it.openoffice.org/) o HTML. In
alternativa è possibile utilizzare formati standard come PDF.

http://www.gnu.org/philosophy/no-word-attachments.it.html

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.