Comments (6)
I can see the problem in the log, just not what is causing it.
Python looks in LATEST_VERSION_SCRIPTS to see what is the latest scripts
version to download.
Except that in your phone, this file is:
LATEST_VERSION_SCRİPTS
There's a tiny dot on the I in scripts, meaning it's not a latin 'I', so it
can't find it.
I can't duplicate the problem on my HTC Desire (not HD). I suspect there is
something about your code table or language.
FYI, the code to pull the scripts is here:
__resolve_version("_scripts");
private int __resolve_version(String what) {
url = new URL(BASE_URL + "hg/python-build/LATEST_VERSION" + what.toUpperCase());
So it implies that the toUpperCase() is messing with the "i".
Anyway, this is not a big issue in any case, for two reasons:
1) The scripts are just a set of sample scripts. The rest of python should be
installed correctly, and you can confirm by going to sl4a and attempting to add
a Python script. You can manually download python_scripts_r13.zip to and unpack
into /sdcard/sl4a/scripts
2) In any case, having failed to determine the scripts version, it is now
trying to download python_scripts_r-1.zip. That file now exists as a copy of
r13.
Trying again should resolve the problem.
Let me know how it goes.
Original comment by rjmatthews62
on 29 Mar 2011 at 10:12
- Changed state: Accepted
- Added labels: Priority-Low
- Removed labels: Priority-Medium
from python-for-android.
Thanks for your answer. I copied the contents of zip file to the location you
said, and saw that scripts in SL4A. But I couldn't run any of them. It says:
"Unable to run [script location] null". In "Python for Android" app, it says
"Installed Versions, interpreter: 16, extras: 13, scripts: ND". But I can't run
scripts and I don't see "Python" in interpreters list of SL4A(There is only
shell.).
Original comment by [email protected]
on 30 Mar 2011 at 3:33
from python-for-android.
Hi, exactly same issue here on Samsung Galaxy S (Android v 2.2). Installation
fails when installing scripts and SL4A does not show Python on interpreters
list.
Original comment by [email protected]
on 9 Apr 2011 at 8:29
from python-for-android.
Hi,
Same problem with ADT for Android2.2 emulator.
Original comment by [email protected]
on 7 Mar 2012 at 3:48
from python-for-android.
This is most likely to be incomplete installation of Python.
Once the python apk is installed, it still has to find and download supporting
files.
Original comment by rjmatthews62
on 3 Apr 2012 at 2:05
from python-for-android.
Same problem here. But, it works with PythonForAndroid-r7b1.apk.
Original comment by [email protected]
on 25 May 2012 at 11:47
from python-for-android.
Related Issues (20)
- Python 3.6.3 or 3.6.4 HOT 9
- readline not work with Python 3
- install binwalk HOT 4
- python not running in techo y6 HOT 2
- Large File Support for Python3
- SL4A crashed on XiaoMI3 and PythonForAndroid installation failed HOT 1
- Issue importing modules in Py4A HOT 1
- TypeError: makeFile() got an unexpected keyword argument 'encoding' HOT 7
- Json.decoder.JSONDecodeError:Expecting value: line 1 colum 1 (char 0) HOT 4
- how to find Python in adb shell ? HOT 2
- NoClassDefFoundError HOT 3
- Sl4A.apk not found in dir HOT 2
- `str(0.1)` aka float.__format__ outputs are different to another platform
- Problem with local install x86 HOT 1
- Android 9 support HOT 1
- No SSL Support included in this Python HOT 1
- How install SL4A on Termux? Is it possible? HOT 4
- release for aarch64 HOT 2
- please add build.gradle in root path HOT 2
- Fatal Python error 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 python-for-android.