Package: python-central
Version: 0.5.13
Followup-For: Bug #418108

Hi, as per suggested fix I modified
/usr/share/pycentral-data/pyversions.py

to include the line 
        global config

I'm not sure how to byte compile so I left that alone.

Tried to install blender again (this bug is causing the blender upgrade
to fail) and got the following:

The following packages will be upgraded:
  blender
1 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/6331kB of archives. After unpacking 221kB will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Reading changelogs... Done
(Reading database ... 147510 files and directories currently installed.)
Preparing to replace blender 2.42a-6 (using .../blender_2.42a-7_i386.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 7, in ?
    import pyversions
  File "/usr/share/pycentral-data/pyversions.py", line 14
    global config
    ^
SyntaxError: invalid syntax
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 7, in ?
    import pyversions
  File "/usr/share/pycentral-data/pyversions.py", line 14
    global config
    ^
SyntaxError: invalid syntax
dpkg: error processing /var/cache/apt/archives/blender_2.42a-7_i386.deb 
(--unpack):
 subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 7, in ?
    import pyversions
  File "/usr/share/pycentral-data/pyversions.py", line 14
    global config
    ^
SyntaxError: invalid syntax
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/blender_2.42a-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
dpkg: error processing blender (--configure):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting configuration.
Errors were encountered while processing:
 blender


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)

Versions of packages python-central depends on:
ii  python                        2.4.4-2    An interactive high-level object-o

python-central recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to