pycentral crashed with TypeError in byte_compile()

Bug #193238 reported by Guillaume
10
Affects Status Importance Assigned to Milestone
python-central (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-central

Paramétrage de 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 : erreur de traitement de python-apt (--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 update-manager-core :
 update-manager-core dépend de python-apt (>= 0.7.4ubuntu5) ; cependant :
 Le paquet python-apt n'est pas encore configuré.
dpkg : erreur de traitement de update-manager-core (--configure) :
 problèmes de dépendances - laissé non configuré
dpkg : des problèmes de dépendances empêchent la configuration de update-manager :
 update-manager dépend de update-manager-core (= 1:0.87.8) ; cependant :
 Le paquet update-manager-core n'est pas encore configuré.
dpkg : erreur de traitement de update-manager (--configure) :
 problèmes de dépendances - laissé non configuré
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 :
 python-apt
 update-manager-core
 update-manager
 jockey-common
 jockey-gtk
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Crash
Architecture: i386
Date: Tue Feb 19 12:25:49 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/pycentral
InterpreterPath: /usr/bin/python2.5
Package: python-central 0.5.50ubuntu2
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/pycentral bccompile jockey-common
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', 'bccompile', 'jockey-common']
SourcePackage: python-central
Title: pycentral crashed with TypeError in byte_compile()
Uname: Linux guillaume-portable 2.6.24-8-generic #1 SMP Thu Feb 14 20:40:45 UTC 2008 i686 GNU/Linux
UserGroups:

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

dean@linux:~$ sudo apt-get upgrade
[sudo] password for dean:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  libnl-dev
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
3 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
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)

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.