Getting the same problem.
(Reading database ... 164529 files and directories currently installed.)
Preparing to replace python-uno 2.0.4-0ubuntu2 (using 
.../python-uno_2.0.4-0ubuntu4_i386.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1348, in ?
    main()
  File "/usr/bin/pycentral", line 1342, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 935, in run
    pkg.remove(runtimes, remove_script_files=True)
  File "/usr/bin/pycentral", line 693, 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 1348, in ?
    main()
  File "/usr/bin/pycentral", line 1342, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 935, in run
    pkg.remove(runtimes, remove_script_files=True)
  File "/usr/bin/pycentral", line 693, in remove
    default_runtime.remove_byte_code(self.private_files)
AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
dpkg: error processing 
/var/cache/apt/archives/python-uno_2.0.4-0ubuntu4_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/python-uno_2.0.4-0ubuntu4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
(Using apt-get upgrade/instal/-f install etc.
Also seems that:
python-uno: Depends: openoffice.org-core (= 2.0.4-0ubuntu2) but 2.0.4-0ubuntu4 
is installed
there's a dependency problem in the python-uno package.  Maybe that's the cause 
of the errors?

-- 
instal python-uno broken: 
/usr/bin/pycentral::default_runtime.remove_byte_code() : 'NoneType' object
https://launchpad.net/bugs/75557

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to