launch error on linux 32bits.

Questions, answers and issues regarding releases.
Post Reply
Lunamanga

launch error on linux 32bits.

Post by Lunamanga »

Hello,

Thanks you for this making but I can't have the honor to play it ! The game doesn't run. I'm on ubuntu 10.10 Maverick Meerkat, 32 bits v.

I downloaded the game today, I uncompressed it and I replaced the .sh by the hotfix. After that I click right button on .sh to give it the permission to launch it as an executable. Ok. To finish, i press "Enter", click on "launch" and.... nothing. I try again and click on "launch in shell", nothing.
I don't know how to do. Did I forget anything ?

Thanks for attention.
User avatar
Esa94
Posts: 381
Joined: Thu Jan 21, 2010 1:42 pm

Re: launch error on linux 32bits.

Post by Esa94 »

Open a terminal, navigate to the directory and run the script from the shell. Post any errors that appear.
(Copying can be done by selecting text, pasting by clicking mouse 3 which is usually your scroll wheel, in case you did not know this)
konflikti
Posts: 57
Joined: Sun Apr 22, 2007 3:22 pm

Re: launch error on linux 32bits.

Post by konflikti »

I'd suggest upgrading your distro. I had problems with KS on old distros but after upgrading to latest it ran fine.
<+konflikti> A22: you are not Batman.
<A22> it's true, batman doesn't even kill people

<!Suriko> I WAS IN THE BATH
Lunamanga

Re: launch error on linux 32bits.

Post by Lunamanga »

Esa94 wrote:Open a terminal, navigate to the directory and run the script from the shell. Post any errors that appear.
(Copying can be done by selecting text, pasting by clicking mouse 3 which is usually your scroll wheel, in case you did not know this)

I tried in a terminal and I have :

exec: 20: ./lib/python: Permission denied

Sorry I'm still a beginner in linux.


At the moment, I can't upgrading my distro I don't have enough memory in my partition, I'm soon going to have to "repartitionner" (I don't know the word in english) correctly my computer...

Thank you for these fast answers !
User avatar
Esa94
Posts: 381
Joined: Thu Jan 21, 2010 1:42 pm

Re: launch error on linux 32bits.

Post by Esa94 »

The verb is "to repartition"

Plus, that seems like there's something wrong with the launcher script. It's not properly chmod +x:ing <ksdir>/lib/python
User avatar
tivasyk
Posts: 4
Joined: Sat Jan 07, 2012 9:50 am

Re: launch error on linux 32bits.

Post by tivasyk »

can't run ks on linux mint debian edition (32 bit), see below for error messages. ks version — [4ls]_katawa_shoujo_[linux-x86][EA1DFB30], system — lmde (201109 xfce), up to date.

Code: Select all

tivasyk@tivasyk_pb:~/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/tivasyk/Katawa Shoujo/renpy/bootstrap.py", line 242, in bootstrap
    renpy.import_all()
  File "/home/tivasyk/Katawa Shoujo/renpy/__init__.py", line 61, in import_all
    import renpy.display.scale # Must be before module.
  File "/home/tivasyk/Katawa Shoujo/renpy/display/scale.py", line 31, in <module>
    import _renpy_font
ImportError: /home/tivasyk/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 0xb71cbe4c>> ignored
tivasyk@tivasyk_pb:~/Katawa Shoujo$ Traceback (most recent call last):
  File "Katawa Shoujo.py", line 132, in <module>
    renpy.bootstrap.bootstrap(renpy_base)
  File "/home/tivasyk/Katawa Shoujo/renpy/bootstrap.py", line 170, in bootstrap
    renpy.display.presplash.show(options.presplash)
  File "/home/tivasyk/Katawa Shoujo/renpy/display/presplash.py", line 101, in show
    sys.stdout.flush()
IOError: [Errno 32] Broken pipe
unfortunately can't try windows version under wine (it's not in the stable reps due to some issues, i guess). will appreciate advice.
User avatar
Esa94
Posts: 381
Joined: Thu Jan 21, 2010 1:42 pm

Re: launch error on linux 32bits.

Post by Esa94 »

tivasyk wrote:can't run ks on linux mint debian edition (32 bit), see below for error messages. ks version — [4ls]_katawa_shoujo_[linux-x86][EA1DFB30], system — lmde (201109 xfce), up to date.

Code: Select all

tivasyk@tivasyk_pb:~/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/tivasyk/Katawa Shoujo/renpy/bootstrap.py", line 242, in bootstrap
    renpy.import_all()
  File "/home/tivasyk/Katawa Shoujo/renpy/__init__.py", line 61, in import_all
    import renpy.display.scale # Must be before module.
  File "/home/tivasyk/Katawa Shoujo/renpy/display/scale.py", line 31, in <module>
    import _renpy_font
ImportError: /home/tivasyk/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 0xb71cbe4c>> ignored
tivasyk@tivasyk_pb:~/Katawa Shoujo$ Traceback (most recent call last):
  File "Katawa Shoujo.py", line 132, in <module>
    renpy.bootstrap.bootstrap(renpy_base)
  File "/home/tivasyk/Katawa Shoujo/renpy/bootstrap.py", line 170, in bootstrap
    renpy.display.presplash.show(options.presplash)
  File "/home/tivasyk/Katawa Shoujo/renpy/display/presplash.py", line 101, in show
    sys.stdout.flush()
IOError: [Errno 32] Broken pipe
unfortunately can't try windows version under wine (it's not in the stable reps due to some issues, i guess). will appreciate advice.
I think I had this issue on Arch some time ago... Which could mean that you have to get an newer version of python or whichever SDL library had that function in it. Is Mint Debian based on testing or stable? Can you enable testing repos if it's stable?
User avatar
tivasyk
Posts: 4
Joined: Sat Jan 07, 2012 9:50 am

Re: launch error on linux 32bits.

Post by tivasyk »

Esa94 wrote:I think I had this issue on Arch some time ago... Which could mean that you have to get an newer version of python or whichever SDL library had that function in it. Is Mint Debian based on testing or stable? Can you enable testing repos if it's stable?
thanks for the quick reply. lmde is based on debian testing; i've enabled backported & unstable repos and upgraded — no go, ks refuses to launch with the same error.

i'm no specialist, but it looks like ks relies on python (2.5?) libraries packaged into te archive with the game… i have version 2.6.7 installed — could this be a problem?..
User avatar
Esa94
Posts: 381
Joined: Thu Jan 21, 2010 1:42 pm

Re: launch error on linux 32bits.

Post by Esa94 »

tivasyk wrote:
Esa94 wrote:I think I had this issue on Arch some time ago... Which could mean that you have to get an newer version of python or whichever SDL library had that function in it. Is Mint Debian based on testing or stable? Can you enable testing repos if it's stable?
thanks for the quick reply. lmde is based on debian testing; i've enabled backported & unstable repos and upgraded — no go, ks refuses to launch with the same error.

i'm no specialist, but it looks like ks relies on python (2.5?) libraries packaged into te archive with the game… i have version 2.6.7 installed — could this be a problem?..
That shouldn't be an issue since the 2.X line is (at least mostly) compatible with 2.5.

I can confirm that KS works with Python 2.7.2 and SDL 1.2.14, which version of SDL do you have installed? You might be able to get a newer one from some PPA (I think Debian supports them?) or development repo.
User avatar
tivasyk
Posts: 4
Joined: Sat Jan 07, 2012 9:50 am

Re: launch error on linux 32bits.

Post by tivasyk »

looks like i have sdl 1.2 (libsdl1.2-debian and a corresponding set of lib's).
antiandrew

Re: launch error on linux 32bits.

Post by antiandrew »

So... I managed to figure out a very very very verryy noob solution to this issue.

Simply go to terminal and type: sudo apt-get install renpy

or yum install renpy on yer distro.

That will fix all the dependencies, after mark the .sh file as executable in properties and then run it. And it will start... eventually. I think.
antiandrew

Re: launch error on linux 32bits.

Post by antiandrew »

So... I managed to figure out a very very very verryy noob solution to this issue.

Simply go to terminal and type: sudo apt-get install renpy

or yum install renpy on yer distro.

That will fix all the dependencies, after mark the .sh file as executable in properties and then run it. And it will start... eventually. I think.
User avatar
tivasyk
Posts: 4
Joined: Sat Jan 07, 2012 9:50 am

Re: launch error on linux 32bits.

Post by tivasyk »

antiandrew wrote:Simply go to terminal and type: sudo apt-get install renpy
=) thanks, will give it a try.
Harlekin

Re: launch error on linux 32bits.

Post by Harlekin »

I have the same problem with Debian 6.0.4 amd64; already installed the 32 bit libs (that solved the problem in Ubuntu) and I also tried to install renpy, but I still get the same error message:

Code: Select all

Traceback (most recent call last):
  File "./Katawa Shoujo.py", line 132, in <module>
    renpy.bootstrap.bootstrap(renpy_base)
  File "[...]/KatawaShoujo/renpy/bootstrap.py", line 242, in bootstrap
    renpy.import_all()
  File "[...]/KatawaShoujo/renpy/__init__.py", line 61, in import_all
    import renpy.display.scale # Must be before module.
  File "[...]/KatawaShoujo/renpy/display/scale.py", line 31, in <module>
    import _renpy_font
ImportError: [...]/KatawaShoujo/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 0xf729ae6c>> ignored
What I do to launch the game: I open a terminal and type "[...]/KatawaShoujo/Katawa\ Shoujo.sh" ( '[...]' is the folder where the game is located :P ).
The splash-screen pops-up for a splitsecond and then the errormessage gets printed.
I am the owner of the files and I have the privileges to execute them on my system (750)

Are there any other possibilities I could try... other then downloading the game for windows and run it with wine? :?
Guest

Re: launch error on linux 32bits.

Post by Guest »

If you want to run the game with the system Ren'Py/Python/etc. you have to run python Katawa Shoujo.py instead of the shell script. The shell script uses the libraries bundled with the game.
Post Reply