Menu

#680 Cannot import PyTango.server.run

closed-fixed
None
PyTango
5
2014-09-10
2014-08-10
No

PyTango.server.run is documented and used in the examples, but it doesn't appear to be defined. Importing PyTango.server.server_run works.

This is using the default python3-pytango package on Ubuntu 14.04:

>>> import PyTango
>>> PyTango.__version__
'8.1.1'
>>> from PyTango.server import run
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'run'
>>> from PyTango.server import server_run

See also issue #679 (possibly related if the package is shipping the wrong version of the file).

Discussion

  • Tiago Coutinho

    Tiago Coutinho - 2014-08-21

    PyTango.server.run only became available in PyTango 8.1.2.
    It is an error in the documentation.

    It is fixed in PyTango SVN trunk since revision #26281
    Will become visible in next PyTango 8.1.3

    Thank you for reporting

     
  • Tiago Coutinho

    Tiago Coutinho - 2014-08-21
    • status: open --> open-fixed
    • assigned_to: Tiago Coutinho
     
  • Tiago Coutinho

    Tiago Coutinho - 2014-09-10
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.