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
A user had started a mission loading events from elog which had created an instrument 'Other - MULTINET', but then later switched to loading events from an Andes report which created the instrument 'Net - multinet'. This caused a conflict
File "C:\DEV\pythonProjects\dart2\core\parsers\andes.py", line 145, in parse_events
instrument = instruments.get(name__iexact=instrument_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\DEV\pythonProjects\dart2\dart_env\Lib\site-packages\django\db\models\query.py", line 640, in get
raise self.model.MultipleObjectsReturned(
core.models.Instrument.MultipleObjectsReturned: get() returned more than one Instrument -- it returned 2!
To resolve the issue I've added a check to check the instrument type along with the instrument name in the core.parsers.andes.parse_event() function
The text was updated successfully, but these errors were encountered:
upsonp
added a commit
to upsonp/dart
that referenced
this issue
Jun 25, 2024
A user had started a mission loading events from elog which had created an instrument 'Other - MULTINET', but then later switched to loading events from an Andes report which created the instrument 'Net - multinet'. This caused a conflict
To resolve the issue I've added a check to check the instrument type along with the instrument name in the core.parsers.andes.parse_event() function
The text was updated successfully, but these errors were encountered: