I was trying to run the freeware game Katawa Shojo, and I cannot run the Katawa Shojo.sh file. One problem is that when the filepath has spaces (it comes in a folder 'Katawa Shojo' to start with) it trunkated it to the first space in the error message. After renaming the folder and file, it does not even give an error message.

I have the same problem with maptools. Hence the pattern with .sh files.

Edit: Tried from the terminal, I got this.

usr@compy:~/Desktop/Games/Katawa Shoujo$ sh Katawa\ Shoujo.sh
Traceback (most recent call last):
  File "Katawa Shoujo.py", line 132, in <module>
    renpy.bootstrap.bootstrap(renpy_base)
  File "/home/usr/Desktop/Games/Katawa Shoujo-linux-x86/renpy/bootstrap.py", line 242, in bootstrap
  File "/home/usr/Desktop/Games/Katawa Shoujo-linux-x86/renpy/__init__.py", line 61, in import_all
  File "/home/usr/Desktop/Games/Katawa Shoujo-linux-x86/renpy/display/scale.py", line 31, in <module>
ImportError: /home/usr/Desktop/Games/Katawa Shoujo/lib/linux-x86/lib/python2.5/_renpy_font.so: undefined symbol: SDL_RWFromFile
Exception exceptions.AttributeError: "'NoneType' object has no attribute 'error'" in <bound method Popen.popen_del of <subprocess.Popen object at 0xf71e0f2c>> ignored
usr@compy:~/Desktop/Games/Katawa Shoujo$ Traceback (most recent call last):
  File "Katawa Shoujo.py", line 132, in <module>
    renpy.bootstrap.bootstrap(renpy_base)
  File "/home/usr/Desktop/Games/Katawa Shoujo-linux-x86/renpy/bootstrap.py", line 170, in bootstrap
  File "/home/usr/Desktop/Games/Katawa Shoujo-linux-x86/renpy/display/presplash.py", line 101, in show
IOError: [Errno 32] Broken pipe
link|improve this question
2  
What are you using to launch the .sh file? – Paul Jan 13 at 0:11
I just double clicked it, right clicking says 'Open' and then the names of text editors. If there is a way to switch the default to something that works well that would be an answer. – spriteless Jan 13 at 0:13
2  
Well you could try running it from a terminal session. cd /path/to/Katawa\ Shojo ./Katawa\ Shojo.sh – Paul Jan 13 at 0:16
1  
I think your assumption about spaces and .sh files is wrong. This game obviously has a bug, or your installation has problems. See: ks.renai.us/viewtopic.php?f=45&t=3331 – slhck Jan 13 at 0:36
Huh. Redownloaded it and now I am going just fine. Thanks y'all for the help. Paul especially thanks for telling me how to get it in terminal with front slash. – spriteless Jan 13 at 0:45
show 1 more comment
feedback

closed as too localized by slhck, studiohack Jan 13 at 0:48

This question is unlikely to ever help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. See the FAQ for guidance on how to improve it.