I nearly split the network error and missing icons into their own thread, but the logcat appears relevant for both.
On 20 December 2015 at 16:40, Dirk Hohndel <[email protected]> wrote: > > On Dec 18, 2015, at 8:20 PM, Rick Walsh <[email protected]> wrote: > >> >> D/Subsurface(24239): >> /data/android/subsurface/subsurface-core/gpslocation.cpp:127 (QString >> GpsLocation::getUserid(QString, QString)): called getUserid >> D/Subsurface(24239): >> /data/android/subsurface/subsurface-core/gpslocation.cpp:120 (void >> GpsLocation::status(QString)): "error when retrieving Subsurface webservice >> user id: Error downloading >> https://cloud.subsurface-divelog.org/webuserid/ - server replied: Bad >> Request" >> >> >> Curious why you are getting a bad request... you obviously have working >> cloud credentials set up, as your screen shot showed a dive list. >> Are you connecting from 124-148-164-165.dyn.iinet.net.au ? The log does >> indeed show an incorrectly formed access from that address... I wonder what >> broke that. But of course this has nothing to do with the icons - just >> something odd I noticed in the log. >> > > I added more logging to this as well. Can you try again after setting > Subsurface-mobile (latest version from the daily builds) to 'verbose' in > the Developer menu? > > I'd love to understand what's going on here - when I try this here both on > Android and when running Subsurface-mobile on my Mac this works without a > problem. > > I have no idea why I'm getting this error. I updated my logbook for this morning's dive (on my laptop), synced to cloud, and the new dive shows up in Subsurface-mobile. Here's the logcat output (grep -i subsurface) with verbose logging: $ grep -i subsurface logcat-3.txt D/PersonaManagerService( 3522): needVerificationForPackage org.subsurfacedivelog.mobile D/PersonaManagerService( 3522): needVerificationForPackage return true for at the end org.subsurfacedivelog.mobile D/Finsky (27198): [1] WorkerTask.onPreExecute: Verification Requested for id = 59, data=file:///storage/emulated/0/Download/Subsurface-mobile-4.5.2.468-arm.apk flags=18 fromVerificationActivity=false V/ApplicationPolicy( 3522): isApplicationStateBlocked userId 0 pkgname org.subsurfacedivelog.mobile I/PackageManager( 3522): scanFileNewer : org.subsurfacedivelog.mobile I/ (27246): SS_ART_lib [I]: permission is absent: /data/app/org.subsurfacedivelog.mobile-1/base.apk I/ (27246): SS_ART_lib [I]: Closing zip file: /data/app/org.subsurfacedivelog.mobile-1/base.apk I/dex2oat (27246): /system/bin/dex2oat --zip-fd=11 --zip-location=/data/app/org.subsurfacedivelog.mobile-1/base.apk --oat-fd=12 --art-fd=-1 --compress-image --oat-location=/data/dalvik-cache/arm/data@app @[email protected]@classes.dex --instruction-set=arm --instruction-set-features=div --runtime-arg -Xms64m --runtime-arg -Xmx512m --swap-fd=13 D/PackageManager( 3522): Resopt: Clean up res: /data/app/org.subsurfacedivelog.mobile-2/base.apk V/EnterpriseBillingPolicyStorage( 3522): getBillingProfileForVpnEngine - start - org.subsurfacedivelog.mobile D/SdpManagerService( 3522): ActionReceiver::onReceive() Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:org.subsurfacedivelog.mobile flg=0x4000010 (has extras) } D/SdpManagerService( 3522): ACTION_PACKAGE_REMOVED Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:org.subsurfacedivelog.mobile flg=0x4000010 (has extras) } DATA= package:org.subsurfacedivelog.mobile UID 1000 userId 0 D/SdpManagerService( 3522): ACTION_PACKAGE_REMOVED packageName:: org.subsurfacedivelog.mobile I/MultiWindowAppListInfo( 4563): android.intent.action.PACKAGE_REPLACED packageName=org.subsurfacedivelog.mobile D/VRSetupWizardStub/PackageIntentReceiver(27253): packagename:org.subsurfacedivelog.mobile D/EnterpriseDeviceManagerService( 3522): onPackageUpdateFinished - packageName: org.subsurfacedivelog.mobile, uid: 10227 D/RCPManagerService( 3522): App Installed with packageNAme = org.subsurfacedivelog.mobile I/KLMS-2.5.332: (27272): KLMSAbstractReciever(): onReceive(): Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:org.subsurfacedivelog.mobile flg=0x4000010 cmp=com.samsung.klmsagent/.listner.MainReciver (has extras) } | timestamp: Sun Dec 20 16:49:40 AEDT 2015 I/KLMS-2.5.332: (27272): KLMSIntentService(): onHandleIntent().START: Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:org.subsurfacedivelog.mobile flg=0x4000010 cmp=com.samsung.klmsagent/.service.KLMSIntentService (has extras) } D/AASAservice-UpdateReceiver(27290): AASAUpdateReceiver: android.intent.action.PACKAGE_REMOVED, package = org.subsurfacedivelog.mobile, uid = -1 D/PackageBroadcastService(30850): Received broadcast action=android.intent.action.PACKAGE_REMOVED and uri=org.subsurfacedivelog.mobile D/Compatibility(27322): intentservice saw: Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:org.subsurfacedivelog.mobile flg=0x4000010 cmp=com.sec.android.app.soundalive/.compatibility.Compatibility$Receiver (has extras) } Bundle[{android.intent.extra.REMOVED_FOR_ALL_USERS=false, android.intent.extra.UID=10227, android.intent.extra.DATA_REMOVED=false, android.intent.extra.REPLACING=true, android.intent.extra.user_handle=0}] V/EnterpriseBillingPolicyStorage( 3522): getBillingProfileForVpnEngine - start - org.subsurfacedivelog.mobile D/KnoxMUMContainerPolicy( 3522): packageInstalledForExternalStorage org.subsurfacedivelog.mobile D/[0]UMC:CoreReceiver(27339): PackageName : org.subsurfacedivelog.mobile D/[0]UMC:CoreReceiver(27339): do nothing for UMC Agent : org.subsurfacedivelog.mobile I/com.sec.android.service.health.upgrade.UninstallReceiver(27390): onReceive called PACKAGE_REMOVED package:org.subsurfacedivelog.mobile I/PackageControlReceiver(27405): forReplacing=true intent=Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:org.subsurfacedivelog.mobile flg=0x4000010 cmp=com.samsung.android.app.watchmanager/com.samsung.android.app.twatchmanager.receiver.PackageControlReceiver (has extras) } D/PackageControlReceiver(27405): Uninstalled Package :org.subsurfacedivelog.mobile D/PackageControlReceiver(27405): removeBlockedPackage [org.subsurfacedivelog.mobile] I/CrashAnrDetector( 3522): onPackageUpdateFinished : org.subsurfacedivelog.mobile D/LauncherApp( 6145): onPackageChanged - org.subsurfacedivelog.mobile D/FilterInstaller(27631): onReceive:android.intent.action.PACKAGE_REMOVED, package:org.subsurfacedivelog.mobile D/FilterProvider(27662): packageName : org.subsurfacedivelog.mobile D/AASAservice-UpdateReceiver(27949): AASAUpdateReceiver: android.intent.action.PACKAGE_ADDED, package = org.subsurfacedivelog.mobile, uid = -1 I/com.sec.android.service.health.upgrade.UninstallReceiver(27390): onReceive called PACKAGE_ADDED package:org.subsurfacedivelog.mobile I/DBG_POLICYDM(27982): [com.policydm.XSPPReceiver(52/onReceive)] ACTION_PACKAGE_ADDED. mPkgName:org.subsurfacedivelog.mobile D/Compatibility(28020): intentservice saw: Intent { act=android.intent.action.PACKAGE_ADDED dat=package:org.subsurfacedivelog.mobile flg=0x4000010 cmp=com.sec.android.app.soundalive/.compatibility.Compatibility$Receiver (has extras) } Bundle[{android.intent.extra.UID=10227, android.intent.extra.REPLACING=true, android.intent.extra.user_handle=0}] D/FilterInstaller(27631): onReceive:android.intent.action.PACKAGE_ADDED, package:org.subsurfacedivelog.mobile D/AcmsPackageEventListener( 3522): pkgName:org.subsurfacedivelog.mobile ,10227 D/Finsky (27198): [1] ExternalReferrer.access$200: Package state data is missing for org.subsurfacedivelog.mobile D/PackageBroadcastService(30850): Received broadcast action=android.intent.action.PACKAGE_ADDED and uri=org.subsurfacedivelog.mobile D/k (30850): Processing package: org.subsurfacedivelog.mobile D/b (30850): Look up (org.subsurfacedivelog.mobile:18) returned no result D/k (30850): Starting Hash for package org.subsurfacedivelog.mobile:4.5.2.468 D/k (30850): Package org.subsurfacedivelog.mobile's hash: 67393c391d58224c9692f6a20781b050c61ec9fefc7c87295d62ba4f5600d0ab D/b (30850): Look up (org.subsurfacedivelog.mobile:18) returned no result D/k (30850): Saved the app info in cache for package:org.subsurfacedivelog.mobile. I/UpdateIcingCorporaServi( 7183): Updating corpora: APPS=org.subsurfacedivelog.mobile, CONTACTS=MAYBE V/ApplicationReceiver(28229): 2015-12-20 05:49:54-null-Installing:package:org.subsurfacedivelog.mobile ver:1.1.10 D/PackageUtils(28229): Package org.subsurfacedivelog.mobile is signed with fb:d8:fc:03:e3:93:91:bb:ea:69:13:74:50:60:c8:38:c6:2e:07:6d:8a:1f:4f:c7:96:67:ec:b4:e9:22:7c:39 D/AASAservice-UpdateReceiver(27949): AASAUpdateReceiver: android.intent.action.PACKAGE_REPLACED, package = org.subsurfacedivelog.mobile, uid = -1 D/PackageBroadcastService(30850): Received broadcast action=android.intent.action.PACKAGE_REPLACED and uri=org.subsurfacedivelog.mobile D/k (30850): Processing package: org.subsurfacedivelog.mobile D/GassUtils(30850): Found app info for package org.subsurfacedivelog.mobile:18. Hash: 67393c391d58224c9692f6a20781b050c61ec9fefc7c87295d62ba4f5600d0ab D/k (30850): Found info for package org.subsurfacedivelog.mobile in db. D/Compatibility(28020): intentservice saw: Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:org.subsurfacedivelog.mobile flg=0x4000010 cmp=com.sec.android.app.soundalive/.compatibility.Compatibility$Receiver (has extras) } Bundle[{android.intent.extra.UID=10227, android.intent.extra.REPLACING=true, android.intent.extra.user_handle=0}] D/PackageUtils(28229): Package org.subsurfacedivelog.mobile is signed with fb:d8:fc:03:e3:93:91:bb:ea:69:13:74:50:60:c8:38:c6:2e:07:6d:8a:1f:4f:c7:96:67:ec:b4:e9:22:7c:39 I/Timeline(26998): Timeline: Activity_launch_request id:org.subsurfacedivelog.mobile time:358669461 V/ApplicationPolicy( 3522): isApplicationStateBlocked userId 0 pkgname org.subsurfacedivelog.mobile V/ApplicationPolicy( 3522): isApplicationStateBlocked userId 0 pkgname org.subsurfacedivelog.mobile D/InjectionManager(28904): fillFeatureStoreMap org.subsurfacedivelog.mobile I/InjectionManager(28904): Constructor org.subsurfacedivelog.mobile, Feature store :{} I/Timeline( 3522): Timeline: Activity_windows_visible id: ActivityRecord{168b3370 u0 org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity t8509} time:358671437 W/Subsurface(28904): (null):0 ((null)): QFont::setPointSizeF: Point size <= 0 (-1.000000), must be greater than 0 E/BufferQueueProducer( 2970): [org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity] cancelBuffer: BufferQueue has been abandoned I/Timeline( 3522): Timeline: Activity_windows_visible id: ActivityRecord{168b3370 u0 org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity t8509} time:358673903 W/Subsurface(28904): (null):0 ((null)): QObject::startTimer: Timers cannot be started from another thread W/Subsurface(28904): (null):0 ((null)): QObject::startTimer: Timers cannot be started from another thread W/Subsurface(28904): (null):0 ((null)): QObject::startTimer: Timers cannot be started from another thread W/Subsurface(28904): (null):0 ((null)): QObject::startTimer: Timers cannot be started from another thread W/Subsurface(28904): (null):0 ((null)): QObject::startTimer: Timers cannot be started from another thread D/Subsurface(28904): /data/android/subsurface/subsurface-core/gpslocation.cpp:129 (QString GpsLocation::getUserid(QString, QString)): called getUserid D/Subsurface(28904): /data/android/subsurface/subsurface-core/gpslocation.cpp:122 (void GpsLocation::status(QString)): "error when retrieving Subsurface webservice user id: Error downloading https://cloud.subsurface-divelog.org/webuserid/ - server replied: Bad Request" W/PackageManager( 4563): Failure retrieving resources for org.subsurfacedivelog.mobile: Resource ID #0x0 V/ApplicationPolicy( 3522): isApplicationStateBlocked userId 0 pkgname org.subsurfacedivelog.mobile W/PackageManager( 4563): Failure retrieving resources for org.subsurfacedivelog.mobile: Resource ID #0x0 V/ApplicationPolicy( 3522): isApplicationStateBlocked userId 0 pkgname org.subsurfacedivelog.mobile I/Timeline( 6145): Timeline: Activity_launch_request id:org.subsurfacedivelog.mobile time:358765649 V/ApplicationPolicy( 3522): isApplicationStateBlocked userId 0 pkgname org.subsurfacedivelog.mobile V/ApplicationPolicy( 3522): isApplicationStateBlocked userId 0 pkgname org.subsurfacedivelog.mobile D/InjectionManager(29759): fillFeatureStoreMap org.subsurfacedivelog.mobile I/InjectionManager(29759): Constructor org.subsurfacedivelog.mobile, Feature store :{} I/Timeline( 3522): Timeline: Activity_windows_visible id: ActivityRecord{39106c56 u0 org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity t8510} time:358766213 W/Subsurface(29759): (null):0 ((null)): QFont::setPointSizeF: Point size <= 0 (-1.000000), must be greater than 0 E/BufferQueueProducer( 2970): [org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity] cancelBuffer: BufferQueue has been abandoned I/Timeline( 3522): Timeline: Activity_windows_visible id: ActivityRecord{39106c56 u0 org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity t8510} time:358768488 W/Subsurface(29759): (null):0 ((null)): QObject::startTimer: Timers cannot be started from another thread W/Subsurface(29759): (null):0 ((null)): QObject::startTimer: Timers cannot be started from another thread W/Subsurface(29759): (null):0 ((null)): QObject::startTimer: Timers cannot be started from another thread W/Subsurface(29759): (null):0 ((null)): QObject::startTimer: Timers cannot be started from another thread W/Subsurface(29759): (null):0 ((null)): QObject::startTimer: Timers cannot be started from another thread V/ApplicationPolicy( 3522): isApplicationStateBlocked userId 0 pkgname org.subsurfacedivelog.mobile V/ApplicationPolicy( 3522): isApplicationStateBlocked userId 0 pkgname org.subsurfacedivelog.mobile D/Subsurface(29759): /data/android/subsurface/subsurface-core/gpslocation.cpp:129 (QString GpsLocation::getUserid(QString, QString)): called getUserid D/Subsurface(29759): /data/android/subsurface/subsurface-core/gpslocation.cpp:122 (void GpsLocation::status(QString)): "error when retrieving Subsurface webservice user id: Error downloading https://cloud.subsurface-divelog.org/webuserid/ - server replied: Bad Request" D/Subsurface(29759): /data/android/subsurface/subsurface-core/gpslocation.cpp:129 (QString GpsLocation::getUserid(QString, QString)): called getUserid D/Subsurface(29759): /data/android/subsurface/subsurface-core/gpslocation.cpp:122 (void GpsLocation::status(QString)): "error when retrieving Subsurface webservice user id: Error downloading https://cloud.subsurface-divelog.org/webuserid/ - server replied: Bad Request" V/ApplicationPolicy( 3522): isApplicationStateBlocked userId 0 pkgname org.subsurfacedivelog.mobile W/PackageManager( 4563): Failure retrieving resources for org.subsurfacedivelog.mobile: Resource ID #0x0 I/Timeline( 6145): Timeline: Activity_launch_request id:org.subsurfacedivelog.mobile time:358910847 V/ApplicationPolicy( 3522): isApplicationStateBlocked userId 0 pkgname org.subsurfacedivelog.mobile W/Subsurface(29759): (null):0 ((null)): Can't find surface 1 W/Subsurface(29759): (null):0 ((null)): Can't find surface 1 I/Timeline( 3522): Timeline: Activity_windows_visible id: ActivityRecord{39106c56 u0 org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity t8510} time:358911369 V/ApplicationPolicy( 3522): isApplicationStateBlocked userId 0 pkgname org.subsurfacedivelog.mobile W/PackageManager( 4563): Failure retrieving resources for org.subsurfacedivelog.mobile: Resource ID #0x0 I/Timeline( 6145): Timeline: Activity_launch_request id:org.subsurfacedivelog.mobile time:358940988 V/ApplicationPolicy( 3522): isApplicationStateBlocked userId 0 pkgname org.subsurfacedivelog.mobile W/Subsurface(29759): (null):0 ((null)): Can't find surface 2 W/Subsurface(29759): (null):0 ((null)): Can't find surface 2 I/Timeline( 3522): Timeline: Activity_windows_visible id: ActivityRecord{39106c56 u0 org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity t8510} time:358941496 D/Subsurface(29759): /data/android/subsurface/qt-mobile/qmlmanager.cpp:399 (void QMLManager::setVerboseEnabled(bool)): verbose is 1 W/PackageManager( 4563): Failure retrieving resources for org.subsurfacedivelog.mobile: Resource ID #0x0 V/ApplicationPolicy( 3522): isApplicationStateBlocked userId 0 pkgname org.subsurfacedivelog.mobile W/PackageManager( 4563): Failure retrieving resources for org.subsurfacedivelog.mobile: Resource ID #0x0 V/ApplicationPolicy( 3522): isApplicationStateBlocked userId 0 pkgname org.subsurfacedivelog.mobile V/ActivityManager_SPCMtest( 3522): ByUsageStats - org.subsurfacedivelog.mobile D/SPCMDataBaseManager( 3522): pkgName: org.subsurfacedivelog.mobile, DB updated(ResetTime) I/Timeline( 6145): Timeline: Activity_launch_request id:org.subsurfacedivelog.mobile time:359262607 V/ApplicationPolicy( 3522): isApplicationStateBlocked userId 0 pkgname org.subsurfacedivelog.mobile V/WindowManager( 3522): addAppToken: AppWindowToken{e60d93 token=Token{3eebf282 ActivityRecord{31da9cd u0 org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity t8512}}} to stack=1 task=8512 at 0 V/ApplicationPolicy( 3522): isApplicationStateBlocked userId 0 pkgname org.subsurfacedivelog.mobile I/ActivityManager( 3522): Start proc 32673:org.subsurfacedivelog.mobile/u0a227 for activity org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity V/WindowManager( 3522): Adding window Window{489ede7 u0 d0 Starting org.subsurfacedivelog.mobile} at 12 of 19 (after Window{bfa7730 u0 d0 com.sec.android.app.launcher/com.sec.android.app.launcher.activities.LauncherActivity}) D/ActivityManager( 3522): Launching org.subsurfacedivelog.mobile, updated priority V/ActivityManager( 3522): getServiceTotalTransactions package = org.subsurfacedivelog.mobile and package's services is null !!! V/ActivityManager_SPCMtest( 3522): Launched -: org.subsurfacedivelog.mobile D/StatusBarManagerService( 3522): manageDisableList userId=0 what=0x0 pkg=Window{489ede7 u0 d0 Starting org.subsurfacedivelog.mobile} D/InjectionManager(32673): fillFeatureStoreMap org.subsurfacedivelog.mobile I/InjectionManager(32673): Constructor org.subsurfacedivelog.mobile, Feature store :{} V/WindowManager( 3522): Adding window Window{1be24b2c u0 d0 org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity} at 12 of 20 (before Window{489ede7 u0 d0 Starting org.subsurfacedivelog.mobile}) I/Timeline( 3522): Timeline: Activity_windows_visible id: ActivityRecord{31da9cd u0 org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity t8512} time:359263152 W/Subsurface(32673): (null):0 ((null)): QFont::setPointSizeF: Point size <= 0 (-1.000000), must be greater than 0 E/BufferQueueProducer( 2970): [org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity] cancelBuffer: BufferQueue has been abandoned V/WindowManager( 3522): Adding window Window{193812ad u0 d0 SurfaceView} at 12 of 20 (before Window{1be24b2c u0 d0 org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity}) I/Timeline( 3522): Timeline: Activity_windows_visible id: ActivityRecord{31da9cd u0 org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity t8512} time:359265826 W/Subsurface(32673): (null):0 ((null)): QObject::startTimer: Timers cannot be started from another thread W/Subsurface(32673): (null):0 ((null)): QObject::startTimer: Timers cannot be started from another thread W/Subsurface(32673): (null):0 ((null)): QObject::startTimer: Timers cannot be started from another thread W/Subsurface(32673): (null):0 ((null)): QObject::startTimer: Timers cannot be started from another thread W/Subsurface(32673): (null):0 ((null)): QObject::startTimer: Timers cannot be started from another thread D/Subsurface(32673): /data/android/subsurface/subsurface-core/gpslocation.cpp:129 (QString GpsLocation::getUserid(QString, QString)): called getUserid D/Subsurface(32673): /data/android/subsurface/subsurface-core/gpslocation.cpp:122 (void GpsLocation::status(QString)): "error when retrieving Subsurface webservice user id: Error downloading https://cloud.subsurface-divelog.org/webuserid/ - server replied: Bad Request" I/ActivityManager( 3522): Skip updateThumbnail for r=ActivityRecord{31da9cd u0 org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity t8512} V/ApplicationPolicy( 3522): isApplicationStateBlocked userId 0 pkgname org.subsurfacedivelog.mobile V/ActivityThread(32673): updateVisibility : ActivityRecord{2ab58c84 token=android.os.BinderProxy@2794d9fd {org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity}} show : false
_______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
