Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Fix UnicodeDecodeError for user names with non-ascii characters #42

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jonykalavera
Copy link

fix format_published_by_details, format_modified_by_details and format_publish_description UnicodeDecodeError

@alandann
Copy link
Contributor

Hi,

Can I just check what the problem was that you were seeing, which engine it was in and on which OS?

Typically we try to handle unicode issues at either the engine level or the point of entry into the system. I'd like to understand more about how non-latin characters made it to this point as there could be a more fundamental bug somewhere else.

Thanks
Alan

@alandann
Copy link
Contributor

I should have probably mentioned that we released a new version of the Maya engine recently that contained a fix for unicode/non-latin character display. If the problem you are seeing is in the Maya engine and you are on a version that is older than v0.4.3 then try updating and see if this fixes the problem.

Thanks
Alan

@jonykalavera
Copy link
Author

i just tested this on my sandbox with all the latest apps and engines

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 73: ordinal not in range(128)

How do you suggest we procede? i mean shoud this be traced back to the core/api instead of using this fix?

@jonykalavera
Copy link
Author

yes the engine is tk-maya and the os is CentOS (Stella) 6.5

@jonykalavera
Copy link
Author

this is a dump of app_info on my sanbox http://pastebin.com/6JUWmWLK

i switched the tk-multi-workfiles app on the asset_step to test this out.

@alandann
Copy link
Contributor

Hi,

That is weird - use the fix you suggested for now but let me look into it before I pull in the fix as there are a ton of other places that could break in the same way and would also need fixing if the engine isn't doing what it should be.

Could you do me a favour and create a Toolkit support ticket (email [email protected]) and include your zipped config?

Thanks
Alan

@jonykalavera
Copy link
Author

Hello,
sorry i was out of town. i'll do it tomorrow at the office.
cheers.

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

Successfully merging this pull request may close these issues.

2 participants