https://bugs.kde.org/show_bug.cgi?id=527298

Nicholas LaPointe <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1
                 CC|                            |[email protected]

--- Comment #2 from Nicholas LaPointe <[email protected]> ---
Thank you for your report! While I get a different result than you (an error
message rather a folder with a corrupted name), I can confirm that there is an
issue here.

Notes for the other developers:
Traceback (most recent call last):
  [...earlier calls left out for brevity...]
  File
"/tmp/.mount_krita-HoiBDP/usr/share/krita/pykrita/exportlayers/uiexportlayers.py",
line 184, in mkdir
    os.makedirs(target_directory)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^

  File "<frozen os>", line 218, in makedirs

  File "<frozen os>", line 228, in makedirs

UnicodeEncodeError: 'ascii' codec can't encode character '\xf1' in position 18:
ordinal not in range(128)


sys.getfilesystemencoding() is returning "ascii" if I run it inside the
scripter. Running os.makedirs() using a non-ASCII character in the path from
inside of the scripter also results in the same UnicodeEncodeError.
Tested with krita-6.0.3-x86_64.AppImage, krita-6.0.4-x86_64.AppImage,
krita-5.3.4.1-x86_64.AppImage

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to