Giter Site home page Giter Site logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
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)

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.