From mboxrd@z Thu Jan 1 00:00:00 1970 From: Henning Weiss Subject: Re: Differences between MobileOrg and MobileOrgNG Date: Thu, 27 Sep 2012 15:13:51 +0200 Message-ID: References: <87vcf0jqjy.fsf@REWINDWIN.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=14dae9340bade6d7ed04caaeb56f Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THDuj-0006rG-9s for emacs-orgmode@gnu.org; Thu, 27 Sep 2012 09:14:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THDub-0006sH-6P for emacs-orgmode@gnu.org; Thu, 27 Sep 2012 09:14:01 -0400 Received: from mail-ie0-f169.google.com ([209.85.223.169]:63562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THDua-0006sA-W4 for emacs-orgmode@gnu.org; Thu, 27 Sep 2012 09:13:53 -0400 Received: by ied10 with SMTP id 10so4909140ied.0 for ; Thu, 27 Sep 2012 06:13:52 -0700 (PDT) In-Reply-To: <87vcf0jqjy.fsf@REWINDWIN.i-did-not-set--mail-host-address--so-tickle-me> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Robert Eckl Cc: emacs-orgmode@gnu.org --14dae9340bade6d7ed04caaeb56f Content-Type: text/plain; charset=ISO-8859-1 Hi, On Thu, Sep 27, 2012 at 1:46 AM, Robert Eckl wrote: > > Hi, > > Henning Weiss wrote: > > > On Wed, Sep 19, 2012 at 12:53 AM, wrote: > > Henning Weiss wrote: > > > >>> On Mon, Sep 17, 2012 at 9:20 PM, Robert Eckl wrote: > > > >>> If i Push the org-files under Windows with MobileOrg the different > >>> org-files are not synced, but with MobileOrgNG they are. If i push > >>> the org-files under Mac OS, the org-files are synced even with > >>> MobileOrg. > > > >> This sounds like a known bug with org-mode on Windows, as it does not > >> generate a complete checksum file. See the discussion here. It seems > >> that changing from sha1sum.exe to md5sum.exe for the generation of the > >> checksum file fixes that issue. > > Thank you very much for the hint. Changing sha1sum.exe to md5sum.exe did > > not change anything for me, but changing from Gnuwin sha1sum/md5sum to > > the one from ftp://ftp.gnupg.org/gcrypt/binary/sha1sum.exe seems to fix > > the issue for me. > > > > Does that mean that the default checksum generation utility of cygwin > > that is used by org-mode is broken? > > I don't think so. > > Will upgrading cygwin to a newer > > version fix this, or did you need to change your setup? > > I'm using an emacs version from http://alpha.gnu.org/gnu/emacs/windows/. > At first there were no md5sum binary found. So i installed the coreutils > (and diffutils) from gnuwin32. Seems that these utils don't work > fine with emacs. > > > I hope, other issues are fixed too. Sometimes org-mobile-push crashes > > because of IIRC unexpected hashes. If I remove the related > > agenda-file(s), do the push, and then add the files to the agenda-files > > the push sometimes is succesfull. I have no idea, how to fix it. > > > > Could you try to produce a minimal setup that produces this problem? I'm > > sure more people on windows have this problem. I would at least like to > > post a workaround for this issue on the mobileorg-android web page. > > > I can try this, but seems to be difficult, because removing the file > from the agende-file-list and adding it another time sometimes solves > the issue. > > Invoking C-c C-x RET p from one file which begins with > # Time-stamp: "2012-09-27 Do 01:17:19 (re)" > #+LAST_MOBILE_CHANGE: 2012-03-12 21:40:01 > #TAGS: PHONE(p) URGENT(u) MAIL(e) Anwesenheit (a) Musik (m) Orgel (o) > Cello (i) > > I got an error, then I deleted line 2 > #+LAST_MOBILE_CHANGE: 2012-03-1221:40:01 > the error no more occured. > > After this i copied the line in another agenda-file from wich invoking > org-mobile-push does not result in an error. > > The error did not occur with this changed file. > Then I copied the line in the first file and started org-mobile-push: > > The error didn't occur further. So i am confused. > Please always wipe your entire org-mobile directory before testing a new checksum tool. Otherwise it might be hard to reproduce. I found another thread you might find useful here . > Do you speak german? Im thinking, you can better understand me, if i > could write in german. > Ja, ich spreche Deutsch :) Henning --14dae9340bade6d7ed04caaeb56f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

On Thu, Sep 27, 2012 at 1:46 AM, Robe= rt Eckl <eckl.robert@arcor.de> wrote:

Hi,

Henning Weiss wrote:

> On Wed, Sep 19, 2012 at 12:53 AM, <eckl.robert@arcor.de> wrote:
> Henning Weiss wrote:
>
>>> On Mon, Sep 17, 2012 at 9:20 PM, Robert Eckl wrote:
>
>>> If i Push the org-files under Windows with MobileOrg the diffe= rent
>>> org-files are not synced, but with MobileOrgNG they are. If i = push
>>> the org-files under Mac OS, the org-files are synced even with=
>>> MobileOrg.
>
>> This sounds like a known bug with org-mode on Windows, as it does = not
>> generate a complete checksum file. See the discussion here. It see= ms
>> that changing from sha1sum.exe to md5sum.exe for the generation of= the
>> checksum file fixes that issue.
> Thank you very much for the hint. Changing sha1sum.exe to md5sum.exe d= id
> not change anything for me, but changing from Gnuwin sha1sum/md5sum to=
> the one from ftp://ftp.gnupg.org/gcrypt/binary/sha1sum.exe seems = to fix
> the issue for me.
>
> Does that mean that the default checksum generation utility of cygwin<= br> > that is used by org-mode is broken?

I don't think so.
> Will upgrading cygwin to a newer
> version fix this, or did you need to change your setup?

I'm using an emacs version from http://alpha.gnu.org/gnu/emacs/windows= /.
At first there were no md5sum binary found. So i installed the coreutils (and diffutils) from gnuwin32. Seems that these utils don't work
fine with emacs.

> I hope, other issues are fixed too. Sometimes org-mobile-push crashes<= br> > because of IIRC unexpected hashes. If I remove the related
> agenda-file(s), do the push, and then add the files to the agenda-file= s
> the push sometimes is succesfull. I have no idea, how to fix it.
>
> Could you try to produce a minimal setup that produces this problem? I= 'm
> sure more people on windows have this problem. I would at least like t= o
> post a workaround for this issue on the mobileorg-android web page. >
I can try this, but seems to be difficult, because removing the file<= br> from the agende-file-list and adding it another time sometimes solves
the issue.

Invoking C-c C-x RET p from one file which begins with
# Time-stamp: "2012-09-27 Do 01:17:19 (re)"
#+LAST_MOBILE_CHANGE: 2012-03-12 21:40:01
#TAGS: PHONE(p) URGENT(u) MAIL(e) Anwesenheit (a) Musik (m) Orgel (o) Cello= (i)

I got an error, then I deleted line 2
#+LAST_MOBILE_CHANGE: 2= 012-03-1221:40:01
the error no more occured.

After this i copied the line in another agenda-file from wich invoking
org-mobile-push does not result in an error.

The error did not occur with this changed file.
Then I copied the line in the first file and started org-mobile-push:

The error didn't occur further. So i am confused.
=
Please always wipe your entire org-mobile directory before t= esting a new checksum tool. Otherwise it might be hard to reproduce. I foun= d another thread you might find useful=A0here.
=A0
Do you speak german? Im thinking, you can better understand me, if i
could write in german.

=A0Ja, ich sprec= he Deutsch :)

Henning

--14dae9340bade6d7ed04caaeb56f--