Pyfa
Pyfa copied to clipboard
pyfa error appears if arbitrary content is drag&dropped onto fitting window
Bug Report
I accidentally dragged a steam game from my steam library onto the fitting window.
Expected behavior:
Nothing should happen.
Actual behavior:
"Pyfa error"
pyfa v2.59.2
EVE Data Version: 2608648 (2024-06-13 08:52:55)
OS version: Linux-6.9.7+bpo-amd64-x86_64-with-glibc2.36
Python version: 3.11.9 (main, Apr 6 2024, 17:59:24) [GCC 11.4.0]
wxPython version: 4.2.1 (wxWidgets 3.2.2.1)
SQLAlchemy version: 1.4.50
Logbook version: 1.7.0.post0
Requests version: 2.31.0
Dateutil version: 2.8.2
####################
Traceback (most recent call last):
File "/tmp/.mount_pyfa-vTo2xGI/opt/pyfa/gui/builtinViews/fittingView.py", line 130, in OnData
data = dragged_data.split(':')
^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'split'
Detailed steps to reproduce:
Drag and drop some content into fitting window.
Fits involved in EFT format (Edit > To Clipboard > EFT):
Not relevant
Release or development git branch? Please note the release version or commit hash:
v2.59.2
Operating system and version (eg: Windows 10, OS X 10.9, OS X 10.11, Ubuntu 16.10):
Debian 12