reopen 418166
thanks

Hi,

With python-central 0.5.12 I've this error that is fixed if I install 
python-central 0.5.14 first.

IMO reportbug shoud depends on python-central = 0.5.14 (maybe 0.5.13, I didn't 
check)

Best regards,

      Gonéri
-----
(Reading database ... 194076 files and directories currently installed.)
Preparing to replace reportbug 3.31 (using reportbug_3.38_all.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1373, in ?
    main()
  File "/usr/bin/pycentral", line 1367, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 952, in run
    pkg.remove(runtimes, remove_script_files=True)
  File "/usr/bin/pycentral", line 697, in remove
    default_runtime.remove_byte_code(self.private_files)
AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1373, in ?
    main()
  File "/usr/bin/pycentral", line 1367, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 952, in run
    pkg.remove(runtimes, remove_script_files=True)
  File "/usr/bin/pycentral", line 697, in remove
    default_runtime.remove_byte_code(self.private_files)
AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
dpkg: error processing reportbug_3.38_all.deb (--install):
 subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1373, in ?
    main()
  File "/usr/bin/pycentral", line 1367, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 889, in run
    self.options.exclude, byte_compile_default=True)
  File "/usr/bin/pycentral", line 672, in install
    self.default_runtime.byte_compile(self.private_files,
AttributeError: 'NoneType' object has no attribute 'byte_compile'
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 reportbug_3.38_all.deb

With pycentral 

Attachment: pgpQV5WFTEJ2G.pgp
Description: PGP signature

Reply via email to