beatzunknown / python-for-android

Automatically exported from code.google.com/p/python-for-android
Apache License 2.0
0 stars 0 forks source link

PythonForAndroid Install fails under 3g due to a bad URL (patch included) #65

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
PythonForAndroid Install fails under 3g due to a bad URL (patch included)

What steps will reproduce the problem?
1. Try to install Python for Android under a 3g connection

What is the expected output? What do you see instead?
I expect it to install but I'm getting a toast saying Installation Failed

What version of the product are you using? On what operating system?
r5/r6

Please provide any additional information below.
The issue is as follows, due to a bug in PythonDescriptor.java
PythonForAndroid tries to download python from:
http://python-for-android.googlecode.com//files/python_r16.zip -> Note the 
double slash
Which for some reason works under WiFi but fails under 3g

I included a patch that fixes this issue.
(The URL becomes http://python-for-android.googlecode.com/files/python_r16.zip)

P.S: I was checking the URL that was being requested using LogCat

Original issue reported on code.google.com by segev...@gmail.com on 25 Nov 2012 at 10:07

Attachments: