From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Jones Subject: Re: [Android] Force close with MobileOrg Android 0.2_alpha and development snapshot Date: Wed, 21 Apr 2010 17:05:46 -0400 Message-ID: References: <773b85131002252051y2055e382j275c2e94ab3bd903@mail.gmail.com> <20100421203549.GA29855@taupan.ath.cx> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1772483704==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4h7f-0001sk-Pq for emacs-orgmode@gnu.org; Wed, 21 Apr 2010 17:06:15 -0400 Received: from [140.186.70.92] (port=34201 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4h7a-0001gp-6N for emacs-orgmode@gnu.org; Wed, 21 Apr 2010 17:06:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4h7X-0006e3-Ia for emacs-orgmode@gnu.org; Wed, 21 Apr 2010 17:06:09 -0400 Received: from mail-qy0-f194.google.com ([209.85.221.194]:60532) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4h7X-0006dp-El for emacs-orgmode@gnu.org; Wed, 21 Apr 2010 17:06:07 -0400 Received: by qyk32 with SMTP id 32so1434406qyk.12 for ; Wed, 21 Apr 2010 14:06:06 -0700 (PDT) In-Reply-To: <20100421203549.GA29855@taupan.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: friedel@nomaden.org, emacs-orgmode@gnu.org --===============1772483704== Content-Type: multipart/alternative; boundary=00163630fd470298e80484c59008 --00163630fd470298e80484c59008 Content-Type: text/plain; charset=ISO-8859-1 Looks like this might be a bug trying to write your files out to subdirectories it looks like I'm not trying to create the subdirectories. If you put your files in just the root directory does that work for you? 73, Matthew W. Jones (KI4ZIB) http://matburt.net On Wed, Apr 21, 2010 at 4:35 PM, Friedrich Delgado Friedrichs < friedel@nomaden.org> wrote: > Hi! > > I finally got around to trying out MobileOrg for Android. > > After I finally managed to set up webdav and sync my files, MobileOrg > force closed. (development snapshot from today) > > Now it force closes every time I try to start it. > > I tried the 0.2 alpha release next but it also force closed on > startup. > > Looking into my /sdcard/mobileorg files, I noticed that only parts of > my files were there. > > In particular, I notice that I have subdirectories 'home' and 'work' > in my Org files, but there are no subdirectories in the > /sdcard/mobileorg directory. > > Then I tried deinstalling the application and reinstalling (this time > the 0.2 alpha), put in my setup, pressed sync and get a force close > again. > > Unfortunately the logcat contains the full contents of some of my org > files, which I can't post to the list, so I'm posting parts of it > here: > > [ log with contents of files] > > I/global (14760): Default buffer size used in BufferedWriter > constructor. It would be better to be explicit if an 8k-char buffer is > required. > E/MobileOrg(14760): IO Exception initializing writer on sdcard file > > [log of further files, but this time *without* the contents] > > E/MobileOrg(14760): Error: /sdcard/mobileorg/work/Someday.org in file > work/Someday.org > D/AndroidRuntime(14760): Shutting down VM > W/dalvikvm(14760): threadid=3: thread exiting with uncaught exception > (group=0x4001e180) > E/AndroidRuntime(14760): Uncaught handler: thread main exiting due to > uncaught exception > D/dalvikvm(14760): GC freed 858 objects / 810176 bytes in 83ms > E/AndroidRuntime(14760): java.lang.NullPointerException > E/AndroidRuntime(14760): at > com.matburt.mobileorg.OrgFileParser.parse(OrgFileParser.java:99) > E/AndroidRuntime(14760): at > > com.matburt.mobileorg.MobileOrgActivity.runParser(MobileOrgActivity.java:145) > E/AndroidRuntime(14760): at > > com.matburt.mobileorg.MobileOrgActivity.postSynchronize(MobileOrgActivity.java:269) > E/AndroidRuntime(14760): at > com.matburt.mobileorg.MobileOrgActivity$1.run(MobileOrgActivity.java:117) > E/AndroidRuntime(14760): at > android.os.Handler.handleCallback(Handler.java:587) > E/AndroidRuntime(14760): at > android.os.Handler.dispatchMessage(Handler.java:92) > E/AndroidRuntime(14760): at > android.os.Looper.loop(Looper.java:123) > E/AndroidRuntime(14760): at > android.app.ActivityThread.main(ActivityThread.java:4358) > E/AndroidRuntime(14760): at > java.lang.reflect.Method.invokeNative(Native Method) > E/AndroidRuntime(14760): at > java.lang.reflect.Method.invoke(Method.java:521) > E/AndroidRuntime(14760): at > > com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791) > E/AndroidRuntime(14760): at > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549) > E/AndroidRuntime(14760): at > dalvik.system.NativeStart.main(Native Method) > I/Process ( 2566): Sending signal. PID: 14760 SIG: 3 > I/dalvikvm(14760): threadid=7: reacting to signal 3 > I/dalvikvm(14760): Wrote stack trace to '/data/anr/traces.txt' > D/dalvikvm( 2898): GC freed 68 objects / 2408 bytes in 209ms > D/dalvikvm( 2614): GC freed 2336 objects / 110792 bytes in 201ms > I/Process (14760): Sending signal. PID: 14760 SIG: 9 > I/ActivityManager( 2566): Process com.matburt.mobileorg (pid 14760) > has died. > I/WindowManager( 2566): WIN DEATH: Window{43e0e690 > com.matburt.mobileorg/com.matburt.mobileorg.MobileOrgActivity > paused=false} > I/WindowManager( 2566): WIN DEATH: Window{43e47e50 > com.matburt.mobileorg/com.matburt.mobileorg.MobileOrgActivity > paused=false} > > We should probably do further debugging off-list. > > -- > Friedrich Delgado Friedrichs > TauPan on Ircnet and Freenode ;) > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --00163630fd470298e80484c59008 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Looks like this might be a bug trying to write your files out to subdirecto= ries it looks like I'm not trying to create the subdirectories. =A0 If = you put your files in just the root directory does that work for you?

73,
Matthew W. Jones (KI4ZIB)
http://matburt.net


On Wed, Apr 21, 2010 at 4:35 PM, Friedri= ch Delgado Friedrichs <friedel@nomaden.org> wrote:
Hi!

I finally got around to trying out MobileOrg for Android.

After I finally managed to set up webdav and sync my files, MobileOrg
force closed. (development snapshot from today)

Now it force closes every time I try to start it.

I tried the 0.2 alpha release next but it also force closed on
startup.

Looking into my /sdcard/mobileorg files, I noticed that only parts of
my files were there.

In particular, I notice that I have subdirectories 'home' and '= work'
in my Org files, but there are no subdirectories in the
/sdcard/mobileorg directory.

Then I tried deinstalling the application and reinstalling (this time
the 0.2 alpha), put in my setup, pressed sync and get a force close
again.

Unfortunately the logcat contains the full contents of some of my org
files, which I can't post to the list, so I'm posting parts of it here:

[ log with contents of files]

I/global =A0(14760): Default buffer size used in BufferedWriter
constructor. It would be better to be explicit if an 8k-char buffer is
required.
E/MobileOrg(14760): IO Exception initializing writer on sdcard file

[log of further files, but this time *without* the contents]

E/MobileOrg(14760): Error: /sdcard/mobileorg/work/Someday.org in file
work/Someday.org
D/AndroidRuntime(14760): Shutting down VM
W/dalvikvm(14760): threadid=3D3: thread exiting with uncaught exception
(group=3D0x4001e180)
E/AndroidRuntime(14760): Uncaught handler: thread main exiting due to
uncaught exception
D/dalvikvm(14760): GC freed 858 objects / 810176 bytes in 83ms
E/AndroidRuntime(14760): java.lang.NullPointerException
E/AndroidRuntime(14760): =A0 =A0 =A0 =A0at
com.matburt.mobileorg.OrgFileParser.parse(OrgFileParser.java:99)
E/AndroidRuntime(14760): =A0 =A0 =A0 =A0at
com.matburt.mobileorg.MobileOrgActivity.runParser(MobileOrgActivity.java:14= 5)
E/AndroidRuntime(14760): =A0 =A0 =A0 =A0at
com.matburt.mobileorg.MobileOrgActivity.postSynchronize(MobileOrgActivity.j= ava:269)
E/AndroidRuntime(14760): =A0 =A0 =A0 =A0at
com.matburt.mobileorg.MobileOrgActivity$1.run(MobileOrgActivity.java:117) E/AndroidRuntime(14760): =A0 =A0 =A0 =A0at
android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime(14760): =A0 =A0 =A0 =A0at
android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime(14760): =A0 =A0 =A0 =A0at
android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(14760): =A0 =A0 =A0 =A0at
android.app.ActivityThread.main(ActivityThread.java:4358)
E/AndroidRuntime(14760): =A0 =A0 =A0 =A0at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(14760): =A0 =A0 =A0 =A0at
java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(14760): =A0 =A0 =A0 =A0at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:= 791)
E/AndroidRuntime(14760): =A0 =A0 =A0 =A0at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
E/AndroidRuntime(14760): =A0 =A0 =A0 =A0at
dalvik.system.NativeStart.main(Native Method)
I/Process ( 2566): Sending signal. PID: 14760 SIG: 3
I/dalvikvm(14760): threadid=3D7: reacting to signal 3
I/dalvikvm(14760): Wrote stack trace to '/data/anr/traces.txt'
D/dalvikvm( 2898): GC freed 68 objects / 2408 bytes in 209ms
D/dalvikvm( 2614): GC freed 2336 objects / 110792 bytes in 201ms
I/Process (14760): Sending signal. PID: 14760 SIG: 9
I/ActivityManager( 2566): Process com.matburt.mobileorg (pid 14760)
has died.
I/WindowManager( 2566): WIN DEATH: Window{43e0e690
com.matburt.mobileorg/com.matburt.mobileorg.MobileOrgActivity
paused=3Dfalse}
I/WindowManager( 2566): WIN DEATH: Window{43e47e50
com.matburt.mobileorg/com.matburt.mobileorg.MobileOrgActivity
paused=3Dfalse}

We should probably do further debugging off-list.

--
=A0 =A0 =A0 =A0Friedrich Delgado Friedrichs <friedel@nomaden.org>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 TauPan on Ircnet a= nd Freenode ;)


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

--00163630fd470298e80484c59008-- --===============1772483704== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1772483704==--