pycentral crashed with AttributeError in byte_compile()

Bug #193382 reported by André Gondim
6
Affects Status Importance Assigned to Milestone
python-central (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-central

gondim@andregondim-eti-br:~$ sudo aptitude dist-upgrade
[sudo] password for gondim:
Lendo lista de pacotes... Pronto
Construindo árvore de dependências
Reading state information... Pronto
Lendo informações estendidas de estado
Inicializando estados de pacotes... Pronto
Construindo a base de dados... Pronto
Os seguintes pacotes parcialmente instalados serão configurados:
  jockey-common jockey-gtk python-apt update-manager update-manager-core
0 pacotes atualizados, 0 novos instalados, 0 a serem removidos e 0 não atualizados.
É preciso obter 0B de arquivos. Depois do desempacotamento, 0B serão usados.
Instalando 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: erro processando python-apt (--configure):
 subprocesso post-installation script retornou código de saída de error 1
dpkg: problemas de dependência impedem configuração de update-manager-core:
 update-manager-core depende de python-apt (>= 0.7.4ubuntu5); porém:
  Pacote python-apt não está configurado ainda.
dpkg: erro processando update-manager-core (--configure):
 problemas de dependência - deixando desconfigurado
Instalando 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: erro processando jockey-common (--configure):
 subprocesso post-installation script retornou código de saída de error 1
dpkg: problemas de dependência impedem configuração de jockey-gtk:
 jockey-gtk depende de jockey-common (= 0.2-0ubuntu5); porém:
  Pacote jockey-common não está configurado ainda.
dpkg: erro processando jockey-gtk (--configure):
 problemas de dependência - deixando desconfigurado
dpkg: problemas de dependência impedem configuração de update-manager:
 update-manager depende de update-manager-core (= 1:0.87.8); porém:
  Pacote update-manager-core não está configurado ainda.
dpkg: erro processando update-manager (--configure):
 problemas de dependência - deixando desconfigurado
Erros foram encontrados durante processamento de:
 python-apt
 update-manager-core
 jockey-common
 jockey-gtk
 update-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
A instalação de um pacote falhou. Tentando recuperar :
Instalando 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: erro processando jockey-common (--configure):
 subprocesso post-installation script retornou código de saída de error 1
dpkg: problemas de dependência impedem configuração de jockey-gtk:
 jockey-gtk depende de jockey-common (= 0.2-0ubuntu5); porém:
  Pacote jockey-common não está configurado ainda.
dpkg: erro processando jockey-gtk (--configure):
 problemas de dependência - deixando desconfigurado
Instalando 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: erro processando python-apt (--configure):
 subprocesso post-installation script retornou código de saída de error 1
dpkg: problemas de dependência impedem configuração de update-manager-core:
 update-manager-core depende de python-apt (>= 0.7.4ubuntu5); porém:
  Pacote python-apt não está configurado ainda.
dpkg: erro processando update-manager-core (--configure):
 problemas de dependência - deixando desconfigurado
dpkg: problemas de dependência impedem configuração de update-manager:
 update-manager depende de update-manager-core (= 1:0.87.8); porém:
  Pacote update-manager-core não está configurado ainda.
dpkg: erro processando update-manager (--configure):
 problemas de dependência - deixando desconfigurado
Erros foram encontrados durante processamento de:
 jockey-common
 jockey-gtk
 python-apt
 update-manager-core
 update-manager
Lendo lista de pacotes... Pronto
Construindo árvore de dependências
Reading state information... Pronto
Lendo informações estendidas de estado
Inicializando estados de pacotes... Pronto
Construindo a base de dados... Pronto

ProblemType: Crash
Architecture: i386
Date: Tue Feb 19 15:01:20 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/pycentral
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: ath_hal
Package: python-central 0.5.50ubuntu2
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/pycentral bccompile python-apt
ProcCwd: /home/gondim
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/pycentral', 'bccompile', 'python-apt']
SourcePackage: python-central
Title: pycentral crashed with AttributeError in byte_compile()
Uname: Linux andregondim-eti-br 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
André Gondim (andregondim) wrote :
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.