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

Python 2: (Export/)Import broken for filenames containing non-ASCII characters #904

Open
d-maurer opened this issue Oct 6, 2020 · 0 comments
Labels

Comments

@d-maurer
Copy link
Contributor

d-maurer commented Oct 6, 2020

BUG/PROBLEM REPORT

Export an object with a non-ASCII id (this results in a filename with non-ASCII characters);
import it (at a different place). This fails with

Traceback (innermost last):

    Module ZPublisher.WSGIPublisher, line 162, in transaction_pubevents
    Module ZPublisher.WSGIPublisher, line 359, in publish_module
    Module ZPublisher.WSGIPublisher, line 262, in publish
    Module ZPublisher.mapply, line 85, in mapply
    Module ZPublisher.WSGIPublisher, line 63, in call_object
    Module OFS.ObjectManager, line 660, in manage_importObject
    Module posixpath, line 73, in join

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

What version of Python and Zope/Addons I am using:

Python 2, Zope 4.x

@icemac icemac added this to To do in Zope 4 bugfix via automation Oct 12, 2020
@icemac icemac added the bug label Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Zope 4 bugfix
  
To do
Development

No branches or pull requests

2 participants