[Solved]distribute error

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
rayminator
Miko-Class Veteran
Posts: 793
Joined: Fri Feb 09, 2018 12:05 am
Location: Canada
Contact:

[Solved]distribute error

#1 Post 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


User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3785
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: [Solved]distribute error

#2 Post by Imperf3kt »

Do you have any files named with non-ascii characters?
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

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

Re: [Solved]distribute error

#3 Post 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

Post Reply

Who is online

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