Fresh download from the pre-release channel.
Linux Mint 19. Python 2.7 is installed. /data is writeable.
Error occurs when trying to build an Android app.
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/android.rpy", line 483, in <module>
File "game/android.rpy", line 269, in android_build
File "game/mobilebuild.rpy", line 196, in call
OSError: [Errno 13] Permission denied
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "launcher/game/android.rpyc", line 483, in script
File "/data/renpy-beta/renpy/ast.py", line 885, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/data/renpy-beta/renpy/python.py", line 1912, in py_exec_bytecode
exec bytecode in globals, locals
File "game/android.rpy", line 483, in <module>
File "game/android.rpy", line 269, in android_build
File "/data/renpy-beta/rapt/buildlib/rapt/build.py", line 579, in build
iface.call([ plat.gradlew, "-p", plat.path("project") ] + commands, cancel=True)
File "game/mobilebuild.rpy", line 196, in call
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/subprocess.py", line 710, in __init__
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/subprocess.py", line 1335, in _execute_child
OSError: [Errno 13] Permission denied
Linux-4.15.0-20-generic-x86_64-with-debian-buster-sid
Ren'Py 7.1.0.820
Ren'Py Launcher 7.1.0.820
Sat Sep 1 16:10:26 2018
I don't know if these were hard-coded in the pre-release build intentionally, but I tried grepping for /home/tom and got this:
Code: Select all
grep -r "/home/tom/" --include \*.c --include \*.rpy .
./launcher/game/options.rpy: build.mac_codesign_command = [ "/home/tom/ab/renpy-deps/mac/mac_sign_client.sh", "{identity}", "{app}" ]
./launcher/game/options.rpy: build.mac_create_dmg_command = [ "/home/tom/ab/renpy-deps/mac/mac_dmg_client.sh", "{identity}", "{volname}", "{sourcedir}", "{dmg}" ]
./module/gen/renpy.gl.gltexture.c:static const char __pyx_k_home_tom_ab_renpy_renpy_gl_glte[] = "/home/tom/ab/renpy/renpy/gl/gltexture.pyx";
./module/gen/renpy.display.render.c:static const char __pyx_k_home_tom_ab_renpy_renpy_display[] = "/home/tom/ab/renpy/renpy/display/render.pyx";
./module/gen/renpy.audio.renpysound.c:static const char __pyx_k_home_tom_ab_renpy_renpy_audio_r[] = "/home/tom/ab/renpy/renpy/audio/renpysound.pyx";
./module/gen/renpy.display.accelerator.c:static const char __pyx_k_home_tom_ab_renpy_renpy_display[] = "/home/tom/ab/renpy/renpy/display/accelerator.pyx";
./module/gen/renpy.pydict.c:static const char __pyx_k_home_tom_ab_renpy_renpy_pydict[] = "/home/tom/ab/renpy/renpy/pydict.pyx";
./module/gen/renpy.gl.glrtt_copy.c:static const char __pyx_k_home_tom_ab_renpy_renpy_gl_glrt[] = "/home/tom/ab/renpy/renpy/gl/glrtt_copy.pyx";
./module/gen/renpy.angle.glrtt_fbo.c:static const char __pyx_k_home_tom_ab_renpy_renpy_angle_g[] = "/home/tom/ab/renpy/renpy/angle/glrtt_fbo.pyx";
./module/gen/renpy.angle.glenviron_shader.c:static const char __pyx_k_home_tom_ab_renpy_renpy_angle_g[] = "/home/tom/ab/renpy/renpy/angle/glenviron_shader.pyx";
./module/gen/renpy.style.c:static const char __pyx_k_home_tom_ab_renpy_renpy_style_p[] = "/home/tom/ab/renpy/renpy/style.pyx";
./module/gen/renpy.gl.gldraw.c:static const char __pyx_k_home_tom_ab_renpy_renpy_gl_gldr[] = "/home/tom/ab/renpy/renpy/gl/gldraw.pyx";
./module/gen/renpy.gl.glenviron_shader.c:static const char __pyx_k_home_tom_ab_renpy_renpy_gl_glen[] = "/home/tom/ab/renpy/renpy/gl/glenviron_shader.pyx";
./module/gen/renpy.text.ftfont.c:static const char __pyx_k_home_tom_ab_renpy_renpy_text_ft[] = "/home/tom/ab/renpy/renpy/text/ftfont.pyx";
./module/gen/renpy.parsersupport.c:static const char __pyx_k_home_tom_ab_renpy_renpy_parsers[] = "/home/tom/ab/renpy/renpy/parsersupport.pyx";
./module/gen/renpy.angle.gldraw.c:static const char __pyx_k_home_tom_ab_renpy_renpy_angle_g[] = "/home/tom/ab/renpy/renpy/angle/gldraw.pyx";
./module/gen/renpy.text.texwrap.c:static const char __pyx_k_home_tom_ab_renpy_renpy_text_te[] = "/home/tom/ab/renpy/renpy/text/texwrap.pyx";
./module/gen/renpy.angle.gltexture.c:static const char __pyx_k_home_tom_ab_renpy_renpy_angle_g[] = "/home/tom/ab/renpy/renpy/angle/gltexture.pyx";
./module/gen/renpy.gl.glrtt_fbo.c:static const char __pyx_k_home_tom_ab_renpy_renpy_gl_glrt[] = "/home/tom/ab/renpy/renpy/gl/glrtt_fbo.pyx";
./module/gen/renpy.angle.glrtt_copy.c:static const char __pyx_k_home_tom_ab_renpy_renpy_angle_g[] = "/home/tom/ab/renpy/renpy/angle/glrtt_copy.pyx";
Many .pyo files matched as well.
So I'm guessing a hard-coded string somewhere is telling Renpy to look for the Python 2.7 installation on your machine instead of mine?
Finished games
-My games: Sickness, Wander No More, Max Massacre, Humanity Must Perish, Tomboys Need Love Too, Sable's Grimoire, My Heart Grows Fonder, Man And Elf, A Dragon's Treasure, An Adventurer's Gallantry
-Commissions: No One But You, Written In The Sky, Diamond Rose, To Libertad, Catch Canvas, Love Ribbon, Happy Campers, Wolf Tails
Working on:
Sable's Grimoire 2
https://zetsubou.games