Skip to content
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

Cannot add platform in mehstation-config #7

Open
ziviani opened this issue Apr 4, 2016 · 6 comments
Open

Cannot add platform in mehstation-config #7

ziviani opened this issue Apr 4, 2016 · 6 comments

Comments

@ziviani
Copy link

ziviani commented Apr 4, 2016

Hello,
I had this problem in mehstation-config:
pi @ RPI : ~ / mehstation / mehstation -config $ ./mehstation-config
libEGL warning: DRI2 : failed to authenticate
Database : ' /home/pi/.config/mehstation/database.db ' opened .
As you can see, the file "database.db" was opened successfully but the add platform button is not available to me.
Have you ever seen this error?
Anyway, I'd like to thank you for your work in mehstation.
Best regards!

@remeh remeh added the bug label Apr 5, 2016
@remeh
Copy link
Owner

remeh commented Apr 5, 2016

Hi, thanks for the feedback!

Do you use a build from sources or the 1.0 release available on the website? Also, can you tell me which Rasp and which Linux distro is setup on the Raspberry please?
I ask this because the only thing I see from the logs is that there is some change in the sources > 1.0 which could have provoked this bug.

I'll investigate carefully this part of the code to see what the problem can be and I'll come back to you!

@ziviani
Copy link
Author

ziviani commented Apr 5, 2016

Hi friend!
It's a Raspberry Pi 2 with Retropie (Raspbian Jessie)
I just followed this guide to compile mehstation.
https://github.com/remeh/mehstation/wiki/Compilation-guide-on-Raspberry-Raspbian-Jessie

@remeh
Copy link
Owner

remeh commented Apr 6, 2016

Fixed! Indeed, due to recent changes, there was a bug in the sources of mehstation-config (1.0 was not impacted).

To fix the problem on your side : you will have to re-do the chapter: https://github.com/remeh/mehstation/wiki/Compilation-guide-on-Raspberry-Raspbian-Jessie#mehstation-config (or if you know what you're doing, just pulling the last changes and rebuild mehstation-config)

Thanks for your contribution!

Edit: I've push another change: it should now automatically open the database.db file at startup if the file is available in the correct directory.

@remeh remeh added this to the 1.1 milestone Apr 6, 2016
@ziviani
Copy link
Author

ziviani commented Apr 9, 2016

Thanks a lot Remeh!
I rebuild the mehstation-config and it really fixed the add platform problem and really opened the database.db automatically, and open a platform that I previously added:
Database: '/home/pi/.config/mehstation/database.db' opened.
Platform "mame-mame4all" loaded from DB.
The problem now occurs when I try to import from emulatonstation.
It shows me the message below after the import button was pressed, but it does not import from emulationstation.. nor a mistake showed up
("-es", "/home/pi/.emulationstation/gamelists/mame-mame4all/gamelist.xml", "-meh-db", "/home/pi/.config/mehstation/database.db", "-meh-platform", "2")
Do you have an ideia why it was happened?

@remeh
Copy link
Owner

remeh commented Apr 12, 2016

Weird, I've tried it right now and it works well with my test files. I need to look more deeply and with more complex ES gamelist.xml. I'll come back to you!

@remeh
Copy link
Owner

remeh commented Apr 17, 2016

Hi ziviani,
I didn't successfully reproduce your error, so, what we can do:

  • first, check that your gamelist.xml indeed contains useful data that mehstation-config can import,
  • if it does, would you agree to send it to me for further debugging ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants