ITango 8.0.2 -- An interactive Tango client.
Running on top of Python 3.2.3, IPython 0.13.1 and PyTango 8.0.2
help -> ITango's help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
hint: Try typing: mydev = Device("<tab>
ITango [1]: db = DeviceProxy("sys/database/22")
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/usr/lib/python3/dist-packages/PyTango/ipython/ipython_00_11/ipython_00_11.py in __exc_handler(ip, etype, value, tb, tb_offset)
549 user_ns[_TANGO_ERR] = etype, value, tb, tb_offset
550 if len(value.args):
--> 551 v = value[0]
552 print("%s: %s" % (v.reason ,v.desc))
553 else:
TypeError: 'DevFailed' object does not support indexing
The original exception:
Custom TB Handler failed, unregistering
ITango [2]:
if I do the same with python2 it is ok
picca@mordor:~$ itango
ITango 8.0.2 -- An interactive Tango client.
Running on top of Python 2.7.3, IPython 0.13.1 and PyTango 8.0.2
help -> ITango's help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
IPython profile: tango
hint: Try typing: mydev = Device("<tab>
ITango [1]: db = DeviceProxy("sys/database/22")
DB_DeviceNotDefined: device sys/database/22 not defined in the database !
(For more detailed information type: tango_error)
Fixed.
Will become visible in next PyTango releases 8.0.4 and 8.1.0