It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
I installed it through Lutris on Ubuntu 22.04 and I got this when trying to run it:

I'm sorry, but an uncaught exception occurred.

While running game code:
File "renpy/common/00start.rpy", line 287, in script
python:
ScriptError: could not find label 'start'.

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "/home/letsplaysomegames/Games/gog/slay-the-princess/game/renpy/bootstrap.py", line 277, in bootstrap
renpy.main.main()
File "/home/letsplaysomegames/Games/gog/slay-the-princess/game/renpy/main.py", line 660, in main
run(restart)
File "/home/letsplaysomegames/Games/gog/slay-the-princess/game/renpy/main.py", line 146, in run
renpy.execution.run_context(True)
File "/home/letsplaysomegames/Games/gog/slay-the-princess/game/renpy/execution.py", line 938, in run_context
context.run()
File "renpy/common/00start.rpy", line 287, in script
python:
File "/home/letsplaysomegames/Games/gog/slay-the-princess/game/renpy/script.py", line 927, in lookup
raise ScriptError("could not find label '%s'." % str(original))
ScriptError: could not find label 'start'.

Linux-6.2.0-34-generic-x86_64-with-glibc2.35 x86_64
Ren'Py 8.0.3.22090809

Tue Oct 24 19:41:39 2023


Was it not tested on Linux???
Post edited October 25, 2023 by ast486
same happens if emulated to windows 10 through wine.
avatar
ast486: I installed it through Lutris on Ubuntu 22.04 and I got this when trying to run it:

I'm sorry, but an uncaught exception occurred.

While running game code:
File "renpy/common/00start.rpy", line 287, in script
python:
ScriptError: could not find label 'start'.

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "/home/letsplaysomegames/Games/gog/slay-the-princess/game/renpy/bootstrap.py", line 277, in bootstrap
renpy.main.main()
File "/home/letsplaysomegames/Games/gog/slay-the-princess/game/renpy/main.py", line 660, in main
run(restart)
File "/home/letsplaysomegames/Games/gog/slay-the-princess/game/renpy/main.py", line 146, in run
renpy.execution.run_context(True)
File "/home/letsplaysomegames/Games/gog/slay-the-princess/game/renpy/execution.py", line 938, in run_context
context.run()
File "renpy/common/00start.rpy", line 287, in script
python:
File "/home/letsplaysomegames/Games/gog/slay-the-princess/game/renpy/script.py", line 927, in lookup
raise ScriptError("could not find label '%s'." % str(original))
ScriptError: could not find label 'start'.

Linux-6.2.0-34-generic-x86_64-with-glibc2.35 x86_64
Ren'Py 8.0.3.22090809

Tue Oct 24 19:41:39 2023

Was it not tested on Linux???
It's been tested on Linux (have checked the Linux-native release builds on a Steam Deck and done a full playthrough), but possible the folks at GOG missed something during their review period. Are you able to manually launch the .sh executable in the install directory?

Will look into this further first thing tomorrow morning if it's still an issue, and sorry for the hassle!
avatar
ast486: I installed it through Lutris on Ubuntu 22.04 and I got this when trying to run it:

I'm sorry, but an uncaught exception occurred.

While running game code:
File "renpy/common/00start.rpy", line 287, in script
python:
ScriptError: could not find label 'start'.

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "/home/letsplaysomegames/Games/gog/slay-the-princess/game/renpy/bootstrap.py", line 277, in bootstrap
renpy.main.main()
File "/home/letsplaysomegames/Games/gog/slay-the-princess/game/renpy/main.py", line 660, in main
run(restart)
File "/home/letsplaysomegames/Games/gog/slay-the-princess/game/renpy/main.py", line 146, in run
renpy.execution.run_context(True)
File "/home/letsplaysomegames/Games/gog/slay-the-princess/game/renpy/execution.py", line 938, in run_context
context.run()
File "renpy/common/00start.rpy", line 287, in script
python:
File "/home/letsplaysomegames/Games/gog/slay-the-princess/game/renpy/script.py", line 927, in lookup
raise ScriptError("could not find label '%s'." % str(original))
ScriptError: could not find label 'start'.

Linux-6.2.0-34-generic-x86_64-with-glibc2.35 x86_64
Ren'Py 8.0.3.22090809

Tue Oct 24 19:41:39 2023

Was it not tested on Linux???
avatar
blacktabbygames: It's been tested on Linux (have checked the Linux-native release builds on a Steam Deck and done a full playthrough), but possible the folks at GOG missed something during their review period. Are you able to manually launch the .sh executable in the install directory?

Will look into this further first thing tomorrow morning if it's still an issue, and sorry for the hassle!
ty for getting back to me.
doin reinstall
I am experiencing the same issue on Linux Mint 21.2

I am unable to run from the .sh in the game folder. I get the same issue whether installed via Lutris, or manually from the GoG install file.
For me it works in Kubuntu 22.04, Linux 5.15.0-83-generic, Python 3.10.12. I installed via the regular GOG offline installer.

I have the following observations:

1. From the installation directory (../Slay the Princess/)
+ Running ./start.sh launches Slay the Princess without issues.

2. From the "game" folder in the installation directory (../Slay the Princess/game/)
+ Running ./SlaythePrincess.sh launches Slay the Princess without issues.
- However, running "python3 SlaythePrincess.py" gives me a bunch of errors similar to the ones in OP's comment and complains about missing Python packages. My guess is that we're not supposed to use the python file to launch the game, but Lutris is trying to do it anyway and that's why there are errors.

3. Since I noticed SlaythePrincess.exe file is also present in ../Slay the Princess/game/
+ Added SlaythePrincess.exe to Steam as a non-Steam game and launched it using Proton 8.0-4. The game loaded without issues.

I hope this helps!

_______

Note: I'm not the dev for Slay the Princess, but for another game. It's just a how the GOG forums work.
Post edited October 25, 2023 by miketsukamibo
So to update after reinstalls:

Running either the start or direct game .sh did the same thing.

Running the game emulated did the same thing

I talked to Tony (the developer) on their discord the other night and gave him my system specs.
He's talking to the Gog people about it.
Post edited October 25, 2023 by ast486
I saw the game updated the linux installer to 1.0e, so I tried installing it again.
Same bug.

I d/l'ed the manual windows installer (which is at version 1.0d) and lo and behold it worked!
Something seriously wrong with the Linux installer!
Post edited October 29, 2023 by ast486
Was looking for a solution to this as well and saw another update (Linux 1.0f) so I decided to try it out to see if it fixes this.

I tried both Lutris and manually installing from a terminal. When installed manually, using the same offline installer, the game starts fine. However, when installed via Lutris's installer scripts something seems to go wrong in the extraction process and I get the same errors with 1.0d through 1.0f.

In short, try to run the installer script through the terminal and afterwards add it to Lutris manually.
Post edited October 30, 2023 by itsnotatuxedo
avatar
itsnotatuxedo: Was looking for a solution to this as well and saw another update (Linux 1.0f) so I decided to try it out to see if it fixes this.

I tried both Lutris and manually installing from a terminal. When installed manually, using the same offline installer, the game starts fine. However, when installed via Lutris's installer scripts something seems to go wrong in the extraction process and I get the same errors with 1.0d through 1.0f.

In short, try to run the installer script through the terminal and afterwards add it to Lutris manually.
Huh interesting.
I did use lutris... but no other renpy game failed to work when installed through it.

I ended up using the windows installer files to run it through wine.

How do you install it manually through terminal btw?
Edit: Oh I see the linux installer is an .sh file, so I take it I just Run as Program.
Post edited October 30, 2023 by ast486
Hey folks!

I still haven't heard back from GOG yet on this, but it sounds like emulating the Windows version is working for the time being?

Let me know if there's anything helpful I can do on my end.
avatar
ast486: Huh interesting.
I did use lutris... but no other renpy game failed to work when installed through it.

I ended up using the windows installer files to run it through wine.

How do you install it manually through terminal btw?
Edit: Oh I see the linux installer is an .sh file, so I take it I just Run as Program.
I haven't had any trouble with renpy games either in the past, makes me wonder if something has recently changed in the Lutris's auto-install script.

I don't remember Ubuntu's environment that well anymore but opening a terminal in the folder where you downloaded the installer, then running

chmod +x installer.sh && ./installer.sh
should work. "chmod +x" makes sure the script is executable and the latter command executes the script. Use tab-completion for the actual filename. It should still show a regular graphical GOG installer and guide you through the installation.

EDIT: Not seeing anything different in comparison to other Linux games' install scripts on Lutris nor is there anything sticking out between this game's GOG installer script and another RenPy game from what I could tell
Post edited October 31, 2023 by itsnotatuxedo
Since you use Ubuntu, you could give a try to ./play.it: it generates a native .deb package from the GOG-provided installer, that you can then install using apt (or dpkg) like any game provided through Ubuntu official repositories.

I tested only the 1.0d and 1.0f releases of this game with ./play.it, but both worked nicely.

For now the shipped version of Python 3 and Ren'Py are used, but I am planning in some future update to rely on system-provided Ren'Py instead.
Post edited November 02, 2023 by vv221
avatar
ast486: Huh interesting.
I did use lutris... but no other renpy game failed to work when installed through it.

I ended up using the windows installer files to run it through wine.

How do you install it manually through terminal btw?
Edit: Oh I see the linux installer is an .sh file, so I take it I just Run as Program.
avatar
itsnotatuxedo: I haven't had any trouble with renpy games either in the past, makes me wonder if something has recently changed in the Lutris's auto-install script.

I don't remember Ubuntu's environment that well anymore but opening a terminal in the folder where you downloaded the installer, then running

chmod +x installer.sh && ./installer.sh
avatar
itsnotatuxedo: should work. "chmod +x" makes sure the script is executable and the latter command executes the script. Use tab-completion for the actual filename. It should still show a regular graphical GOG installer and guide you through the installation.

EDIT: Not seeing anything different in comparison to other Linux games' install scripts on Lutris nor is there anything sticking out between this game's GOG installer script and another RenPy game from what I could tell
Thanks for the info.
I did test it and it instaleld fine from the linux install file.
I left a message to that effect on the Devs discord, just forgot to post here. >.<

I did what you suggest, only I did it through gui: right click properties > permissinos tab > allow run as program.
then back at the file folder run the .sh as program.

Worked great afterr that. :-)
avatar
vv221: Since you use Ubuntu, you could give a try to ./play.it: it generates a native .deb package from the GOG-provided installer, that you can then install using apt (or dpkg) like any game provided through Ubuntu official repositories.

I tested only the 1.0d and 1.0f releases of this game with ./play.it, but both worked nicely.

For now the shipped version of Python 3 and Ren'Py are used, but I am planning in some future update to rely on system-provided Ren'Py instead.
Huh.
I don't think I've used that one before.

Is it a GUI like Lutris or is it command line?

Why generate a Deb file?
I mean apt is great, but the .sh file did run the Gog installer just fine.
Post edited November 05, 2023 by ast486
avatar
ast486: Is it a GUI like Lutris or is it command line?
It’s a command-line packages generator. Not a games client or anything like that. Once you got your .deb package you can forget about ./play.it, you could even uninstall ./play.it and never use it again, and your game will keep working fine.

avatar
ast486: Why generate a Deb file?
I mean apt is great, but the .sh file did run the Gog installer just fine.
Well, it seems that using the GOG installer did not work that great, at least that’s what I gathered from your initial message ;)

./play.it-generated .deb packages ensure that all required game dependencies are available, and un-vendor as many shipped libraries as possible to ensure the game does not have compatibility problems. When required (this is not the case with Slay the Princess) we add extra tweaks to ensure the game works out-of-the-box on as many setups as possible.

Here I suggest the use of ./play.it because it will ensure you end up with a configuration very similar to mine, so I can more easily try to replicate any problem you might get and maybe provide help in fixing these.

---

EDIT: After a quick check I noticed what we actually use a tweak for Slay the Princess, to ensure the game does not crash on launch when using Wayland instead of X.org as a display server. In addition to that we drop a bunch of files that are not useful to run the game on a x86_64 Linux distribution, but I doubt it would have any effect other than avoiding wasting storage space.
Post edited November 06, 2023 by vv221