Release Elite Dangerous Market Connector (EDMC)

Status
Thread Closed: Not open for further replies.
Never mind, I'm tracing through the code now, and it throws away any exception it gets during the version check. Tracking down exactly what that exception is now (in case the 4.0.1.0 code could use an update too). But you'll want to update manually to 4.0.1.0 for now.
 
The -v parameter of EDMC.exe didn't show an available update. Is that correct?
The 3.46 Python 2.7 code was getting an exception (which it silently discards) due to a unicode character in the latest updates file's changelog.

I've edited the \uxd7 (in the blurb about changing EDDB station URLs) to a normal 'x'. It doesn't need to be that 100% correct character in the changelog, and this allows:
Code:
c:\Program Files (x86)\EDMarketConnector>EDMC.exe -v
3.46 (Release 4.0.1.0 is available)
No promises on that not reverting in the next release. Here's hoping all the CLI users get updated before then. It's also entirely possible I'll thank some translator with unicode characters in their name at some point. I'm NOT putting out a Python 2.7 3.47 just for this :p .
 
I forgot to ask, from what version of EDMC.exe ? It's possible the 3.46 code won't treat the newer version numbering correctly.
Was the 4.0.
EDMC4.JPG
 
4.0.1.0 broke everything. CORRUPT LAST JOURNAL FILE BROKE EVERYTHING. Renamed EDMC folder, Deleted Registry settings, uninstalled/reinstalled. Python 3.7.8 installed.
Nothing works, everything greyed out.

2020-07-14 22_57_34-E_D Market Connector.jpg

2020-07-14 22_57_46-Settings.jpg

2020-07-14 22_57_50-Settings.jpg

2020-07-14 22_57_56-Settings.jpg


Reverted to EDMarketConnector_win_346 and still broken.
 
Last edited:
4.0.1.0 broke everything. Renamed EDMC folder, Deleted Registry settings, uninstalled/reinstalled. Python 3.7.8 installed.
Nothing works, everything greyed out.


Reverted to EDMarketConnector_win_346 and still broken.
I had this. I restarted my machine, restarted Elite, logged in and got into the game, then restarted EDMC and it fixed itself. Might work for you.
 
I had this. I restarted my machine, restarted Elite, logged in and got into the game, then restarted EDMC and it fixed itself. Might work for you.

Did that and a system restore. Still broken (v346). It's like it can't see my journal files. It is set properly.
It works fine on my other PC.

Untitled.png


EDIT: [UPDATE-SOLVED]

Found the problem! My last journal entry file was defective. It was missing the all important { "timestamp":"2020-07-14T21:36:45Z", "event":"Commander", "Name":"CMDR X }
I think EDMC always reads the last one so it came up empty. Deleting the file fixed everything. Installed EDMC v4.0.1.0 and plugin updates and all's cool.

Strange that this happened right when upgrading to a major EDMC version. Sure sent me on a wild goose chase. Stupid computers.

For EDR users make sure you install the latest plugins:
EDMCOverlay
ED Recon

X.
 
Last edited:
EDIT: [UPDATE-SOLVED]

Found the problem! My last journal entry file was defective. It was missing the all important { "timestamp":"2020-07-14T21:36:45Z", "event":"Commander", "Name":"CMDR X }
I think EDMC always reads the last one so it came up empty. Deleting the file fixed everything. Installed EDMC v4.0.1.0 and plugin updates and all's cool.
We could possibly stand to make EDMC a bit more robust in these situations.

I also do think the 'New User Experience' could use some love (I've at least documented some of it now).
 
We could possibly stand to make EDMC a bit more robust in these situations.

I also do think the 'New User Experience' could use some love (I've at least documented some of it now).

Yea, like if it can't find your name in the last journal file it will check the one before it? lol
That would have saved me about 4 hours of headache for sure. I almost gave up and
uninstalled it, but being a "good" hacker I knew there had to be a solution. 😁

May I suggest adding links to the most popular plugins available on the plugins page?
Always pointing to the latest version. It is a bit of a hassle hunting down all the latest updates.
Or even better, installing them automatically with the main program update. Just a thought..
Thx.
X.
 
Interesting ... I did the update from the same version of EDMC on my gaming PC and today laptop (unsure if that was 4.0 or previous last beta). On my laptop was after update application icon correctly displayed on main panel. Doing the same yesterday on my gaming PC it ended with "white" icon for edmc which I needed remove from main panel and then reinsert shortcut. I really would like to know what can cause this.

Details: deleting icons cache file was not working and also I was unable restore edmc icon look with pointing shortcut to icon file. What worked was remove icon completely from main panel, then copy shortcut from "Start" to desktop and move it into main panel.
 
Last edited:
I've had EDMC icons disapear also over the past year or so. Same PITA routine to get it back.
Yes, the way the install currently works is a royal PITA for shortcut icons. Mine comes and goes seemingly randomly as well. Unfortunately we've more pressing things to address currently. I shall be looking at the installer stuff in general though, I know at least one user complained about not being able to choose install location up front (you can only run the install manually to specifty a different location).
 
Yes, the way the install currently works is a royal PITA for shortcut icons. Mine comes and goes seemingly randomly as well. Unfortunately we've more pressing things to address currently. I shall be looking at the installer stuff in general though, I know at least one user complained about not being able to choose install location up front (you can only run the install manually to specifty a different location).

Thx for the manual install link. I NEVER install anything into C:\Program Files unless I have no other choice. Long file/folder names are still an issue for Windows in 2020.
 
Yea, like if it can't find your name in the last journal file it will check the one before it? lol
That would have saved me about 4 hours of headache for sure. I almost gave up and
uninstalled it, but being a "good" hacker I knew there had to be a solution. 😁
To start with it'll be an attempt at more clearly documenting this. After that I might look into making the 'Cmdr' string a clickable '<<Unknown>>' that links to said documentation. Then we could start looking at actual code changes (which will need a lot of testing, hence my hesitation to just dive straight into a change).
May I suggest adding links to the most popular plugins available on the plugins page?
Always pointing to the latest version. It is a bit of a hassle hunting down all the latest updates.
Or even better, installing them automatically with the main program update. Just a thought..
You mean like on Available plugins - Confirmed working under Python 3.7 ? It's up to plugin authors to:
  1. Request listing on that page.
  2. Tell us the best URL to link to.
  3. Then on that URL make it clear what the latest version is and how to install it.
We do have a big 'TODO' project around Plugins though. If it ever comes to fruition it might also include a mechanism for plugin updating. Perhaps even something for plugin discovery and installation, but no promises. There's been a lot of work put into getting to this version 4 release, and we have 61 open issues currently (varying between old niggle bugs, enhancement requests and documentation updates), so it's going to take some time.
 
Latest version from today (4.0.1.0) no longer works. It comes up, but all my Settings are blank (it's lost my Inara key and EDSM key both), and the Update button is greyed out. The Status menu does nothing. Save Raw Data gives a "Missing Credentials" error. And installing the update deleted the usual icon from both my taskbar and the start menu (I was able to put them back only after rebooting my machine).
I've rebooted, restarted ED, restarted EDMC, and no joy.
Any ideas?
Edit. I restarted my machine again, and ED again, and EDMC again, and suddenly it worked. Strange. Anyway seems to be ok now. So..ignore this post :)

Just read a bit back in this thread and noticed this. I think you had the same last journal file issue I did (no CMDR name stamp).
But when you relaunched ED a few times a new, good journal log was created and EDMC was happy again.
X.
 
As you're obviously on a roll at the moment I will mention a laughingly minor issue to do with the position of the pop up window asking if you want to update.

EDMC is open in the bottom left corner of my screen, with the bottom of the EDMC window adjacent to the top of the taskbar. When the pop up window appears asking if I want to update it is partially obscured (the bottom bit with the button on) by the taskbar. Could you get the code to ensure any pop up windows do not occupy the same space as the taskbar?
 
As you're obviously on a roll at the moment I will mention a laughingly minor issue to do with the position of the pop up window asking if you want to update.

EDMC is open in the bottom left corner of my screen, with the bottom of the EDMC window adjacent to the top of the taskbar. When the pop up window appears asking if I want to update it is partially obscured (the bottom bit with the button on) by the taskbar. Could you get the code to ensure any pop up windows do not occupy the same space as the taskbar?
We can't do anything about that without horrible, horrible hacks, if it's even possible. The update checking (and download, and installing) on Windows is done with the WinSparkle library. We just load the DLL, poke a few functions to configure it, then it does its own thing. The first EDMC knows about WinSparkle having found an update is when it's asked to shutdown so as to allow the upgrade.
 
Status
Thread Closed: Not open for further replies.
Back
Top Bottom