Download error: network 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
VirtualPassion
Newbie
Posts: 8
Joined: Wed Feb 28, 2024 3:10 am
Deviantart: virdate
itch: virtual-passion
Contact:

Download error: network error

#1 Post by VirtualPassion »

When I was testing the online version of my game for the countless times, this error occurred.
When replaying this part of the game again, I did not see this error. I continued testing the game further. How can I get rid of such elusive errors?

Code: Select all

While running game code:
File "renpy/common/000statements.rpy", line 462, in execute_pause
renpy.pause()
OSError: Download error: network error ('images/092day055-1.jpg' > '//game/images/092day055-1.jpg')
The game exited unexpectedly.
More information may be available in the browser console or contained in the log.

Code: Select all

2024-04-03 11:21:59 UTC
Emscripten-3.1.24-wasm32-32bit
Ren'Py 8.2.1.24030407

Witcher Hunt
0.15
Built at 2024-04-03 10:26:56 UTC

Early init took 0.12s
Loading error handling took 0.11s
Loading script took 8.66s
Loading save slot metadata took 0.08s
Loading persistent took 0.01s
Failed to initialize steam: ModuleNotFoundError("No module named '_ctypes'")
Set script version to: (8, 2, 1)
Running init code took 0.47s
Loading analysis data took 0.09s
Analyze and compile ATL took 0.03s
Reloading save slot metadata took 0.03s
Index archives took 0.02s
Dump and make backups took 0.01s
Cleaning cache took 0.01s
Making clean stores took 0.02s
Initial gc took 0.15s
DPI scale factor: 1.000000
Creating interface object took 0.01s
Cleaning stores took 0.00s
Init translation took 0.17s
Build styles took 0.01s
Load screen analysis took 0.01s
Analyze screens took 0.04s
Save screen analysis took 0.07s
Prepare screens took 0.51s
Save pyanalysis. took 0.01s
Save bytecode. took 0.10s
Running _start took 0.01s
Interface start took 0.15s

Initializing gles2 renderer:
primary display bounds: (0, 0, 1707, 960)
swap interval: 1 frames
Windowed mode.
UGUU couldn't find b'glFlushMappedBufferRange': b'No OpenGL context has been made current'
UGUU couldn't find b'glGetBufferPointerv': b'No OpenGL context has been made current'
UGUU couldn't find b'glMapBufferRange': b'No OpenGL context has been made current'
UGUU couldn't find b'glUnmapBuffer': b'No OpenGL context has been made current'
Vendor: "b'Mozilla'"
Renderer: b'ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0), or similar'
Version: b'OpenGL ES 3.0 (WebGL 2.0)'
Display Info: None
Screen sizes: virtual=(1920, 1080) physical=(1706, 814) drawable=(2047, 976)
Maximum texture size: 4096x4096

Full traceback:
  File "//game/script.rpyc", line 776, in script
  File "/renpy/ast.py", line 1968, in execute
    self.call("execute")
  File "/renpy/ast.py", line 1950, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "/renpy/statements.py", line 349, in call
    return method(parsed, *args, **kwargs)
  File "renpy/common/000statements.rpy", line 462, in execute_pause
    renpy.pause()
  File "/renpy/exports.py", line 1661, in pause
    rv = renpy.ui.interact(mouse='pause', type='pause', roll_forward=roll_forward, pause=delay, pause_modal=modal)
  File "/renpy/ui.py", line 301, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "/renpy/display/core.py", line 2165, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
  File "/renpy/display/core.py", line 2760, in interact_core
    renpy.webloader.process_downloaded_resources()
  File "/renpy/webloader.py", line 225, in process_downloaded_resources
    raise IOError("Download error: {} ('{}' > '{}')".format(
OSError: Download error: network error ('images/092day055-1.jpg' > '//game/images/092day055-1.jpg')

While running game code:
  File "renpy/common/000statements.rpy", line 462, in execute_pause
    renpy.pause()
OSError: Download error: network error ('images/092day055-1.jpg' > '//game/images/092day055-1.jpg')
While handling exception:
Traceback (most recent call last):
  File "/renpy/execution.py", line 596, in run
    node.execute()
  File "/renpy/ast.py", line 1968, in execute
    self.call("execute")
  File "/renpy/ast.py", line 1950, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/renpy/statements.py", line 349, in call
    return method(parsed, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "renpy/common/000statements.rpy", line 462, in execute_pause
    renpy.pause()
  File "/renpy/exports.py", line 1661, in pause
    rv = renpy.ui.interact(mouse='pause', type='pause', roll_forward=roll_forward, pause=delay, pause_modal=modal)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/renpy/ui.py", line 301, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/renpy/display/core.py", line 2165, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/renpy/display/core.py", line 2760, in interact_core
    renpy.webloader.process_downloaded_resources()
  File "/renpy/webloader.py", line 225, in process_downloaded_resources
    raise IOError("Download error: {} ('{}' > '{}')".format(
OSError: Download error: network error ('images/092day055-1.jpg' > '//game/images/092day055-1.jpg')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/renpy/display/error.py", line 140, in report_exception
    renpy.game.invoke_in_new_context(
  File "/renpy/game.py", line 293, in invoke_in_new_context
    return callable(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/renpy/display/error.py", line 48, in call_exception_screen
    return renpy.ui.interact(mouse="screen", type="screen", suppress_overlay=True, suppress_underlay=True)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/renpy/ui.py", line 301, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/renpy/display/core.py", line 2165, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/renpy/display/core.py", line 2760, in interact_core
    renpy.webloader.process_downloaded_resources()
  File "/renpy/webloader.py", line 225, in process_downloaded_resources
    raise IOError("Download error: {} ('{}' > '{}')".format(
OSError: Download error: network error ('images/092day055-2.jpg' > '//game/images/092day055-2.jpg')

Full traceback:
  File "/renpy/bootstrap.py", line 359, in bootstrap
    renpy.main.main()
  File "/renpy/main.py", line 635, in main
    run(restart)
  File "/renpy/main.py", line 145, in run
    renpy.execution.run_context(True)
  File "/renpy/execution.py", line 955, in run_context
    context.run()
  File "//game/script.rpyc", line 776, in script
  File "lib/python3.11/future/utils/__init__.py", line 444, in raise_
  File "//game/script.rpyc", line 776, in script
  File "/renpy/ast.py", line 1968, in execute
    self.call("execute")
  File "/renpy/ast.py", line 1950, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "/renpy/statements.py", line 349, in call
    return method(parsed, *args, **kwargs)
  File "renpy/common/000statements.rpy", line 462, in execute_pause
    renpy.pause()
  File "/renpy/exports.py", line 1661, in pause
    rv = renpy.ui.interact(mouse='pause', type='pause', roll_forward=roll_forward, pause=delay, pause_modal=modal)
  File "/renpy/ui.py", line 301, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "/renpy/display/core.py", line 2165, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
  File "/renpy/display/core.py", line 2760, in interact_core
    renpy.webloader.process_downloaded_resources()
  File "/renpy/webloader.py", line 225, in process_downloaded_resources
    raise IOError("Download error: {} ('{}' > '{}')".format(
OSError: Download error: network error ('images/092day055-1.jpg' > '//game/images/092day055-1.jpg')

While running game code:
  File "renpy/common/000statements.rpy", line 462, in execute_pause
    renpy.pause()
OSError: Download error: network error ('images/092day055-1.jpg' > '//game/images/092day055-1.jpg')

User avatar
m_from_space
Miko-Class Veteran
Posts: 981
Joined: Sun Feb 21, 2021 3:36 am
Contact:

Re: Download error: network error

#2 Post by m_from_space »

VirtualPassion wrote: Wed Apr 03, 2024 7:38 am OSError: Download error: network error ('images/092day055-1.jpg' > '//game/images/092day055-1.jpg')
Renpy was unable to download an image file due to some network error. What is it you don't understand?

Solution: make sure to have a proper connection all the time.

Post Reply

Who is online

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