Script error #225

Open
opened 2023-09-14 21:55:50 +00:00 by NakadashiTrish · 8 comments

I encountered the following script error during the game:

Full traceback:
  File "game/script.rpy", line 322, in script call
    call storyline from _call_storyline
  File "game/storyline.rpy", line 34, in script call
    call chapter_11C from _call_chapter_11C
  File "/mnt/Storage/misc/Eroge/SnootGame-Patch8_NewYears-linux/renpy/ast.py", line 1705, in execute
    rv = renpy.game.context().call(label, return_site=self.next.name)
  File "game/script.rpy", line 322, in script call
    call storyline from _call_storyline
  File "game/storyline.rpy", line 34, in script call
    call chapter_11C from _call_chapter_11C
  File "/mnt/Storage/misc/Eroge/SnootGame-Patch8_NewYears-linux/renpy/script.py", line 927, in lookup
    raise ScriptError("could not find label '%s'." % str(original))
ScriptError: could not find label 'chapter_11C'.

While running game code:
  File "game/script.rpy", line 322, in script call
    call storyline from _call_storyline
  File "game/storyline.rpy", line 34, in script call
    call chapter_11C from _call_chapter_11C
  File "game/script.rpy", line 322, in script call
    call storyline from _call_storyline
  File "game/storyline.rpy", line 34, in script call
    call chapter_11C from _call_chapter_11C
ScriptError: could not find label 'chapter_11C'.
I encountered the following script error during the game: ``` Full traceback: File "game/script.rpy", line 322, in script call call storyline from _call_storyline File "game/storyline.rpy", line 34, in script call call chapter_11C from _call_chapter_11C File "/mnt/Storage/misc/Eroge/SnootGame-Patch8_NewYears-linux/renpy/ast.py", line 1705, in execute rv = renpy.game.context().call(label, return_site=self.next.name) File "game/script.rpy", line 322, in script call call storyline from _call_storyline File "game/storyline.rpy", line 34, in script call call chapter_11C from _call_chapter_11C File "/mnt/Storage/misc/Eroge/SnootGame-Patch8_NewYears-linux/renpy/script.py", line 927, in lookup raise ScriptError("could not find label '%s'." % str(original)) ScriptError: could not find label 'chapter_11C'. While running game code: File "game/script.rpy", line 322, in script call call storyline from _call_storyline File "game/storyline.rpy", line 34, in script call call chapter_11C from _call_chapter_11C File "game/script.rpy", line 322, in script call call storyline from _call_storyline File "game/storyline.rpy", line 34, in script call call chapter_11C from _call_chapter_11C ScriptError: could not find label 'chapter_11C'. ```
Author

I should mention, this is with the GNU/Linux version. I do not experience this issue with the Windows version via WINE.

I should mention, this is with the GNU/Linux version. I do not experience this issue with the Windows version via WINE.
Member

Unable to reproduce this bug, same said for #224

Unable to reproduce this bug, same said for #224
Author

What I did: download this game version (Patch 8, New Years, GNU/Linux), unpack it using unar v1.10.7 onto a BTRFS partition, then run the game via SnootGame.sh using zsh v5.9 and Python v3.11.3.

What I did: download [this](https://snootgame.xyz/downloads/game/SnootGame-Patch8_NewYears-linux.tar.bz2) game version (Patch 8, New Years, GNU/Linux), unpack it using unar v1.10.7 onto a BTRFS partition, then run the game via `SnootGame.sh` using zsh v5.9 and Python v3.11.3.
Member

Seems like a unar problem, unable to handle quotes.
While it's extracting, truncates the filename wrong
SnootGame-Patch8_NewYears-linux/game/script/11B.anon-gets-fangs'-pronouns-right,-and-she's-smug-abou (4467 B)...
and because it goes in alphabetic order the rpyc file will overwrite the rpy file.

Xarchiver works, 7z doesn't work out of the box, might need to look into this more.

Seems like a `unar` problem, unable to handle quotes. While it's extracting, truncates the filename wrong `SnootGame-Patch8_NewYears-linux/game/script/11B.anon-gets-fangs'-pronouns-right,-and-she's-smug-abou (4467 B)...` and because it goes in alphabetic order the rpyc file will overwrite the rpy file. Xarchiver works, 7z doesn't work out of the box, might need to look into this more.
Member

Use Windows

Use Windows
Author

Maybe it's an issue caused by the combination of the software used for archiving and extraction? I wanted to report the bug to the unar dev so I made a simple test archive with an extremely long filename but I was not able to reproduce the bug this way. In my case I used tar cjf to create the archive and there were no issues when extracting the archive again. When creating a test archive with the problematic SnootGame files (from the Windows version which had no issues despite the same filenames) I was also able to extract them without issue again. I've attached the archives in question.

Edit: it seems that when you attach files with unsupported file extensions Gitea just silently fails.

Maybe it's an issue caused by the combination of the software used for archiving and extraction? I wanted to report the bug to the unar dev so I made a simple test archive with an extremely long filename but I was not able to reproduce the bug this way. In my case I used `tar cjf` to create the archive and there were no issues when extracting the archive again. When creating a test archive with the problematic SnootGame files (from the Windows version which had no issues despite the same filenames) I was also able to extract them without issue again. I've attached the archives in question. Edit: it seems that when you attach files with unsupported file extensions Gitea just silently fails.
MichaelYick added the
needs more info
Medium Priority
labels 2023-09-18 01:09:28 +00:00
MichaelYick self-assigned this 2023-09-18 01:09:34 +00:00
Owner

I ran through the game and can't reproduce the bug (running Devuan Ceres, extracted using tar). If you're using unrar, are you using the unrar free package or the non-free version?

I ran through the game and can't reproduce the bug (running Devuan Ceres, extracted using tar). If you're using unrar, are you using the `unrar free` package or the non-free version?
Author

I am not using unrar. I am using unar. The corresponding package (on Manjaro) is called "unarchiver" and the corresponding website seems to be this.

I am not using unrar. I am using unar. The corresponding package (on Manjaro) is called "unarchiver" and the corresponding website seems to be [this](https://theunarchiver.com/).
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Cavemanon/SnootGame#225
No description provided.