Alexander Rødseth schrieb:
> Package: python2.3-elementtree
> Version: 1.2.6-3
> Severity: normal
> 
> I was trying to install python2.3-elementtree, first with Synaptic and
> then with apt-get.
> 
> I've tried to install TurboGears using the instructions on their
> homepage.
> 
> Here's what I got:
> 
> Setting up python2.3-elementtree (1.2.6-3) ...
> Compiling 
> /usr/lib/python2.3/site-packages/TurboGears-0.8a1-py2.3.egg/turbogears/tests/test_controllers.py
>  ...
>   File 
> "/usr/lib/python2.3/site-packages/TurboGears-0.8a1-py2.3.egg/turbogears/tests/test_controllers.py",
>  line 11
>     @turbogears.expose()
>     ^
> SyntaxError: invalid syntax
Hi,

and what does that have to do with elementtree?
As you see, the error in in turbogears, and it happens that it uses Python 2.4
syntax (method decorators), while you are using it with Python 2.3. Please
install python2.4-elementtree and install TurboGears for Python 2.4. (if it uses
distutils, do sth. like "python2.4 setup.py install")

I'll close this bug, if there are no other problems?

greetings

Torsten
-- 
Torsten Marek <[EMAIL PROTECTED]>
ID: A244C858 -- FP: 1902 0002 5DFC 856B F146  894C 7CC5 451E A244 C858
Keyserver: subkeys.pgp.net



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

Reply via email to