Comments (2)
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.
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)
- MIDI HOT 1
- Building 'pygame_sdl2.rwobject' extension failes HOT 1
- Variable is used out of scope
- G923 compatibility
- gfxdraw.filled_polygon producing incorrect image HOT 2
- 'pygame.image.save' works inproperly when saving PNG images
- Why? HOT 4
- [Feature Request] avif images support HOT 2
- Problem with fix_virtualenv.py HOT 3
- Error trying to build on Windows (pygame_sdl2.event.c) HOT 4
- pygame_sdl2.controller.get_axis_from_string crashes when provided with a string.
- Error trying to build on Windows HOT 2
- Problem to import .pyx files HOT 6
- gfxdraw.thick_line cast to integers doesn't seem to work HOT 1
- Use image.load for gif HOT 4
- android.py configure error
- Compile problem: Exception values are incompatible. HOT 2
- EventType.__eq__ doesn't handle other is None
- error LNK2001: unresolved external symbol SDL_JoystickGetDeviceInstanceID HOT 1
- feature: allow check events by `scancode` instead of `key` & `unicode`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pygame_sdl2.