Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You must not use 8-bit bytestrings #165

Open
MrMEEE opened this issue May 17, 2018 · 7 comments
Open

You must not use 8-bit bytestrings #165

MrMEEE opened this issue May 17, 2018 · 7 comments

Comments

@MrMEEE
Copy link

MrMEEE commented May 17, 2018

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
Copy link

capybarbu commented Jul 19, 2018

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
Copy link

Same here for one user.

@cdujeu
Copy link
Member

cdujeu commented Jul 20, 2018

we're on it (for windows at least)

@simon-hartmann
Copy link

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

@jabarkarim
Copy link
Contributor

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
Copy link

It seems to work on macOS! 👍

@capybarbu
Copy link

Seems to work on Windows too 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants