pycentral crashed with AttributeError in read_preinst_pkgconfig()

Bug #193231 reported by Ramo
26
Affects Status Importance Assigned to Milestone
python-central (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: python-central

sudo apt-get -f install
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Correction des dépendances... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  python-crypto python-paramiko bzr graphviz
Veuillez utiliser « apt-get autoremove » pour les supprimer.
Les paquets supplémentaires suivants seront installés :
  bzr
Paquets suggérés :
  bzr-gtk bzr-svn python-pycurl
Paquets recommandés :
  bzrtools
Les paquets suivants seront ENLEVÉS :
  bzrtools
Les NOUVEAUX paquets suivants seront installés :
  bzr
0 mis à jour, 1 nouvellement installés, 1 à enlever et 3 non mis à jour.
1 partiellement installés ou enlevés.
Il est nécessaire de prendre 0o/4438ko dans les archives.
Après cette opération, 14,3Mo d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer [O/n] ? o
(Lecture de la base de données... 138908 fichiers et répertoires déjà installés.)
Suppression de bzrtools ...
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 : erreur de traitement de bzrtools (--remove) :
 le sous-processus pre-removal script a retourné une erreur de sortie d'état 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 : erreur lors du nettoyage :
 le sous-processus post-installation script a retourné une erreur de sortie d'état 1
Des erreurs ont été rencontrées pendant l'exécution :
 bzrtools
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Crash
Architecture: i386
Date: Tue Feb 19 12:07:08 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 pkginstall bzrtools
ProcCwd: /
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/pycentral', 'pkginstall', 'bzrtools']
SourcePackage: python-central
Title: pycentral crashed with AttributeError in read_preinst_pkgconfig()
Uname: Linux ramoX 2.6.24-8-generic #1 SMP Thu Feb 14 20:40:45 UTC 2008 i686 GNU/Linux
UserGroups:

Tags: apport-crash
Revision history for this message
Ramo (zomar-net) wrote :
Revision history for this message
Basilio Kublik (sourcercito) wrote :

Hi there
is this still an issue for you with the current version of python-central?

Thanks in advance

Changed in python-central:
assignee: nobody → sourcercito
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Matthias Klose (doko) wrote :

fixed in 0.5.60ubuntuN

Changed in python-central:
assignee: sourcercito → nobody
status: Incomplete → Fix Released
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.