Addalin / cameranetwork

Software for remote sensing camera networks
Other
2 stars 0 forks source link

gui crash on pressing data #6

Closed OmerShubi closed 4 years ago

OmerShubi commented 5 years ago

to reproduce pressin servers>camera_id>status>Data button in gui

2019-09-03 17:56:39,869 [MainThread  ] [DEBUG]  sending message from:<CameraNetwork.gui.main.ServerModel object at 0x7f5e6c9e7200>
Traceback (most recent call last):
  File "/home/shubi/.conda/envs/cvenv2.7/lib/python2.7/site-packages/enaml/qt/qt_abstract_button.py", line 77, in on_clicked
    self.declaration.clicked(checked)
  File "/home/shubi/.conda/envs/cvenv2.7/lib/python2.7/site-packages/enaml/core/declarative_meta.py", line 68, in declarative_change_handler
    engine.write(owner, change['name'], change)
  File "/home/shubi/.conda/envs/cvenv2.7/lib/python2.7/site-packages/enaml/core/expression_engine.py", line 217, in write
    pair.writer(owner, name, change)
  File "/home/shubi/.conda/envs/cvenv2.7/lib/python2.7/site-packages/enaml/core/standard_handlers.py", line 82, in __call__
    call_func(func, (), {}, scope)
  File "/home/shubi/PycharmProjects/cameranetwork/CameraNetwork/gui/enaml_files/docks.enaml", line 107, in f
    popup = MsgDataPopup(msg_data=server_model.reply_data).show()
NameError: name 'MsgDataPopup' is not defined
Aborted (core dumped)
Addalin commented 4 years ago

@scaperex what does it suppose to do? add a screenshot.

OmerShubi commented 4 years ago

@Addalin I think 30d96c8 solves this I can't reproduce the bug and pressing on data now works. For exmaple, after pressing on settings, which sends the get_settings command to the camera, pressing on data results in Screenshot from 2019-10-22 19-19-48 in addition to the popup that showed (not shown in picture).

OmerShubi commented 4 years ago

Closing this issue for now