geeknote icon indicating copy to clipboard operation
geeknote copied to clipboard

"An invalid XML character was found" when syncing

Open WhyNotHugo opened this issue 7 years ago • 3 comments

I'm trying to sync a bunch of files into a new notebook:

# gnsync --path /notes --format plain --notebook Plain --two-way
Unknown error

Here's the logs:

$ cat error.log
2018-10-12 19:01:14,499 oauth getTmpOAuthToken 206 : Unexpected response status on get temporary oauth_token 200 != 401
2018-10-12 19:07:32,645 gnsync __init__ 146 : Sync Start
2018-10-12 19:07:33,865 gnsync _create_note 350 : Note "dead" was created
2018-10-12 19:07:34,276 gnsync _create_note 350 : Note "VisualBoyAdvance" was created
2018-10-12 19:07:34,662 gnsync _create_note 350 : Note "pidgin" was created
2018-10-12 19:07:35,292 geeknote wrapper 111 : Error: createNote : EDAMUserException(errorCode=11, parameter='An invalid XML character (Unicode: 0x1b) was found in the element content of the document.')

$ cat gnsync.log
2018-10-12 19:07:32,645 : Sync Start
2018-10-12 19:07:33,865 : Note "dead" was created
2018-10-12 19:07:34,276 : Note "VisualBoyAdvance" was created
2018-10-12 19:07:34,662 : Note "pidgin" was created

Am I breaking something, or did I find a bug?

WhyNotHugo avatar Oct 12 '18 23:10 WhyNotHugo

Can you attach here one of the files that is producing the error? The error messages alone are not enough to determine what is going on.

jeffkowalski avatar Aug 09 '19 01:08 jeffkowalski

How can I tell which file is producing the error? Only the ones that DO run fine are logged.

WhyNotHugo avatar Aug 09 '19 07:08 WhyNotHugo

Perhaps create a test notebook, populate it with a test file you suspect is producing an error, and sync. Without a reproducible test case, there's nothing I can do to address the issue.

On Fri, Aug 9, 2019 at 12:21 AM Hugo Osvaldo Barrera < [email protected]> wrote:

How can I tell which file is producing the error? Only the ones that DO run fine are logged.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jeffkowalski/geeknote/issues/107?email_source=notifications&email_token=AAAN4MBC65GP5LHPWX6YPDTQDULGXA5CNFSM4F3JJQPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD352ZCI#issuecomment-519810185, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAN4MFTZGSOI5AYDGSMZ63QDULGXANCNFSM4F3JJQPA .

jeffkowalski avatar Aug 09 '19 08:08 jeffkowalski