Error: script error over a non-existent folder [SOLVED]

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
User avatar
asatiir
Regular
Posts: 86
Joined: Tue Oct 01, 2013 6:04 pm
Completed: Within the Walls (Twine)
Projects: Roses Will Rise
Organization: Asatiir's Tales
Skype: asatiir
itch: asatiir
Location: Dubai, UAE
Contact:

Error: script error over a non-existent folder [SOLVED]

#1 Post by asatiir »

I tried running my game as I always do, and it has been working fine earlier, then suddenly I get this error on Notepad instead of Ren'Py's blue error window. This is error is especially strange because it keeps listing a folder path that hasn't existed on this computer for months and it has been working fine prior to this error without it.

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
ScriptError: Name (u'<"the old non existent directory">\Roses will Rise/game/options.rpy', 1437715919, 4) is defined twice, at game/options.rpy:294 and options-Pumpy.rpyc:295.

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

Full traceback:
  File "C:\renpy-6.99.6-sdk\renpy\bootstrap.py", line 277, in bootstrap
    renpy.main.main()
  File "C:\renpy-6.99.6-sdk\renpy\main.py", line 354, in main
    renpy.game.script.load_script() # sets renpy.game.script.
  File "C:\renpy-6.99.6-sdk\renpy\script.py", line 259, in load_script
    self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)
  File "C:\renpy-6.99.6-sdk\renpy\script.py", line 738, in load_appropriate_file
    self.finish_load(stmts, initcode, filename=fn + source)
  File "C:\renpy-6.99.6-sdk\renpy\script.py", line 414, in finish_load
    bad_node.filename, bad_node.linenumber))
ScriptError: Name (u'<"the old non existent directory">\Roses will Rise/game/options.rpy', 1437715919, 4) is defined twice, at game/options.rpy:294 and options-Pumpy.rpyc:295.

Windows-8-6.2.9200
Ren'Py 6.99.10.1227
 
Just to clarify that the old directory was on Google Drive, I had moved it to One Drive and had used it there for months without problem and this happened.
Last edited by asatiir on Mon May 02, 2016 2:03 pm, edited 1 time in total.
Image
Image

User avatar
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Re: Error: script error over a non-existent folder

#2 Post by xela »

options-Pumpy.rpyc

You left this bytecode file somewhere, you prolly want to delete it...
Like what we're doing? Support us at:
Image

User avatar
asatiir
Regular
Posts: 86
Joined: Tue Oct 01, 2013 6:04 pm
Completed: Within the Walls (Twine)
Projects: Roses Will Rise
Organization: Asatiir's Tales
Skype: asatiir
itch: asatiir
Location: Dubai, UAE
Contact:

Re: Error: script error over a non-existent folder [SOLVED]

#3 Post by asatiir »

I sometimes feel really silly coming up here with these simple problems, but what you said worked. Thanks!
Image
Image

Post Reply

Who is online

Users browsing this forum: No registered users