Ren'Py error when trying to install Android SDK?

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
User avatar
Dizzydude
Regular
Posts: 58
Joined: Mon May 26, 2014 8:40 pm
Projects: 「To Be Announced」
Location: U.S.A
Contact:

Ren'Py error when trying to install Android SDK?

#1 Post by Dizzydude »

Hi, I'm having an error when trying to install an sdk for android.

I'm not sure how else to explain it, but here's the traceback.

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00keymap.rpy", line 278, in script
    python hide:
  File "renpy/common/00keymap.rpy", line 292, in <module>
    renpy.save("_reload-1", "reload save game")
PicklingError: Can't pickle <type 'function'>: attribute lookup __builtin__.function failed

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

Full traceback:
  File "renpy/common/00keymap.rpy", line 278, in script
    python hide:
  File "C:\Documents and Settings\####\My Documents\ren'py\renpy-6.17.7-sdk\renpy\ast.py", line 756, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Documents and Settings\####\My Documents\ren'py\renpy-6.17.7-sdk\renpy\python.py", line 1382, in py_exec_bytecode
    exec bytecode in globals, locals
  File "renpy/common/00keymap.rpy", line 292, in <module>
    renpy.save("_reload-1", "reload save game")
  File "C:\Documents and Settings\####\My Documents\ren'py\renpy-6.17.7-sdk\renpy\loadsave.py", line 272, in save
    dump((roots, renpy.game.log), logf)
  File "C:\Documents and Settings\####\My Documents\ren'py\renpy-6.17.7-sdk\renpy\loadsave.py", line 43, in dump
    cPickle.dump(o, f, cPickle.HIGHEST_PROTOCOL)
PicklingError: Can't pickle <type 'function'>: attribute lookup __builtin__.function failed

Windows-XP-5.1.2600-SP3
Ren'Py 6.17.7.521
Ren'Py Launcher 6.17.7.521

User avatar
Dizzydude
Regular
Posts: 58
Joined: Mon May 26, 2014 8:40 pm
Projects: 「To Be Announced」
Location: U.S.A
Contact:

Re: Ren'Py error when trying to install Android SDK?

#2 Post by Dizzydude »

Forgot to mention, I tried uninstalling and reinstalling both Ren'Py and RAPT

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py error when trying to install Android SDK?

#3 Post by PyTom »

This error doesn't seem to have anything to do with the Android SDK. (It's what you get if a shift+R reload goes wrong.)

Could you screenshot the error you're getting?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
Dizzydude
Regular
Posts: 58
Joined: Mon May 26, 2014 8:40 pm
Projects: 「To Be Announced」
Location: U.S.A
Contact:

Re: Ren'Py error when trying to install Android SDK?

#4 Post by Dizzydude »

Oh! Sorry, I'd posted the traceback AFTER trying to reload the launcher after the error.
THIS is the error:

http://i.imgur.com/ULqCzUX.png (Image too big)

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "launcher/game/android.rpy", line 569, in script
    python:
  File "launcher/game/android.rpy", line 571, in <module>
    rapt.install_sdk.install_sdk(AndroidInterface())
  File "launcher/game/android.rpy", line 260, in call
    self.yes_thread.join()
AttributeError: 'function' object has no attribute 'join'

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

Full traceback:
  File "launcher/game/android.rpy", line 569, in script
    python:
  File "C:\Documents and Settings\####\My Documents\ren'py\renpy-6.17.7-sdk\renpy\ast.py", line 756, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Documents and Settings\####\My Documents\ren'py\renpy-6.17.7-sdk\renpy\python.py", line 1382, in py_exec_bytecode
    exec bytecode in globals, locals
  File "launcher/game/android.rpy", line 571, in <module>
    rapt.install_sdk.install_sdk(AndroidInterface())
  File "C:\Documents and Settings\####\My Documents\ren'py\renpy-6.17.7-sdk\rapt\buildlib\rapt\install_sdk.py", line 254, in install_sdk
    get_packages(interface)
  File "C:\Documents and Settings\####\My Documents\ren'py\renpy-6.17.7-sdk\rapt\buildlib\rapt\install_sdk.py", line 172, in get_packages
    if not run_slow(interface, plat.android, "update", "sdk", "-u", "-f", "-a", "-t", ",".join(packages), yes=True):
  File "C:\Documents and Settings\####\My Documents\ren'py\renpy-6.17.7-sdk\rapt\buildlib\rapt\install_sdk.py", line 33, in run_slow
    interface.call(args, cancel=True, **kwargs)
  File "launcher/game/android.rpy", line 260, in call
    self.yes_thread.join()
AttributeError: 'function' object has no attribute 'join'

Windows-XP-5.1.2600-SP3
Ren'Py 6.17.7.521
Ren'Py Launcher 6.17.7.521

Post Reply

Who is online

Users browsing this forum: No registered users