You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 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
Tenzian
changed the title
[BUG] string index out of range error in fleet_carrier.py
[BUG] string index out of range error in codex.py & fleet_carrier.py
Feb 4, 2021
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
EDMC-Canonn/canonn/codex.py
Lines 1277 to 1278 in 4118a9c
EDMC-Canonn/canonn/fleet_carrier.py
Lines 49 to 50 in 4118a9c
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
From the journal:
The text was updated successfully, but these errors were encountered: