Error during Sync function

Asked by Rainer

I'm using TomDroid and TomBoy (under Ubuntu) a long time with out any problem. Now I get sync errors. I take a look at adb logcat and see that for the notes show "I/SyncService(27632): Notes are same date, doing nothing:..." entry. I change one note and take again a look. All notes, except the modified, occur with "I/SyncService(27632): Notes are same date, doing nothing:....".

On my smart phone I see for a short time a message "Fehler beim Verarbeiten der Antwort von SD-Karte" (my translation to English: Error during processing the SD-Card) and then an error frame:

Es ist ein Fehler beim Analysieren Ihrer Notitzen aufgetreten. Falls dieses Problem wiederholt auftritt melden Sie es bitte!

(my translation to English: There was an error during analzying my notes. Please report)

Is there any way how I can solve or analyze the problem.

Thanks and regards Rainer

Question information

Language:
English Edit question
Status:
Answered
For:
Tomdroid Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Rainer (r-e-l) said :
#2

Is the-are still anybody how looks at this question?

Revision history for this message
Stefan Hammer (j-4-deactivatedaccount) said :
#3

Hey,

sorry for the late reply. We moved the project to Github, so it might be better to comment there next time :)
To your question: how do you sync, whats your setup? syncing to files on the sd card?
have you tried to export the notes, clear the apps data and import again to reset the sync history completely?

Revision history for this message
Stefan Hammer (j-4-deactivatedaccount) said :
#4

sorry, not answered :)

Revision history for this message
Rainer (r-e-l) said :
#5

Hi,

I use the function "SYNCHRONISIERN" at the upper right corner. This should be syncing files to the SD-Card!

Under preferences was SD-Card defined.

I use Tomdroid on a Smartpone and a Tablet. Both get the sync error. Because I normally make my changes on the Smartphone, sync Tomdroid to SD-Card, Sync the SD-Card data with my Laptop to Ubuntu Tomboy Notes, Then sync to the Tablet. Then Tomdroid on the Tablet with SD-Card. THis now doesn't work because the Tomdroid sync to SD-Card gets the error on Smartphone and Tablet.

I See no way to export the Tomdroid data? How should I do that? I need to export the Tomdroid data vom the Smartphones Tomdroid because there are the newset versions.

Thanks and regards Rainer

Revision history for this message
Rainer (r-e-l) said :
#6

Hi,
I found the problem. I dont not how a file was created that results in this sync error. I assume it was created by a mistake. the contens of that note show me it contains data out of an other file which I known it does not belong to my Notes!

Here are the contens of that note:
<?xml version="1.0" encoding="utf-8"?>
<note version="0.3" xmlns:link="http://beatniksoftware.com/tomboy/link" xmlns:size="http://beatniksoftware.com/tomboy/size" xmlns="http://beatniksoftware.com/tomboy">
 <title>_zdlinfo_</title>
 <text xml:space="preserve"><note-content version="0.1">_zdlinfo_

\00_pack_\00khttp://yacht.s4p-iapps.com/pdf/published/company/145/pdfplace/1225/files/341479/341479-yacht_2015_10_21.zip\00
4334966181000\00\00\00\00\00\00\00\00\00\00\00\00\00</note-content></text>
 <last-change-date>2015-12-24T17:35:03.0000000+00:00</last-change-date>
 <last-metadata-change-date>2015-12-24T17:35:03.0000000+00:00</last-metadata-change-date>
 <create-date>2000-01-01T00:00:00.0000000+01:00</create-date>
 <cursor-position>0</cursor-position>
 <width>0</width>
 <height>0</height>
 <x>-1</x>
 <y>-1</y>
 <open-on-startup>False</open-on-startup>
</note>

I delete this file an all-thing goes right. May be You should desite is it an error of Tomdroid? In my opinion Tomdroid should not import such a badly text (unprintable character).

Regards Rainer

Revision history for this message
Stefan Hammer (j-4-deactivatedaccount) said :
#7

Hi,
Awersome, that you found the issue! I will have a look at the faulty note, maybe some special characters are not escaped well enough. This is for sure an issue in Tomdroid then :)
Cheers,
Stefan

Can you help with this problem?

Provide an answer of your own, or ask Rainer for more information if necessary.

To post a message you must log in.