v2.5 ics import error
Application v2.5 shows notification with error while imporing some (not all) files that were exported by it just a few seconds before. Message has two strings:
Error: For input string: "T0"
Downgrade to version 2.4 make problem vanish, then it's possible to import exactly the same files, that caused errors in version 2.5.
Applications were installed from F-Droid.
Same issue for me. Reverted to 2.4 and everything worked just fine
@tasn Could you look into this?
@dschuermann I think it's related to the issue I already fixed in #68
Please review that PR, I bet it'll fix this one too.
I released 2.6. Let's try this fix.
Is it fixed?
This seems still to be an issue. I used the f-droid 2.6 version and got the "T0" error on importing a calendar. The calender was exported from the webinterface of posteo.de.
With version 2.4 I can successfully import the file (however I then have the problems of that version).
I don' t know if there is useful information included in the logcat:
06-29 10:31:04.512 1155 1254 V WindowManager: Removing Window{bc11749 u0 PopupWindow:6fe7584} from AppWindowToken{4f73c23 token=Token{5818152 ActivityRecord{a87f1dd u0 org.sufficientlysecure.ical/.ui.MainActivity t132}}}
06-29 10:31:04.521 1155 1254 V WindowManager: Exit animation finished in Window{150adb9 u0 org.sufficientlysecure.ical/org.sufficientlysecure.ical.ui.MainActivity EXITING}: remove=false
06-29 10:31:04.551 1155 1651 V WindowManager: notifyAppStopped: AppWindowToken{4f73c23 token=Token{5818152 ActivityRecord{a87f1dd u0 org.sufficientlysecure.ical/.ui.MainActivity t132}}}
06-29 10:31:04.552 1155 1651 E WindowManager: win=Window{150adb9 u0 org.sufficientlysecure.ical/org.sufficientlysecure.ical.ui.MainActivity} destroySurfaces: appStopped=true win.mWindowRemovalAllowed=false win.mRemoveOnExit=false
06-29 10:31:04.553 1155 1651 I WindowManager: Destroying surface Surface(name=org.sufficientlysecure.ical/org.sufficientlysecure.ical.ui.MainActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2072 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:884 com.android.server.wm.HwWindowStateAnimator.destroySurfaceLocked:1006 com.android.server.wm.WindowState.destroyOrSaveSurfaceUnchecked:2998 com.android.server.wm.WindowState.destroySurface:2951 com.android.server.wm.AppWindowToken.destroySurfaces:664 com.android.server.wm.AppWindowToken.destroySurfaces:648 com.android.server.wm.AppWindowToken.notifyAppStopped:692
06-29 10:31:12.087 1155 1166 V WindowManager: No longer Stopped: AppWindowToken{4f73c23 token=Token{5818152 ActivityRecord{a87f1dd u0 org.sufficientlysecure.ical/.ui.MainActivity t132}}}
06-29 10:31:12.093 1155 1166 V WindowManager: notifyAppResumed: wasStopped=true AppWindowToken{4f73c23 token=Token{5818152 ActivityRecord{a87f1dd u0 org.sufficientlysecure.ical/.ui.MainActivity t132}}}
06-29 10:31:12.098 1155 1166 V WindowManager: Check opening app=AppWindowToken{4f73c23 token=Token{5818152 ActivityRecord{a87f1dd u0 org.sufficientlysecure.ical/.ui.MainActivity t132}}}: allDrawn=false startingDisplayed=false startingMoved=false isRelaunching()=false
06-29 10:31:12.122 1155 1651 W WindowManager: EGLdebug Created surface WindowStateAnimator{7f7d7ac org.sufficientlysecure.ical/org.sufficientlysecure.ical.ui.MainActivity}
06-29 10:31:12.127 1155 1651 V WindowManager: Check opening app=AppWindowToken{4f73c23 token=Token{5818152 ActivityRecord{a87f1dd u0 org.sufficientlysecure.ical/.ui.MainActivity t132}}}: allDrawn=false startingDisplayed=false startingMoved=false isRelaunching()=false
06-29 10:31:12.145 1155 1166 V WindowManager: Check opening app=AppWindowToken{4f73c23 token=Token{5818152 ActivityRecord{a87f1dd u0 org.sufficientlysecure.ical/.ui.MainActivity t132}}}: allDrawn=false startingDisplayed=false startingMoved=false isRelaunching()=false
06-29 10:31:12.170 1155 3083 D WindowManager: finishDrawingWindow: Window{150adb9 u0 org.sufficientlysecure.ical/org.sufficientlysecure.ical.ui.MainActivity} mDrawState=DRAW_PENDING
06-29 10:31:12.175 1155 1254 V WindowManager: Check opening app=AppWindowToken{4f73c23 token=Token{5818152 ActivityRecord{a87f1dd u0 org.sufficientlysecure.ical/.ui.MainActivity t132}}}: allDrawn=false startingDisplayed=false startingMoved=false isRelaunching()=false
06-29 10:31:12.180 1155 1254 V WindowManager: Check opening app=AppWindowToken{4f73c23 token=Token{5818152 ActivityRecord{a87f1dd u0 org.sufficientlysecure.ical/.ui.MainActivity t132}}}: allDrawn=true startingDisplayed=false startingMoved=false isRelaunching()=false
06-29 10:31:12.318 1155 1254 V WindowManager: Exit animation finished in Window{cd02326 u0 org.sufficientlysecure.ical/org.sufficientlysecure.ical.ui.SettingsActivity EXITING}: remove=false
06-29 10:31:12.334 1155 1166 V WindowManager: Removing Window{91c8268 u0 SetFullScreenWindow} from AppWindowToken{27adf05 token=Token{2483a7c ActivityRecord{c428d6f u0 org.sufficientlysecure.ical/.ui.SettingsActivity t132}}}
06-29 10:31:12.339 23502 23502 D ActivityThread: Remove activity client record, r= ActivityRecord{e8639d3 token=android.os.BinderProxy@590eeaa {org.sufficientlysecure.ical/org.sufficientlysecure.ical.ui.SettingsActivity}} token= android.os.BinderProxy@590eeaa
06-29 10:31:12.344 1155 1166 V WindowManager: removeIfPossible: Window{cd02326 u0 org.sufficientlysecure.ical/org.sufficientlysecure.ical.ui.SettingsActivity} callers=com.android.server.wm.WindowState.removeIfPossible:1914 com.android.server.wm.WindowManagerService.removeWindow:2031 com.android.server.wm.Session.remove:218 android.view.IWindowSession$Stub.onTransact:242 com.android.server.wm.Session.onTransact:161
06-29 10:31:12.344 1155 1166 I WindowManager: Destroying surface Surface(name=org.sufficientlysecure.ical/org.sufficientlysecure.ical.ui.SettingsActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2072 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:884 com.android.server.wm.HwWindowStateAnimator.destroySurfaceLocked:1006 com.android.server.wm.WindowState.removeImmediately:1899 com.android.server.wm.WindowState.removeIfPossible:2051 com.android.server.wm.WindowState.removeIfPossible:1914 com.android.server.wm.WindowManagerService.removeWindow:2031 com.android.server.wm.Session.remove:218
06-29 10:31:12.345 1155 1166 V WindowManager: postWindowRemoveCleanupLocked: Window{cd02326 u0 org.sufficientlysecure.ical/org.sufficientlysecure.ical.ui.SettingsActivity}
06-29 10:31:12.345 1155 1166 V WindowManager: Removing Window{cd02326 u0 org.sufficientlysecure.ical/org.sufficientlysecure.ical.ui.SettingsActivity} from AppWindowToken{27adf05 token=Token{2483a7c ActivityRecord{c428d6f u0 org.sufficientlysecure.ical/.ui.SettingsActivity t132}}}
06-29 10:31:12.350 1155 3083 V WindowManager: removeAppToken: AppWindowToken{27adf05 token=Token{2483a7c ActivityRecord{c428d6f u0 org.sufficientlysecure.ical/.ui.SettingsActivity t132}}} delayed=false Callers=com.android.server.wm.DisplayContent.removeAppToken:994 com.android.server.wm.AppWindowContainerController.removeContainer:355 com.android.server.am.ActivityRecord.removeWindowContainer:1041 com.android.server.am.ActivityStack.removeActivityFromHistoryLocked:4493
06-29 10:31:19.988 5319 5319 I NetGuard.Service: Received Intent { act=android.intent.action.PACKAGE_ADDED dat=package:org.sufficientlysecure.ical flg=0x4000010 (has extras) }
06-29 10:31:27.161 1579 1993 I ash : above launcher front pkgs: [org.sufficientlysecure.ical, com.huawei.android.launcher]
06-29 10:31:27.175 1155 1297 D ActivityManager: allPausedActivitiesComplete: r=ActivityRecord{a87f1dd u0 org.sufficientlysecure.ical/.ui.MainActivity t132} state=PAUSING
06-29 10:31:27.182 1155 6649 V WindowManager: findFocusedWindow: AppWindowToken{4f73c23 token=Token{5818152 ActivityRecord{a87f1dd u0 org.sufficientlysecure.ical/.ui.MainActivity t132}}} below Reached focused app=AppWindowToken{de290be token=Token{f072b79 ActivityRecord{7a4e040 u0 com.huawei.android.launcher/.unihome.UniHomeLauncher t88}}}
06-29 10:31:27.186 1579 1781 I AppsUsage: scnOff:false FgAPP:com.huawei.android.launcher BgAPP:org.sufficientlysecure.ical
06-29 10:31:27.195 1579 2036 I PGServer: report state:10000 event type:2 pid:0 uid:0 pkg:org.sufficientlysecure.ical to pid: 1155
06-29 10:31:27.195 1579 2036 I PGServer: report state:10000 event type:2 pid:0 uid:0 pkg:org.sufficientlysecure.ical to pid: 1579
06-29 10:31:27.195 1579 2036 I SceneReceiver: state type: 10000 eventType:2 pid:0 uid:0 pkg:org.sufficientlysecure.ical
06-29 10:31:27.201 1155 3184 V WindowManager: findFocusedWindow: AppWindowToken{4f73c23 token=Token{5818152 ActivityRecord{a87f1dd u0 org.sufficientlysecure.ical/.ui.MainActivity t132}}} below Reached focused app=AppWindowToken{de290be token=Token{f072b79 ActivityRecord{7a4e040 u0 com.huawei.android.launcher/.unihome.UniHomeLauncher t88}}}
06-29 10:31:27.348 672 1866 E BufferQueueProducer: [org.sufficientlysecure.ical/org.sufficientlysecure.ical.ui.MainActivity#0] disconnect: not connected (req=1)
06-29 10:31:27.457 1155 4346 V WindowManager: notifyAppStopped: AppWindowToken{4f73c23 token=Token{5818152 ActivityRecord{a87f1dd u0 org.sufficientlysecure.ical/.ui.MainActivity t132}}}
06-29 10:31:27.463 1155 1254 V WindowManager: Exit animation finished in Window{150adb9 u0 org.sufficientlysecure.ical/org.sufficientlysecure.ical.ui.MainActivity EXITING}: remove=false
06-29 10:31:27.463 1155 1254 E WindowManager: win=Window{150adb9 u0 org.sufficientlysecure.ical/org.sufficientlysecure.ical.ui.MainActivity EXITING} destroySurfaces: appStopped=true win.mWindowRemovalAllowed=false win.mRemoveOnExit=false
06-29 10:31:27.463 1155 1254 I WindowManager: Destroying surface Surface(name=org.sufficientlysecure.ical/org.sufficientlysecure.ical.ui.MainActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2072 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:884 com.android.server.wm.HwWindowStateAnimator.destroySurfaceLocked:1006 com.android.server.wm.WindowState.destroyOrSaveSurfaceUnchecked:2998 com.android.server.wm.WindowState.destroySurface:2951 com.android.server.wm.AppWindowToken.destroySurfaces:664 com.android.server.wm.AppWindowToken.destroySurfaces:648 com.android.server.wm.WindowState.onExitAnimationDone:4424```
EDIT: If I export the calender from the old phone with calendar-import-export v2.6 and reimport it on the new phone, no error is shown. Seems that there is a problem between the calendar-import-export and the posteo.de export.
I can see you added an edit but it got mixed into the logcat, could you please separate them so people see it? I wonder what may be the issue with the export/import that's causing it.