Menu

#328 AttributeError in taurusplot

unassigned
waiting
nobody
bug
2016-08-22
2016-07-26
No

You can reproduce it:
setting as default scheme "eval" (tauruscustomsetting) and lauching taurusplot

taurusplot 
MainThread     INFO     2016-07-26 09:50:31,298 TaurusRootLogger: Using "PyQt4" for Qt
MainThread     INFO     2016-07-26 09:50:31,609 taurus.qt.qtgui.icon.icon: Setting Tango icon theme (from /home/cfalcon/tools/taurus.git/lib/taurus/qt/qtgui/icon/)
MainThread     WARNING  2016-07-26 09:50:32,086 TaurusRootLogger: Model name "eval://localhost" is supported but not strictly valid. 
It is STRONGLY recommended that you change it to 
strictly follow eval scheme syntax
MainThread     WARNING  2016-07-26 09:50:32,090 TaurusRootLogger: Model name "eval://localhost" is supported but not strictly valid. 
It is STRONGLY recommended that you change it to 
strictly follow eval scheme syntax
MainThread     WARNING  2016-07-26 09:50:32,090 TaurusRootLogger: Model name "eval://localhost" is supported but not strictly valid. 
It is STRONGLY recommended that you change it to 
strictly follow eval scheme syntax
MainThread     WARNING  2016-07-26 09:50:32,090 TaurusRootLogger: Model name "eval://localhost" is supported but not strictly valid. 
It is STRONGLY recommended that you change it to 
strictly follow eval scheme syntax
MainThread     WARNING  2016-07-26 09:50:32,091 localhost.DefaultEvaluator.localhost: Missing symbol "localhost"
MainThread     WARNING  2016-07-26 09:50:32,093 TaurusRootLogger: Model name "eval://localhost" is supported but not strictly valid. 
It is STRONGLY recommended that you change it to 
strictly follow eval scheme syntax
Traceback (most recent call last):
  File "/home/cfalcon/tools/taurus.git/lib/taurus/qt/qtgui/model/qbasemodel.py", line 581, in setModel
    model.setDataSource(modelObj)
  File "/home/cfalcon/tools/taurus.git/lib/taurus/qt/qtcore/model/taurusmodel.py", line 223, in setDataSource
    self.refresh()
  File "/home/cfalcon/tools/taurus.git/lib/taurus/qt/qtcore/model/taurusdatabasemodel.py", line 378, in refresh
    TaurusBaseModel.refresh(self, refresh_source=refresh_source)
  File "/home/cfalcon/tools/taurus.git/lib/taurus/qt/qtcore/model/taurusmodel.py", line 202, in refresh
    self.setupModelData(self.dataSource())
  File "/home/cfalcon/tools/taurus.git/lib/taurus/qt/qtcore/model/taurusdatabasemodel.py", line 541, in setupModelData
    for domain in data.keys():
AttributeError: 'EvaluationAuthority' object has no attribute 'keys'                                                                                                                                
MainThread     INFO     2016-07-26 09:51:18,850 TaurusRootLogger:   

Discussion

  • Carlos Pascual

    Carlos Pascual - 2016-08-22
    • labels: --> tango-centric
    • Milestone: Jan17 --> unassigned
     
  • Carlos Pascual

    Carlos Pascual - 2016-08-22

    Note that Taurus 4.0 is Tango-agnostic only for taurus.core, not for taurus.qt.
    Many widgets are not yet tango-independent or scheme-agnostic. This is something that still needs to be done (see the "follow on" section of [TEP3]).

    Many parts of the code are already marked with TODOs using the tango-centric "tag". I suggest that we also use the same tag in tickets such as this one.

     

    Related

    Wiki: TEP3