Distribution not opening

Forum organization and occasional community-building.
Forum rules
Questions about Ren'Py should go in the Ren'Py Questions and Announcements forum.
Post Reply
Message
Author
AyoGYURIs
Newbie
Posts: 4
Joined: Fri Jan 31, 2020 9:23 am
Contact:

Distribution not opening

#1 Post by AyoGYURIs »

I've seen other people have the exact same error but I couldn't figure out how to solve this problem.

So when I open the zip file, I get the game file however when I open the game file, it brings up this error.

I'm sorry, but an uncaught exception occurred.

While running game code:
ScriptError: Name (u'/home/tom/ab/renpy/renpy/common/000atl.rpy', 1504313599, 0) is defined twice, at renpy/common/000atl.rpy:25 and renpy/common/000atl.rpy:25.

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

Full traceback:
File "/Users/aaronlam/Desktop/fromiSimluator_.app/Contents/Resources/autorun/renpy/bootstrap.py", line 316, in bootstrap
renpy.main.main()
File "/Users/aaronlam/Desktop/fromiSimluator_.app/Contents/Resources/autorun/renpy/main.py", line 422, in main
renpy.game.script.load_script() # sets renpy.game.script.
File "/Users/aaronlam/Desktop/fromiSimluator_.app/Contents/Resources/autorun/renpy/script.py", line 275, in load_script
self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)
File "/Users/aaronlam/Desktop/fromiSimluator_.app/Contents/Resources/autorun/renpy/script.py", line 779, in load_appropriate_file
self.finish_load(stmts, initcode, filename=lastfn)
File "/Users/aaronlam/Desktop/fromiSimluator_.app/Contents/Resources/autorun/renpy/script.py", line 456, in finish_load
check_name(node)
File "/Users/aaronlam/Desktop/fromiSimluator_.app/Contents/Resources/autorun/renpy/script.py", line 439, in check_name
bad_node.filename, bad_node.linenumber))
ScriptError: Name (u'/home/tom/ab/renpy/renpy/common/000atl.rpy', 1504313599, 0) is defined twice, at renpy/common/000atl.rpy:25 and renpy/common/000atl.rpy:25.

I've believe I tried deleting the .rpyc and .pyc files but it either gave the same error or couldn't build the distribution either way.

I don't know if this has anything to do with it but I saw someone mention that renpy doesn't know where to save files anymore so the code I used was this to alter the save/load screen

screen save():

tag menu

imagemap:
ground "fssave.png"
idle "fssave.png"
hover "fssavehover.png"
cache False
hotspot (177, 959, 46, 79) clicked FilePage(1) activate_sound "button.mp3"
hotspot (255, 958, 60, 82) clicked FilePage(2) activate_sound "button.mp3"
hotspot (338, 959, 66, 82) clicked FilePage(3) activate_sound "button.mp3"
hotspot (421, 961, 66, 80) clicked FilePage(4) activate_sound "button.mp3"
hotspot (510, 961, 62, 82) clicked FilePage(5) activate_sound "button.mp3"
hotspot (592, 959, 66, 82) clicked FilePage(6) activate_sound "button.mp3"
hotspot (673, 961, 70, 79) clicked FilePage(7) activate_sound "button.mp3"
hotspot (759, 958, 68, 83) clicked FilePage(8) activate_sound "button.mp3"
hotspot (845, 959, 66, 82) clicked FilePage(9) activate_sound "button.mp3"
hotspot (226, 278, 389, 241) clicked FileSave(1):
use load_save_slot(number=1)
hotspot (757, 279, 389, 240) clicked FileSave(2):
use load_save_slot(number=2)
hotspot (1278, 278, 389, 241) clicked FileSave(3):
use load_save_slot(number=3)
hotspot (226, 634, 389, 239) clicked FileSave(4):
use load_save_slot(number=4)
hotspot (756, 635, 391, 238) clicked FileSave(5):
use load_save_slot(number=5)
hotspot (1278, 634, 389, 239) clicked FileSave(6):
use load_save_slot(number=6)
hotspot (1412, 954, 477, 94) action Return() activate_sound "button.mp3"


screen load():

tag menu

imagemap:
ground "fsload.png"
idle "fsload.png"
hover "fsloadhover.png"
cache False
hotspot (177, 959, 46, 79) clicked FilePage(1) activate_sound "button.mp3"
hotspot (255, 958, 60, 82) clicked FilePage(2) activate_sound "button.mp3"
hotspot (338, 959, 66, 82) clicked FilePage(3) activate_sound "button.mp3"
hotspot (421, 961, 66, 80) clicked FilePage(4) activate_sound "button.mp3"
hotspot (510, 961, 62, 82) clicked FilePage(5) activate_sound "button.mp3"
hotspot (592, 959, 66, 82) clicked FilePage(6) activate_sound "button.mp3"
hotspot (673, 961, 70, 79) clicked FilePage(7) activate_sound "button.mp3"
hotspot (759, 958, 68, 83) clicked FilePage(8) activate_sound "button.mp3"
hotspot (845, 959, 66, 82) clicked FilePage(9) activate_sound "button.mp3"
hotspot (226, 278, 389, 241) clicked FileLoad(1):
use load_save_slot(number=1)
hotspot (757, 279, 389, 240) clicked FileLoad(2):
use load_save_slot(number=2)
hotspot (1278, 278, 389, 241) clicked FileLoad(3):
use load_save_slot(number=3)
hotspot (226, 634, 389, 239) clicked FileLoad(4):
use load_save_slot(number=4)
hotspot (756, 635, 391, 238) clicked FileLoad(5):
use load_save_slot(number=5)
hotspot (1278, 634, 389, 239) clicked FileLoad(6):
use load_save_slot(number=6)
hotspot (1412, 954, 477, 94) action Return() activate_sound "button.mp3"

screen load_save_slot:
$ file_text = "% 2s. %s\n%s" % ( FileSlotName(number, 6), FileTime(number, empty=_("Empty Slot")), FileSaveName(number))
add FileScreenshot(number) xpos 0 ypos 0
text file_text xpos 0 ypos 10 size 40 color "#000000" kerning 2 font "SF-Pro-Display-Regular.otf"
key "save_delete" action FileDelete(number)
init -2 python:
config.thumbnail_width = 450
config.thumbnail_height = 400

Thank you in advance!

AyoGYURIs
Newbie
Posts: 4
Joined: Fri Jan 31, 2020 9:23 am
Contact:

Re: Distribution not opening

#2 Post by AyoGYURIs »

I got rid of the underscore in the title of the game and now the game can open.

Post Reply

Who is online

Users browsing this forum: No registered users