Marxlp / pyFlightAnalysis

Flight log file visualization tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Visualization Crashes on Scroll wheel zoom

dlwalter opened this issue · comments

commented

When I use two finger scroll in the visualization window on a MacBook trackpad the program crashes. Couldn't test with a mouse wheel but I imagine it might be the same.

analysis                                                                                                                                                                                                                          [08f01b5]
2019-10-04 14:26:56.862 python[89594:8884286] GLUT Warning: glutInit being called a second time.
None
<pyflightanalysis.analysis.TableView object at 0x11c021948>
objc[89594]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fff99a5b3d8) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x123c8cf50). One of the two will be used. Which one is undefined.
End initialization.
None
<pyflightanalysis.analysis.TableView object at 0x11c021948>
None
Traceback (most recent call last):
  File "/Users/dlw/Workspace/pyFlightAnalysis/.direnv/python-3.7.3/lib/python3.7/site-packages/pyFlightAnalysis-1.1.0b0-py3.7.egg/pyflightanalysis/widgets.py", line 937, in wheelEvent
    self.setScale(event.delta())
AttributeError: 'QWheelEvent' object has no attribute 'delta'
[1]    89594 abort      analysis
commented

Thanks for reporting the issue. I have fixed the problem.