mehstation icon indicating copy to clipboard operation
mehstation copied to clipboard

Cannot add platform in mehstation-config

Open ziviani opened this issue 9 years ago • 6 comments

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!

ziviani avatar Apr 04 '16 23:04 ziviani

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!

remeh avatar Apr 05 '16 10:04 remeh

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

ziviani avatar Apr 05 '16 12:04 ziviani

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 avatar Apr 06 '16 10:04 remeh

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?

ziviani avatar Apr 09 '16 02:04 ziviani

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 avatar Apr 12 '16 10:04 remeh

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 ?

remeh avatar Apr 17 '16 16:04 remeh