Error trying to open the script? can't edit script since update

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
Wendyd24
Regular
Posts: 39
Joined: Wed Nov 15, 2017 11:04 pm
Contact:

Error trying to open the script? can't edit script since update

#1 Post by Wendyd24 »

EDIT: So! I can't open the script at all. I tried changing from Atom to jedit, but I got another error saying it can't find the file and it might be because Java isn't installed. I can still run and play the game.

Hey. Not even sure what's happening here. Just trying to run lint, I updated to the new version, and then tried to run it. It worked perfectly fine before.

Image

Any ideas? I can add more info if needed, but I don't even know what to add.

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/front_page.rpy", line 271, in <module>
  File "game/front_page.rpy", line 281, in _execute_python_hide
WindowsError: [Error 2] The system cannot find the file specified

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

Full traceback:
  File "launcher/game/front_page.rpyc", line 271, in script
  File "C:\Users\kaitl\Downloads\renpy-7.4.4-sdk/renpy/ast.py", line 923, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\kaitl\Downloads\renpy-7.4.4-sdk/renpy/python.py", line 2235, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/front_page.rpy", line 271, in <module>
  File "game/front_page.rpy", line 281, in _execute_python_hide
  File "C:\Users\kaitl\Downloads\renpy-7.4.4-sdk\jedit\jEdit.edit.py", line 39, in end
    subprocess.Popen(self.arguments)
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/subprocess.py", line 325, in __init__
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/subprocess.py", line 575, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified

Windows-10-10.0.19041
Ren'Py 7.4.8.1895
Ren'Py Launcher 7.4.8.1895
Tue Sep  7 17:42:50 2021

Phagocytosis
Newbie
Posts: 7
Joined: Mon Jun 21, 2021 1:27 pm
Projects: Polymath – a simulation-heavy life sim about learning
Location: Netherlands
Discord: Babelismoj#4758
Contact:

Re: Error trying to open the script? can't edit script since update

#2 Post by Phagocytosis »

I have the same issue, although in my case it did not follow an update. I was able to load my project in Atom as recently as yesterday, but today I'm getting this error, without updating Ren'Py. I think it is related to Atom, because it gives the same error regardless of whether I select "Open project" or any specific script file in the Ren'Py Launcher. Also, when I set it to "System Editor" and use Notepad++, it opens just fine—but I would prefer to continue to work in Atom.

I'm typing out the error here in hopes of having people find it more easily (the text in the screenshot given in the above post cannot be Googled).

Code: Select all

A JavaScript error occurred in the main process

Uncaught Exception:
TypeError: fs.statSyncNoException is not a function
    at isAtomRepoPath
(E:\Ren'Py\renpy-7.3.5-sdk\atom\atom-windows\resources\app.asar\src\main-process\...:10)
    at Object.<anonymous>
(E:\Ren'Py\renpy-7.3.5-sdk\atom\atom-windows\resources\app.asar\src\main-process\...:14)
    at Module._compile (internal/modules/cjs/loader.js:967:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1004:10)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module._load (electron/js2c/asar.js:769:28)
    at Object.<anonymous> (electron/js2c/browser_init.js:205:3373)
    at Object../lib/browser/init.ts (electron/js2c/browser_init.js:205:3577)
    at __webpack_require__ (electron/js2c/browser_init.js:1:128)
Please help me fix this problem, or let me know if there is any further information you require. Thank you!

rayminator
Miko-Class Veteran
Posts: 793
Joined: Fri Feb 09, 2018 12:05 am
Location: Canada
Contact:

Re: Error trying to open the script? can't edit script since update

#3 Post by rayminator »

download atom standalone
https://atom.io/

Phagocytosis
Newbie
Posts: 7
Joined: Mon Jun 21, 2021 1:27 pm
Projects: Polymath – a simulation-heavy life sim about learning
Location: Netherlands
Discord: Babelismoj#4758
Contact:

Re: Error trying to open the script? can't edit script since update

#4 Post by Phagocytosis »

Of course, that worked, thank you. I'm still curious how and why this happened, but at least I can continue working on Atom now. Much appreciated!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Semrush [Bot]