To Reproduce
I was in Outotz LS-K d8-3, but of course carriers can move 😁.
I've included the journaled FSSSignalDiscovered events from the time of the error (I'm assuming KNY-75Q is the culprit here)
Expected behavior
fleet carrier names are parsed without error messages 😏
Log Files
2021-02-04 03:14:59.371 - ERROR - plug.notify_journal_entry:322: Plugin "Canonn" failed
Traceback (most recent call last):
File "~/Repositories/EDMarketConnector/plug.py", line 319, in notify_journal_entry
newerror = journal_entry(cmdr, is_beta, system, station, dict(entry), dict(state))
File "~/Library/Application Support/EDMarketConnector/plugins/EDMC-Canonn/load.py", line 190, in journal_entry
return journal_entry_wrapper(cmdr, is_beta, system, this.SysFactionState, this.SysFactionAllegiance,
File "~/Library/Application Support/EDMarketConnector/plugins/EDMC-Canonn/load.py", line 215, in journal_entry_wrapper
this.codexcontrol.journal_entry(
File "~/Library/Application Support/EDMarketConnector/plugins/EDMC-Canonn/canonn/codex.py", line 1164, in journal_entry
self.journal_entry_wrap(
File "~/Library/Application Support/EDMarketConnector/plugins/EDMC-Canonn/canonn/codex.py", line 1278, in journal_entry_wrap
"SignalName")[-4] == '-' and entry.get("SignalName")[-8] == ' ')
IndexError: string index out of range
Exception in thread Thread-101:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "~/Library/Application Support/EDMarketConnector/plugins/EDMC-Canonn/canonn/fleet_carrier.py", line 28, in run
Fleet.process()
File "~/Library/Application Support/EDMarketConnector/plugins/EDMC-Canonn/canonn/fleet_carrier.py", line 50, in process
"SignalName")[-4] == '-' and entry.get("SignalName")[-8] == ' ' and isStation)
IndexError: string index out of range
What is your commander name Tiath
What version are you running 5.23.0 "Farewell Aricebo the End of an Era"
Describe the bug It looks like one of the fleet carriers in system has an unexpected name so https://github.com/canonn-science/EDMC-Canonn/blob/4118a9c8a31bb8377d1d68a825faefd7f8985741/canonn/codex.py#L1277-L1278 and https://github.com/canonn-science/EDMC-Canonn/blob/4118a9c8a31bb8377d1d68a825faefd7f8985741/canonn/fleet_carrier.py#L49-L50 are not able to parse it as it's a shorter string than expected.
To Reproduce I was in
Outotz LS-K d8-3
, but of course carriers can move 😁. I've included the journaled FSSSignalDiscovered events from the time of the error (I'm assumingKNY-75Q
is the culprit here)Expected behavior fleet carrier names are parsed without error messages 😏
Log Files
From the journal: