Menu

#776 [pytango][8.1.8] SyntaxError: invalid syntax

open
nobody
None
PyTango
9
2016-03-15
2016-02-14
No

Hello,

It seems that pytango is not python3 ready :)

here an error during the python3-pytango package installation

this bug make the package RC (release critical so it would be nice to have a patch or a 8.1.9 version soon ;)

Cheers

Frederic

Paramétrage de python3-pytango (8.1.8-1) ...
File "/usr/lib/python3/dist-packages/PyTango/tango_gevent.py", line 56
raise result.error_string, None, result.tb
^
SyntaxError: invalid syntax

File "/usr/lib/python3/dist-packages/PyTango/tango_gevent.py", line 56
raise result.error_string, None, result.tb
^
SyntaxError: invalid syntax

dpkg: erreur de traitement du paquet python3-pytango (--configure) :

Discussion

  • Frédéric PICCA

    Hello Tiago,

    when you solved this bug, you embeded a copy of six inPyTango, is it possible to remove this embeded code and make PyTango depdends on six.

    This is better for packagers

     
  • Tiago Coutinho

    Tiago Coutinho - 2016-03-15

    Hi Frédéric,

    If it makes your like easier, of course. I guess we could add a requirements.txt.
    Will try to do it for 8.1.9
    Thanks for reporting

     

Log in to post a comment.