Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Double Click on an Event in a zoomed annotation area make the application crash #42

Open
MichaelPapinutto opened this issue Sep 23, 2019 · 0 comments

Comments

@MichaelPapinutto
Copy link

When creating event there is no issue but if you zoom in the annotation area then creating and double clicking on the event to set manually the frame make the application crash with the following error:

Traceback (most recent call last):
  File "/pythonVideoAnnotator/libraries/pyforms-gui/pyforms_gui/controls/control_number.py", line 48, in update_event
    self.value = value
  File "//pythonVideoAnnotator/libraries/pyforms-gui/pyforms_gui/controls/control_number.py", line 72, in value
    ControlBase.value.fset(self, self.form.spinBox.value())
  File "/pythonVideoAnnotator/libraries/pyforms-gui/pyforms_gui/controls/control_base.py", line 215, in value
    self.changed_event()
  File "/pythonVideoAnnotator/libraries/pyforms-gui/pyforms_gui/controls/control_event_timeline/events/win_event.py", line 74, in __begin_changed_event
    if not hasattr(self, '_updating') and self._begin.value >= self._end.value:
AttributeError: 'EventWindow' object has no attribute '_begin'
Abort trap: 6

And this apple report of python quitting unexpectedly:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff610a6b86 __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fff6115cc50 pthread_kill + 285
2   libsystem_c.dylib             	0x00007fff610101c9 abort + 127
3   QtCore                        	0x000000010eeab5e9 0x10ee93000 + 99817
4   QtCore                        	0x000000010eeacd34 QMessageLogger::fatal(char const*, ...) const + 202
5   QtCore.so                     	0x000000010f612912 pyqt5_err_print() + 802
6   QtCore.so                     	0x000000010f618464 PyQtSlotProxy::unislot(void**) + 100
7   QtCore.so                     	0x000000010f6183ca PyQtSlotProxy::qt_metacall(QMetaObject::Call, int, void**) + 58
8   QtCore                        	0x000000010f0ae373 QMetaObject::activate(QObject*, int, int, void**) + 995
9   QtWidgets                     	0x000000010e555db3 0x10e3a4000 + 1777075
10  QtWidgets                     	0x000000010e54e0f4 0x10e3a4000 + 1745140
11  QtWidgets                     	0x000000010e5546d7 QDoubleSpinBox::setValue(double) + 135
12  QtWidgets.so                  	0x000000010dfd53a6 meth_QDoubleSpinBox_setDecimals(_object*, _object*) + 86
...
...

Is it only on my side or this bug is reproductible ? @UmSenhorQualquer Do you have any solution for a quick fix ?

Best regards,

Michael Papinutto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant