Ticket #1143 (closed defect: fixed)

Opened 7 years ago

Last modified 6 years ago

Android installer trouble on 4.04

Reported by: gpress Owned by: gpress
Priority: major Milestone:
Component: seattle clearinghouse Version: 0.1t
Severity: Medium Keywords:
Cc: albert.rafetseder@… Blocking:
Blocked By:

Description

Error installing Seattle on a Android tablet Samsung GT-P1000 running version 4.04 (API 15). The steps followed were:

1. installed python
2. Went into Seattle and clicked install. It then showed install failed.
3. Available log files show nothing

On a failed installed the log files should show a meaningful error.

Change History

Changed 7 years ago by albert

  • cc albert.rafetseder@… added

Confirmed on a different device. adb logcat shows that we try to download the installer from the old (UWash) clearinghouse. After fixing the URL in the native part of the installer we should come up with a meaningful way to log errors from other than the Python install script.

D/StatusBarService(  212): addNotification notification = StatusBarNotification(
package=com.seattleonandroid id=1 tag=null notification=Notification(vibrate=nul
l,sound=null,defaults=0x0,flags=0x72)), key = android.os.BinderProxy@40602a70, f
ullScreenIntent = null, contentIntent = PendingIntent{405bd040: android.os.Binde
rProxy@40602be8}
I/SeattleOnAndroid( 7964): Installer service started
I/SeattleOnAndroid( 7964): Downloading seattle from: https://seattlegeni.cs.wash
ington.edu/geni/download/defaultandroid/seattle_win.zip
I/SeattleOnAndroid( 7964): seattlegeni.cs.washington.edu
I/SeattleOnAndroid( 7964): Hostname ok (is on whitelist).
I/SeattleOnAndroid( 7964): seattleclearinghouse.poly.edu
I/SeattleOnAndroid( 7964): Hostname ok (is on whitelist).
I/SeattleOnAndroid( 7964): Download started
I/SeattleOnAndroid( 7964): Download finished
E/SeattleOnAndroid( 7964): Exception occured while extracting file: /mnt/sdcard/
sl4a/seattle.zip
E/SeattleOnAndroid( 7964): java.util.zip.ZipException: EOCD not found; not a Zip
 archive?
E/SeattleOnAndroid( 7964):      at java.util.zip.ZipFile.readCentralDir(ZipFile.
java:345)
E/SeattleOnAndroid( 7964):      at java.util.zip.ZipFile.<init>(ZipFile.java:135
)
E/SeattleOnAndroid( 7964):      at java.util.zip.ZipFile.<init>(ZipFile.java:99)

E/SeattleOnAndroid( 7964):      at com.seattleonandroid.Unzip.unzip(Unzip.java:3
7)
E/SeattleOnAndroid( 7964):      at com.seattleonandroid.InstallerService$1.run(I
nstallerService.java:294)
E/SeattleOnAndroid( 7964): Exception occured while extracting seattle
E/SeattleOnAndroid( 7964): java.util.zip.ZipException: EOCD not found; not a Zip
 archive?
E/SeattleOnAndroid( 7964):      at java.util.zip.ZipFile.readCentralDir(ZipFile.
java:345)
E/SeattleOnAndroid( 7964):      at java.util.zip.ZipFile.<init>(ZipFile.java:135
)
E/SeattleOnAndroid( 7964):      at java.util.zip.ZipFile.<init>(ZipFile.java:99)

E/SeattleOnAndroid( 7964):      at com.seattleonandroid.Unzip.unzip(Unzip.java:3
7)
E/SeattleOnAndroid( 7964):      at com.seattleonandroid.InstallerService$1.run(I
nstallerService.java:294)
D/NotificationService(  125): cancelNotification, ACTION_NOTIFICATION_REMOVE,pkg
=com.seattleonandroid,id=1
I/SeattleOnAndroid( 7964): Seattle could not be installed

Changed 7 years ago by gpress

This was a general issue effecting all installs not just 4.04. r6066 fixes this by updating the hostname whitelist.

Changed 6 years ago by gpress

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.