-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating FDevIDs on linux #2251
Comments
It's most likely related to this:
I can look at it later today; it's too early: my thought right now is, the package installs the files owned by root, but the updater will be run by a regular user, how could we securely allow updates? |
I just changed the version number and the sha256sum to match the release. It seems to me like EDMC is trying to write to |
Yes, I'm of the opinion that trying to maintain "remote repo has a newer file" files into the install location is a mistake. I think I might have decided:
Windows users will likely see this error too the next time FDevIDs has a newer version of the file(s). I know I certainly never ran EDMarketConnector.exe as an Admin level account, see: https://github.com/EDCD/EDMarketConnector/wiki/Troubleshooting#i-ran-the-program-with-quot-run-as-administrator-quot-and |
Ah, so I'm probably wrong there and it does sound like an EDMC issue :) @3nternamehere while you wait, if you don't want to stay on 5.10.x, you could run from source instead. You could also create/chown/chmod |
@chennin My very hacky workaround was to symlink |
Ah the joy of things that never showed up in beta testing. I didn't think
it would be an issue but I suppose I also didn't consider who owns files
under Linux (as I don't have a test env for that). It appears like it
*should* work fine on Windows (at least from my testing), but I will double
check. The idea was to lessen the number of times we need to put out a
patch release simply because two lines in an fdevid file were updated.
That being said, I like the ideas of putting the updated files in the same
level as Plugins. I'll make that change tonight, do any of you want to be
pinged when the branch is ready for testing to ensure it works as expected?
Thank you all for the report. I'll put some work into it tonight and
hopefully have a fix out the door Saturday.
|
I'm also looking into it, but I'm not familiar with the project and also not experienced with programming in general. Most of the coding I did in the past was for data analysis, so mostly just math stuff and reading data from CSVs. But I could of course at least help with testing. Edit: Edit2: |
I'm like 90% sure you're right, but can't test while I'm at work (darn
gainful employment). If it's that simple might be able to have this out the
door tonight.
|
That will work so long as github is reachable at startup. To avoid issues with that it still needs that initial copy (hey, maybe this is where core code starts using This is ... almost ... a Plugins API breaking change, but because the "distribution" copy will still be in the old location, just possibly out of date, it isn't. |
All I can say is, it worked for me and the FDevIDs are stored in |
I can help test as well |
@3nternamehere See how this works and if this progresses |
@Rixxan This seems to work for me without problem. FDevIDs are stored in Debug-log: Looking through the debug-log, this seems a bit weird to me: |
Deployed in 5.11.1. Considering matter resolved. |
Please complete the following information:
Describe the bug
I've built EDMC from source by editing the PKGBUILD from the AUR and when I try to run it, it fails when updating the FDevIDs with the following error:
ERROR - 72370:124063827822400:72370 EDMarketConnector.__main__:2229: EDMC Critical Error: [Errno 13] Permission denied: '/usr/lib/edmarketconnector/FDevIDs'
To Reproduce
Expected behavior
The application should start successfully.
Additional Information
The error also occours with all plugins disabled.
Please Confirm the Following...
Logs
EDMarketConnector-debug.log
The text was updated successfully, but these errors were encountered: