calendar-import-export icon indicating copy to clipboard operation
calendar-import-export copied to clipboard

v2.5 ics import error

Open ioctl-user opened this issue 8 years ago • 8 comments

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.

ioctl-user avatar Jul 17 '17 10:07 ioctl-user

Applications were installed from F-Droid.

ioctl-user avatar Jul 17 '17 10:07 ioctl-user

Same issue for me. Reverted to 2.4 and everything worked just fine

CaptSpify avatar Sep 25 '17 23:09 CaptSpify

@tasn Could you look into this?

dschuermann avatar Sep 27 '17 09:09 dschuermann

@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.

tasn avatar Sep 27 '17 09:09 tasn

I released 2.6. Let's try this fix.

dschuermann avatar Sep 27 '17 09:09 dschuermann

Is it fixed?

tasn avatar Oct 25 '17 18:10 tasn

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. 

firestorm99 avatar Jun 29 '18 08:06 firestorm99

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.

tasn avatar Jul 01 '18 09:07 tasn