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

UnicodeEncodeError in generateImageDump #403

Open
copslock opened this issue Jan 15, 2021 · 1 comment
Open

UnicodeEncodeError in generateImageDump #403

copslock opened this issue Jan 15, 2021 · 1 comment

Comments

@copslock
Copy link

The script supports ASCII encoding only in filename3 caused the problem,UTF-8 or Unicode will be needed
Traceback (most recent call last): File "dumpgenerator.py", line 2569, in <module> main() File "dumpgenerator.py", line 2561, in main createNewDump(config=config, other=other) File "dumpgenerator.py", line 2140, in createNewDump session=other['session']) File "dumpgenerator.py", line 1487, in generateImageDump imagefile = open(filename3, 'wb') UnicodeEncodeError: 'ascii' codec can't encode characters in position 51-53: ordinal not in range(128)

@nemobis
Copy link
Member

nemobis commented Jan 15, 2021

Are you sure that's a complete traceback? Please include the URL of the wiki you're dumping.

We know of #269

@nemobis nemobis changed the title filename encoding UnicodeEncodeError in generateImageDump Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants