Comments (4)
The magic number from renpy-8.2.0.23121103+nightly-sdk-ci/lib/python3.9/jnius/env.pyc
is 61 0d 0d 0a
.
The magic number from the python3.9 binary that ships with the same Ren'Py SDK matches:
>>> print(*('{:02x}'.format(x) for x in importlib.util.MAGIC_NUMBER))
61 0d 0d 0a
The a7 0d 0d 0a
magic number (aka b'\xa7\r\r\n'
from OP) is the magic number of py3.11.
Given the above, it seems unlikely that this behaviour was observed by building from a nightly SDK (if I'm incorrect in this, please provide the exact version). If resulting from your own builds, is it possible that you built the web version prior to building the android version?
from renpy-build.
The magic number from
renpy-8.2.0.23121103+nightly-sdk-ci/lib/python3.9/jnius/env.pyc
is61 0d 0d 0a
. The magic number from the python3.9 binary that ships with the same Ren'Py SDK matches:>>> print(*('{:02x}'.format(x) for x in importlib.util.MAGIC_NUMBER)) 61 0d 0d 0a
The
a7 0d 0d 0a
magic number (akab'\xa7\r\r\n'
from OP) is the magic number of py3.11.Given the above, it seems unlikely that this behaviour was observed by building from a nightly SDK (if I'm incorrect in this, please provide the exact version). If resulting from your own builds, is it possible that you built the web version prior to building the android version?
I think it's enough to build The Question
on one of the last two nightly builds to see the problem.
from renpy-build.
Broken .pyc:
'/lib/python3.9/steamapi.pyc': b'\xa7\r\r\n',
'/lib/python3.9/jnius/signatures.pyc': b'\xa7\r\r\n',
'/lib/python3.9/jnius/reflect.pyc': b'\xa7\r\r\n'
from renpy-build.
Bytecode generated for the web version was leaking (pseudo-randomly due to glob order), a more targeted filter should ensure we always get the correct files.
from renpy-build.
Related Issues (20)
- request for documentation renpy-build HOT 1
- prepare.sh fails HOT 8
- JAVA_HOME is not recognized on Linux and macOS due to hardcoded javac.exe check in plat.py > maybe_java_home
- Apple build targets result in "Failed to find a pointer-size integer type" errors HOT 2
- Audio is not playing or is missing from the web version HOT 2
- llvm HOT 2
- RAPT build improvements discussion
- [RAPT 8.1.3] keeplist & blocklist in Windows
- gu
- hdhs
- firstdevproject HOT 2
- renpy-builf
- letz go
- build.py fails on trying to compile for armv7l HOT 2
- undefined symbol: `__isPlatformVersionAtLeast` when using MacOSX12.3.sdk in building for mac
- Dosent work on a clean install HOT 5
- Excessive CPU usage during playback of VP8/9 videos since commit c64c03478fac7f6b8733e2703035a71ecf0244ff HOT 3
- Prepare fails while following exact steps on clean Ubuntu 22.04 HOT 3
- Can't include Itch App Manifest HOT 1
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 renpy-build.