Page 1 of 1

[Solved]distribute error

Posted: Wed Aug 04, 2021 7:58 pm
by rayminator
it was a Japanese image I had in the fold

I'm getting this error

I don't have any image called ?????.png

I had Ren'Py 7.4.8 got that error

downgraded Ren'Py 7.4.6 and gotten same error

Code: Select all


I'm sorry, but an uncaught exception occurred.


While running game code:

  File "game/distribute.rpy", line 1586, in <module>

  File "game/distribute.rpy", line 1593, in _execute_python_hide

  File "game/distribute.rpy", line 573, in __init__

  File "game/distribute.rpy", line 1315, in make_package

  File "game/distribute.rpy", line 345, in hash

  File "game/distribute.rpy", line 193, in hash

  File "game/distribute.rpy", line 122, in hash_file

IOError: [Errno 22] invalid mode ('rb') or filename: 'D:\\VN\\Progerialust Family\\?????.png'


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


Full traceback:

  File "launcher/game/distribute.rpyc", line 1586, in script

  File "R:\renpy\renpy-7.4.2-sdk/renpy/ast.py", line 923, in execute

    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)

  File "R:\renpy\renpy-7.4.2-sdk/renpy/python.py", line 2235, in py_exec_bytecode

    exec(bytecode, globals, locals)

  File "game/distribute.rpy", line 1586, in <module>

  File "game/distribute.rpy", line 1593, in _execute_python_hide

  File "game/distribute.rpy", line 573, in __init__

  File "game/distribute.rpy", line 1315, in make_package

  File "game/distribute.rpy", line 345, in hash

  File "game/distribute.rpy", line 193, in hash

  File "game/distribute.rpy", line 122, in hash_file

  File "R:\renpy\renpy-7.4.2-sdk/renpy/compat/__init__.py", line 94, in compat_open

    return python_open(*args, **kwargs)

IOError: [Errno 22] invalid mode ('rb') or filename: 'D:\\VN\\Progerialust Family\\?????.png'


Windows-10-10.0.19041

Ren'Py 7.4.8.1895

Ren'Py Launcher 7.4.8.1895

Wed Aug  4 19:03:19 2021


Re: [Solved]distribute error

Posted: Wed Aug 04, 2021 9:57 pm
by Imperf3kt
Do you have any files named with non-ascii characters?

Re: [Solved]distribute error

Posted: Thu Aug 05, 2021 1:26 am
by rayminator
Imperf3kt wrote: Wed Aug 04, 2021 9:57 pm Do you have any files named with non-ascii characters?
the first line of this post states that and the post marked solved

it was a Japanese image I had in the fold