brvier/ownNotes

UnicodeDecodeError exception during sync

Closed this issue · 7 comments

  • Platform: Harmattan PR1.3
  • ownNotes: 1.1.0
  • ownCloud: 5.0.13

Synchronisation fails when the refresh button is pressed with the following info:

<type 'exceptions.UnicodeDecodeError'>: [object Object]

I have tried deleting the Notes folder on the cloud but with no success. Synchronisation is not working neither in upload nor in download.

My configuration:

Url: https://myowncloudhost.mydomain/remote.php/webdav
Login: Owncloud Login
Password: Owncloud Password

Not fully closed with version 1.2.0

If the note filename has accents, there is still the UnicodeDecodeError

Hum ... it didn't happen with my configuration. Normally n9 use utf-8 filesystem, and sabredav (the webdav libs used by ownCloud) should answer in utf-8.

Can i have a account to made some test on your ownCloud installation, and have a example name of a file that trigger a UnicodeError ?

Thanks

Salut,

Je t'ai créé un compte:

Url: https://owncloud.tigre-bleu.net/remote.php/webdav

Login: ownNotes

Password: ****

Notes Folder: Notes

Il y a deux fichiers, un avec accent et l'autre sans. Tous les 2 ont été créés à partir du n9:

  • D'abord celui sans accent: Pas de problème, le fichier est envoyé sur ownCloud et s'affiche sur le téléphone
  • Ensuite celui avec accent: Il est bien envoyé sur ownCloud mais ne s'affiche pas sur le téléphone et il y a l'exception. A noter que dans le dossier .ownnotes du n9, le fichier est bien présent. Je pense donc qu'il s'agit vraiment d'un problème d'affichage local qui n'a rien à voir avec ownCloud.

A+

Antoine

----- Mail original -----

De: "Benoît HERVIER" notifications@github.com
À: "khertan/ownNotes" ownNotes@noreply.github.com
Cc: "Antoine Vacher" devel@tigre-bleu.net
Envoyé: Vendredi 22 Novembre 2013 12:54:19
Objet: Re: [ownNotes] UnicodeDecodeError exception during sync (#1)

Hum ... it didn't happen with my configuration. Normally n9 use utf-8 filesystem, and sabredav (the webdav libs used by ownCloud) should answer in utf-8.

Can i have a account to made some test on your ownCloud installation, and have a example name of a file that trigger a UnicodeError ?

Thanks


Reply to this email directly or view it on GitHub .

Indeed, i ve fixed sync issue, but there is still error with note list view.

Thx

But there is still some unicode error when creating file with accent from n9 ...

thx for the test account

I confirm the fix in 1.2.2

Thanks for your help and tests.
Regards,