RetroPie / RetroPie-Setup

Shell script to set up a Raspberry Pi/Odroid/PC with RetroArch emulator and various cores
Other
10.02k stars 1.38k forks source link

Source Based: Configuring ANY emulator fails #425

Closed nilsbyte closed 10 years ago

nilsbyte commented 10 years ago

Tested with a fresh raspbian image, upgraded and updated.

Following selection in 'Source-based INSTALLATION':

DEselected:

100 AdvMame 102 Macintosh emulator 104 Amstrad CPC emulator 107 Duke3D Port 115 Apple 2 emulator Linapple 116 MAME emulator MAME4All-Pi 120 FBA emulator PiFBA 200 Cave Story LibretroCore 201 Doom LibretroCore 202 FBA LibretroCore 205 MAME LibretroCore

All OTHER packages selected.

Looks like the 'configuring' part of each emulator wants to add the system to ES (is that correct?) when its not yet installed. How to solve this? Install ES as first component, no matter which packages were chosen by the user?

= = = = = = = = = = = = = = = = = = = = =
Configuring Atari 800 emulator
= = = = = = = = = = = = = = = = = = = = =

Did not find needed package(s): python-lxml. I am trying to install them now.
Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
  python-lxml-dbg
The following NEW packages will be installed:
  python-lxml
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,189 kB of archives.
After this operation, 3,543 kB of additional disk space will be used.
Get:1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main python-lxml armhf 2.3.2-1+deb7u1 [1,189 kB]
Fetched 1,189 kB in 1s (941 kB/s)
Selecting previously unselected package python-lxml.
Unpacking python-lxml (from .../python-lxml_2.3.2-1+deb7u1_armhf.deb) ...
Setting up python-lxml (2.3.2-1+deb7u1) ...
Successfully installed package(s): python-lxml.
Cloning into '/opt/retropie/supplementary/ESConfigEdit'...
remote: Counting objects: 7, done.
remote: Total 7 (delta 0), reused 2 (delta 0)
Traceback (most recent call last):
  File "/opt/retropie/supplementary/ESConfigEdit/esconfedit.py", line 291, in <module>
    systemlist.loadSystems(args.inputfile, args.dontstop)
  File "/opt/retropie/supplementary/ESConfigEdit/esconfedit.py", line 55, in loadSystems
    emptyfile = open(sourcefile, "w")
IOError: [Errno 2] No such file or directory: '/etc/emulationstation/es_systems.cfg'
= = = = = = = = = = = = = = = = = = = = =
Configuring DOS Emulator Dosbox
= = = = = = = = = = = = = = = = = = = = =

Traceback (most recent call last):
  File "/opt/retropie/supplementary/ESConfigEdit/esconfedit.py", line 291, in <module>
    systemlist.loadSystems(args.inputfile, args.dontstop)
  File "/opt/retropie/supplementary/ESConfigEdit/esconfedit.py", line 55, in loadSystems
    emptyfile = open(sourcefile, "w")
IOError: [Errno 2] No such file or directory: '/etc/emulationstation/es_systems.cfg'
= = = = = = = = = = = = = = = = = = = = =
Configuring ZXSpectrum emulator FBZX
= = = = = = = = = = = = = = = = = = = = =

Traceback (most recent call last):
  File "/opt/retropie/supplementary/ESConfigEdit/esconfedit.py", line 291, in <module>
    systemlist.loadSystems(args.inputfile, args.dontstop)
  File "/opt/retropie/supplementary/ESConfigEdit/esconfedit.py", line 55, in loadSystems
    emptyfile = open(sourcefile, "w")
IOError: [Errno 2] No such file or directory: '/etc/emulationstation/es_systems.cfg'
= = = = = = = = = = = = = = = = = = = = =
Configuring ZXSpectrum emulator Fuse
= = = = = = = = = = = = = = = = = = = = =

Traceback (most recent call last):
  File "/opt/retropie/supplementary/ESConfigEdit/esconfedit.py", line 291, in <module>
    systemlist.loadSystems(args.inputfile, args.dontstop)
  File "/opt/retropie/supplementary/ESConfigEdit/esconfedit.py", line 55, in loadSystems
    emptyfile = open(sourcefile, "w")
IOError: [Errno 2] No such file or directory: '/etc/emulationstation/es_systems.cfg'
= = = = = = = = = = = = = = = = = = = = =
Configuring NeoGeo emulator GnGeoPi
= = = = = = = = = = = = = = = = = = = = =

Traceback (most recent call last):
  File "/opt/retropie/supplementary/ESConfigEdit/esconfedit.py", line 291, in <module>
    systemlist.loadSystems(args.inputfile, args.dontstop)
  File "/opt/retropie/supplementary/ESConfigEdit/esconfedit.py", line 55, in loadSystems
    emptyfile = open(sourcefile, "w")
IOError: [Errno 2] No such file or directory: '/etc/emulationstation/es_systems.cfg'
= = = = = = = = = = = = = = = = = = = = =
Configuring GameBoy Advance emulator
= = = = = = = = = = = = = = = = = = = = =

Traceback (most recent call last):
  File "/opt/retropie/supplementary/ESConfigEdit/esconfedit.py", line 291, in <module>
    systemlist.loadSystems(args.inputfile, args.dontstop)
  File "/opt/retropie/supplementary/ESConfigEdit/esconfedit.py", line 55, in loadSystems
    emptyfile = open(sourcefile, "w")
IOError: [Errno 2] No such file or directory: '/etc/emulationstation/es_systems.cfg'
= = = = = = = = = = = = = = = = = = = = =
Configuring Atari emulator Hatari
= = = = = = = = = = = = = = = = = = = = =

Traceback (most recent call last):
  File "/opt/retropie/supplementary/ESConfigEdit/esconfedit.py", line 291, in <module>
    systemlist.loadSystems(args.inputfile, args.dontstop)
  File "/opt/retropie/supplementary/ESConfigEdit/esconfedit.py", line 55, in loadSystems
    emptyfile = open(sourcefile, "w")
IOError: [Errno 2] No such file or directory: '/etc/emulationstation/es_systems.cfg'
= = = = = = = = = = = = = = = = = = = = =
Configuring Intellivision emulator
= = = = = = = = = = = = = = = = = = = = =

Traceback (most recent call last):
  File "/opt/retropie/supplementary/ESConfigEdit/esconfedit.py", line 291, in <module>
    systemlist.loadSystems(args.inputfile, args.dontstop)
  File "/opt/retropie/supplementary/ESConfigEdit/esconfedit.py", line 55, in loadSystems
    emptyfile = open(sourcefile, "w")
IOError: [Errno 2] No such file or directory: '/etc/emulationstation/es_systems.cfg

I could go on but i think thats unneccessary as the error is kind of identical.

joolswills commented 10 years ago

I have committed a fix for this above. Please try with the latest script.

petrockblog commented 10 years ago

This has also been addressed in a recent commit for ESConfigEdit, see https://github.com/petrockblog/ESConfigEdit/commit/1dbdd683621d3ede1b1c9c6690309a615ee7fcb0. This issue should be gone now.

nilsbyte commented 10 years ago

How recent? I cloned the script yesterday 08-07-14 at 8 PM. Your commit seems to be older.

joolswills commented 10 years ago

his fix should have sorted it (mine shouldn't be needed). However since we have both, please try again and let us know how you get on. thanks.

joolswills commented 10 years ago

@petrockblog 's commit may have been pushed after the time it was made (it uses the time the commit was made locally, not what time it was pushed to github)

nilsbyte commented 10 years ago

Looks like it works now, thanks!