Coder Social home page Coder Social logo

Comments (2)

 avatar commented on June 12, 2024

C:\Users\tyske\rapt>python android.py installsdk
ERROR: The system was unable to find the specified registry key or value.
ERROR: The system was unable to find the specified registry key or value.
Traceback (most recent call last):
File "android.py", line 14, in
import rapt.build as build
File "buildlib\rapt\build.py", line 22, in
import jinja2
File "C:\Users\tyske\rapt\buildlib\jinja2.egg\jinja2_init_.py", line 37, in
from jinja2.environment import Environment, Template
File "C:\Users\tyske\rapt\buildlib\jinja2.egg\jinja2\environment.py", line 552
info.external_attr = 0755 << 16L
^
SyntaxError: invalid token

from pygame_sdl2.

 avatar commented on June 12, 2024

C:\Users\tyske\rapt>python android.py installsdk
Found b'C:\Program Files\Java\jdk1.8.0_191'
Traceback (most recent call last):
File "buildlib\rapt\plat.py", line 105, in
set_win32_java_home()
File "buildlib\rapt\plat.py", line 85, in set_win32_java_home
os.environ["JAVA_HOME"] = keys[jh]
File "C:\Users\tyske\AppData\Local\Programs\Python\Python36-32\lib\os.py", line 674, in setitem
value = self.encodevalue(value)
File "C:\Users\tyske\AppData\Local\Programs\Python\Python36-32\lib\os.py", line 730, in check_str
raise TypeError("str expected, not %s" % type(value).name)
TypeError: str expected, not bytes
I'm compiling a short test program, to see if you have a working JDK
on your system.

Traceback (most recent call last):
File "android.py", line 69, in
main()
File "android.py", line 42, in main
install_sdk.install_sdk(iface)
File "buildlib\rapt\install_sdk.py", line 234, in install_sdk
check_java(interface)
File "buildlib\rapt\install_sdk.py", line 47, in check_java
if not run_slow(interface, plat.javac, plat.path("buildlib/CheckJDK8.java"), use_path=True):
File "buildlib\rapt\install_sdk.py", line 35, in run_slow
interface.call(args, cancel=True, **kwargs)
File "buildlib\rapt\interface.py", line 238, in call
subprocess.check_call(args, cwd=plat.RAPT_PATH)
AttributeError: module 'plat' has no attribute 'RAPT_PATH'

from pygame_sdl2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.