Closed poinck closed 2 years ago
This is a game bug that we've been trying to track down for a few months -- please can you provide us with your EDMC logs and relevant journal files?
We need the relevant Journal file (that points to advice about running ED on a different machine, but contains the relevant information about where the Journal files are) in order to see if this is a game bug, or at least have the example Journal event to run through the code and see where our bug is.
Use the timestamp you have above to find the right one. Thanks.
The timestamp is leading me nowhere, because the error message repeats itself over the last game session. I have attached my complete journal of the same game session.
For the next game session I will set EMDC logging to debug and look out if it happens again.
So this is suggesting that system is null.
Here is a EDMC-debug log from today (it starts somewhere in the middle of today's session, had my terminal buffer set too low):
And for completeness, after restart of EMDC without running the game, debug-log looks like that:
Hmm this is very odd. System in CodexEntry is set. Can't see anything in the other events that might suggest that system is blank.
I wonder if anything could be setting it blank? Can a plugin change the contents of a variable it is passed in through journal_entry?
It seems the problem is NearestDestination
in CodexEntry
event is empty string. I think EDMC just should allow this field to be empty string when sends over EDDN or just remove this field before send.
It seems the problem is
NearestDestination
inCodexEntry
event is empty string. I think EDMC just should allow this field to be empty string when sends over EDDN or just remove this field before send.
Yes, this is a red herring. What we're trying to find is why the EDDN schema validation is saying "you sent an empty string that has to be at least one character long". Unfortunately that check is now causing it to not send the messages with empty NearestDestination
. We'll adjust the check.
Hmm this is very odd. System in CodexEntry is set. Can't see anything in the other events that might suggest that system is blank.
I wonder if anything could be setting it blank? Can a plugin change the contents of a variable it is passed in through journal_entry?
It can change its copy of the variable, absolutely. But we do an explicit copy of the state passed to plugins before passing it into each one. So plugins can't interfere with each other or the 'core' version (unless they actually reach into monitor.py in this case and start fucking with things).
Hi there I've had the same issue about an hr ago, heres the info: Journal.220220134255.01.log The screenshot is the list of object that may have been in system, the ones ticked are the ones I actually found. Check out the one that said 'Not Predicted' that's written by Elite Observatory not me. Hope this helps.
@poinck and @mearmortal both of your Journal files only show the "NearestDestination": ""
case, which is a red herring with respect to what we were looking for. 5.3.1 will change things so the message doesn't trigger in this case (indeed it will only trigger for the strings we know the schema requires to be a non-empty string).
OK Thanks, shame we couldn't help.
Ok, if I see "CodexEntry had empty string"-message again after the 5.3.1 release, I'll provide another debug-log, if that helps.
https://github.com/EDCD/EDMarketConnector/releases/tag/Release%2F5.3.1 has addressed this, auto-updates being enabled Soon[tm].
Relevant logs:
Bug description: I am getting the message "CodexEntry had emtpy string. PLEASE CONTACT THE EDMC DEVELOPERS" on the main window (noticed after last game session), see screenshot. From the log file, the bug seems to come from the Cannon-plugin, but the message irritated me. I will contact them on discord, too.
Steps to reproduce the behavior:
Expected behavior No message "CodexEntry had emtpy string. PLEASE CONTACT THE EDMC DEVELOPERS".
Screenshots:
Additional context Steam and ED are running in a sandboxed environment and EDMC is accessing journals from outside. This has never been a problem.