BGS-Tally
BGS-Tally copied to clipboard
Exception
This exception has been observed by a user running EDMC 6.0.0beta2. It may however be a more general problem, not specific to that version:
Exception in thread BGSTally UI worker:
Traceback (most recent call last):
File "/usr/lib64/python3.13/threading.py", line 1043, in _bootstrap_inner
self.run()
~~~~~~~~^^
File "/usr/lib64/python3.13/threading.py", line 994, in run
self._target(*self._args, **self._kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dvdmuckle/.local/share/EDMarketConnector/plugins/BGS-Tally/bgstally/ui.py", line 490, in _worker
system_tick: str = current_system.get('TickTime')
^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
I also hit this when testing 6.0.0-beta2.
Notes:
- ED not running at all (for at least a day).
- Launch EDMC on Windows; see the above trace.
I changed the code locally to:
current_system: dict|None = current_activity.get_current_system()
system_tick: str = current_system.get('TickTime') if current_system is not None else None