pydio-sync icon indicating copy to clipboard operation
pydio-sync copied to clipboard

You must not use 8-bit bytestrings

Open MrMEEE opened this issue 7 years ago • 7 comments

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.

MrMEEE avatar May 17 '18 12:05 MrMEEE

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 😸

capybarbu avatar Jul 19 '18 13:07 capybarbu

Same here for one user.

simon-hartmann avatar Jul 20 '18 08:07 simon-hartmann

we're on it (for windows at least)

cdujeu avatar Jul 20 '18 09:07 cdujeu

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

simon-hartmann avatar Jul 25 '18 06:07 simon-hartmann

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

jabarkarim avatar Jul 30 '18 14:07 jabarkarim

It seems to work on macOS! 👍

kingfisher77 avatar Jul 31 '18 04:07 kingfisher77

Seems to work on Windows too :+1:

capybarbu avatar Jul 31 '18 15:07 capybarbu