RetroPie-Manager web app (Recalbox-Manager fork/mod)
-
Pull request merged.
I tried to as you suggested.
I have a directory .\mamelibretro and I created a simlynk .\mame-libretrodrwxr-xr-x 3 pi pi 4096 Jun 21 21:35 mamelibretro lrwxrwxrwx 1 pi pi 13 Jul 2 13:42 mame-libretro -> mamelibretro/
The django systems view is now giving the same error it does when you keep the folder names with the dash char
NoReverseMatch at /systems/ Reverse for 'roms-list' with arguments '()' and keyword arguments '{u'system': 'mame-libretro'}' not found. 1 pattern(s) tried: ['systems/roms/(?P<system>\\w+)/$'] Request Method: GET Request URL: http://192.168.178.26:8000/systems/ Django Version: 1.8.13 Exception Type: NoReverseMatch Exception Value: Reverse for 'roms-list' with arguments '()' and keyword arguments '{u'system': 'mame-libretro'}' not found. 1 pattern(s) tried: ['systems/roms/(?P<system>\\w+)/$'] Exception Location: /home/pi/RetroPie-Manager/local/lib/python2.7/site-packages/django/core/urlresolvers.py in _reverse_with_prefix, line 495 Python Executable: /home/pi/RetroPie-Manager/bin/python Python Version: 2.7.9 Python Path: ['/home/pi/RetroPie-Manager', '/home/pi/RetroPie-Manager/lib/python2.7', '/home/pi/RetroPie-Manager/lib/python2.7/plat-arm-linux-gnueabihf', '/home/pi/RetroPie-Manager/lib/python2.7/lib-tk', '/home/pi/RetroPie-Manager/lib/python2.7/lib-old', '/home/pi/RetroPie-Manager/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-arm-linux-gnueabihf', '/usr/lib/python2.7/lib-tk', '/home/pi/RetroPie-Manager/local/lib/python2.7/site-packages', '/home/pi/RetroPie-Manager/lib/python2.7/site-packages'] Server time: Sat, 2 Jul 2016 13:42:33 +0000
I have to find out why and if it's possible to fix the error
-
Clearly it's not a problem python has listing the directories.
I did some tests and the test-dir is listed in the array.print(existing_sys)
[('psx', 'psx'), ('fds', 'fds'), ('atarilynx', 'atarilynx'), ('test-dir', 'test-dir'), ('fba', 'fba'), ('zxspectrum', 'zxspectrum'), ('segacd', 'segacd'), ('genesis', 'genesis'), ('gba', 'gba'), ('n64', 'n64'), ('sega32x', 'sega32x'), ('arcade', 'arcade'), ('ngp', 'ngp'), ('sg1000', 'sg1000'), ('megadrive', 'megadrive'), ('mamelibre tro', 'mamelibretro'), ('psp', 'psp'), ('snes', 'snes'), ('mame4all', 'mame4all'), ('atari7800', 'atari7800'), ('gbc', 'gbc'), ('nes', 'nes'), ('gamegear', 'gamegear') , ('pcengine', 'pcengine'), ('gb', 'gb'), ('neogeo', 'neogeo'), ('ngpc', 'ngpc'), ('mastersystem', 'mastersystem'), ('amstradcpc', 'amstradcpc'), ('atari2600', 'atari2 600'), ('msx', 'msx'), ('vectrex', 'vectrex')]I have to understand better that reverse match section
-
@Botolo genesis is a symlink and is present too. The problem is neither the dash nor the symlink.
-
@meleu said in Recalbox Manager port:
@Botolo genesis is a symlink and is present too. The problem is neither the dash nor the symlink.
It was indeed the dash.
The problem was in the urls.py regex that didn't match the name with "-".Now I think it's working. Can you try it?
-
@Botolo said in Recalbox Manager port:
The problem was in the urls.py regex that didn't match the name with "-".
Do you mean no need for those annoying renaming process?! Great!!! :D
Now I think it's working. Can you try it?
I'm away from my rasp, but I'll try it this evening. :-)
-
@meleu said in Recalbox Manager port:
@Botolo said in Recalbox Manager port:
The problem was in the urls.py regex that didn't match the name with "-".
Do you mean no need for those annoying renaming process?! Great!!! :D
Now I think it's working. Can you try it?
I'm away from my rasp, but I'll try it this evening. :-)
And of course another issue come up :D
With the new regex the form seems unable to delete the files.It's a never ending job :/
-
Bug fixed. I hope
-
@Botolo another Pull Request on README. Check it out. :-)
-
@Botolo just out of curiosity how much overhead does this tool have?
-
@meleu said in Recalbox Manager port:
@Botolo another Pull Request on README. Check it out. :-)
Merged, thanks :)
-
@herb_fargus said in Recalbox Manager port:
@Botolo just out of curiosity how much overhead does this tool have?
I'll check the top command later
-
@Botolo said in Recalbox Manager port:
@herb_fargus said in Recalbox Manager port:
@Botolo just out of curiosity how much overhead does this tool have?
I'll check the top command later
I'd say almost nothing
-
@Botolo yeah I just tested it and it's very lightweight. Once we sort out the repository stuff we can add some things like the runcommand log. A few icon changes, maybe the colours too. I can get a working module that will automate the install somewhat and we can throw it on zerojays retropie-extra extra repository
-
@herb_fargus said in Recalbox Manager port:
@Botolo yeah I just tested it and it's very lightweight. Once we sort out the repository stuff we can add some things like the runcommand log. A few icon changes, maybe the colours too. I can get a working module that will automate the install somewhat and we can throw it on zerojays retropie-extra extra repository
Sounds good.
I'd like to add a syntax JS to the editor too.Do you think we should get rid of the original recalbox variables?
-
@Botolo said in Recalbox Manager port:
@herb_fargus said in Recalbox Manager port:
@Botolo yeah I just tested it and it's very lightweight. Once we sort out the repository stuff we can add some things like the runcommand log. A few icon changes, maybe the colours too. I can get a working module that will automate the install somewhat and we can throw it on zerojays retropie-extra extra repository
Do you think we should get rid of the original recalbox variables?
I think yes. I'll try to do it tonight.
-
I found a problem. The RetroPie-Manager isn't able to show subdirs in ROMs directories.
For example, my/home/pi/RetroPie/roms/nes
has the following subdirs:
0-9/
a/
b/
c/
d/
etcetera...When I open the NES' ROMs dir in RetroPie-Manager, it's empty.
-
@meleu said in Recalbox Manager port:
I found a problem. The RetroPie-Manager isn't able to show subdirs in ROMs directories.
For example, my/home/pi/RetroPie/roms/nes
has the following subdirs:
0-9/
a/
b/
c/
d/
etcetera...When I open the NES' ROMs dir in RetroPie-Manager, it's empty.
I know, but this could be tricky to solve since that module has been designed for a single level folder structure.
-
@Botolo dude, you and you're friends are amazing!
-
@Redstoner said in Recalbox Manager port:
@Botolo dude, you and you're friends are amazing!
Thanks. I'm happy @meleu and @herb_fargus wanted to help :)
-
Hey guys!
A small update:
A did a small script to simplify the commands to start/stop the RetroPie-Manager.
Take a look at https://github.com/botolo78/RetroPie-Manager again ;-)
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.