-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Over this past week, I tried to run the lint on my projects, even ones that seemed to run normally. But instead of the usual empty report, the launcher would freeze, then abruptly halt, leaving me with an unclear report of "ValueError: invalid mode 'w+'", implying that only modes such as 'r' and 'w' were acceptable. This only compounded my frustration since I don't operate in any folder outside of my game files.
I even tried the lint on the baseline projects, Tutorial and The Question. It just dumped this in response:
While running game code:
File "launcher/game/front_page.rpyc", line 258, in script call
File "launcher/game/front_page.rpyc", line 268, in script call
File "launcher/game/front_page.rpyc", line 273, in script
File "game/front_page.rpy", line 273, in
File "game/front_page.rpy", line 287, in _execute_python_hide
TypeError: bad argument type for built-in operation
-- Full Traceback ------------------------------------------------------------
Traceback (most recent call last):
File "launcher/game/front_page.rpyc", line 258, in script call
File "launcher/game/front_page.rpyc", line 268, in script call
File "launcher/game/front_page.rpyc", line 273, in script
File "renpy/ast.py", line 1187, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/python.py", line 1260, in py_exec_bytecode
exec(bytecode, globals, locals)
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "game/front_page.rpy", line 273, in
File "game/front_page.rpy", line 287, in _execute_python_hide
File "editra/Editra.edit.py", line 124, in end
self.launch_editra()
~~~~~~~~~~~~~~~~~~^^
File "editra/Editra.edit.py", line 106, in launch_editra
subprocess.Popen([
~~~~~~~~~~~~~~~~^^
os.path.join(DIR, "lib", "windows-i686", "pythonw.exe"),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"-EOO",
^^^^^^^
os.path.join(DIR, "Editra/editra"),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
], cwd=DIR, env=env)
^^^^^^^^^^^^^^^^^^^^
File "lib/python3.12/subprocess.py", line 1026, in init
File "lib/python3.12/subprocess.py", line 1538, in _execute_child
TypeError: bad argument type for built-in operation
...
I would appreciate a solution, or at the very least some direction into fixing this matter. Some of my projects are vastly complex, with up to hundreds of variables and flags, and lint has been my go-to for managing them all.