python configuration problems

I

ivan.pavlov

I am running Debian/Linux unstable. Trying to upgrade packages
depending on python (via aptitude) has started to give errors and
leaves all packeges unconfigured. When I run dpkg --configure pyhton2.3
the following errors occur.

Any advice on what to do?

Setting up python2.3 (2.3.5-8) ...
Compiling python modules in /usr/lib/python2.3 ...
Compiling /usr/lib/python2.3/site-packages/srcb/generator.py ...
File "/usr/lib/python2.3/site-packages/srcb/generator.py", line 331
return (_p( *x ) for x in parser.parse_xdoc( line ))
^
SyntaxError: invalid syntax

Compiling /usr/lib/python2.3/site-packages/srcb/interp.py ...
File "/usr/lib/python2.3/site-packages/srcb/interp.py", line 61
@staticmethod
^
SyntaxError: invalid syntax

Compiling /usr/lib/python2.3/site-packages/srcb/multimethods.py ...
File "/usr/lib/python2.3/site-packages/srcb/multimethods.py", line 50
sig = tuple( x.__class__.__name__ for x in args )
^
SyntaxError: invalid syntax

Compiling /usr/lib/python2.3/site-packages/srcb/parser.py ...
File "/usr/lib/python2.3/site-packages/srcb/parser.py", line 67
mode = dict( (k, tuple( re.compile( e ) for e in v )) for (k, v) in
mode.iteritems() )
^
SyntaxError: invalid syntax

Compiling /usr/lib/python2.3/site-packages/srcb/visitor.py ...
File "/usr/lib/python2.3/site-packages/srcb/visitor.py", line 137
@staticmethod
^
SyntaxError: invalid syntax
 
I

ivan.pavlov

I solved the problem myself. Just removed the folder where the errors
were occuring. Don't know how it came to exists in the first place
though. Now everything seems to work fine, for now...
 
F

Fredrik Lundh

I am running Debian/Linux unstable. Trying to upgrade packages
depending on python (via aptitude) has started to give errors and
leaves all packeges unconfigured. When I run dpkg --configure pyhton2.3
the following errors occur.

the "srcb" package uses 2.4 features (generator expressions and
decorators).

whoever told you to add that package to your 2.3 install should
be slapped with a medium-sized fish.

</F>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,232
Latest member
DorotheaDo

Latest Threads

Top