pydio / pydio-sync

Python version of the Pydio synchronization client
https://pydio.com
GNU General Public License v3.0
82 stars 32 forks source link

You must not use 8-bit bytestrings #165

Open MrMEEE opened 6 years ago

MrMEEE commented 6 years ago

Hi

I got the following error, both on my Windows and Linux clients..

After settings the base language on the pydio server to da_DK.UTF-8, it disappeared on my Windows clients...

But the Linux Clients keeps failing.. seems to have something to do with my danish letter: øæå...

What to do..???

/Martin

13:38:48 ERROR 139763966973696 Thread-2 Unexpected Error: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings. Traceback (most recent call last): File "/home/mj/Programmer/Pydio-new/pydio-agent/pydio-sync/src/pydio/job/continous_merger.py", line 566, in run store_conflicts = self.current_store.clean_and_detect_conflicts(self.db_handler) File "/home/mj/Programmer/Pydio-new/pydio-agent/pydio-sync/src/pydio/job/change_stores.py", line 536, in clean_and_detect_conflicts status_handler.update_node_status(path, 'CONFLICT', self.sqlite_row_to_dict(row, load_node=True)) File "/home/mj/Programmer/Pydio-new/pydio-agent/pydio-sync/src/pydio/job/localdb.py", line 317, in update_node_status conn.execute("UPDATE ajxp_node_status SET status=?, detail=? WHERE node_id=?", (status, detail, node_id)) ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.

capybarbu commented 6 years ago

same here on windows (PydioSync v1.2.9) image

note that i don't own the pydio server so server manipulation will be complicated. But it should be fixed client side if i read correctly the error 😸

simon-hartmann commented 6 years ago

Same here for one user.

cdujeu commented 6 years ago

we're on it (for windows at least)

simon-hartmann commented 6 years ago

Thanks for your response. How long will it take to find a solution?

jabarkarim commented 6 years ago

Hi there,

Here is where you can get the Pydio Sync client latest improvements for Windows and OSX: https://download.pydio.com/pub/pydio-sync/develop/packages/

Please try it and let us know if it helps.

Regards

kingfisher77 commented 6 years ago

It seems to work on macOS! 👍

capybarbu commented 6 years ago

Seems to work on Windows too :+1: