Define Raw Image Root crashes if the user selects a directory containing non ascii characters #8

Closed
opened 2022-01-25 15:01:47 +01:00 by graffy · 1 comment
Owner
[INFO] Reading available sites from https://imagej.net/
setting settings to {}
setting raw_images_root_path to bla
setting settings to {u'raw_images_root_path': u'/home/graffy/work/lipase/raw-images'}
setting raw_images_root_path to /home/graffy/work/lipase/raw images
setting settings to {}
setting raw_images_root_path to bla
setting settings to {u'raw_images_root_path': u'/home/graffy/work/lipase/raw images'}
getting raw_images_root_path
setting settings to {}
setting raw_images_root_path to bla
setting settings to {u'raw_images_root_path': u'/home/graffy/work/lipase/raw images'}
[ERROR] Traceback (most recent call last):
  File "Ipr/Lipase/Define_Raw_Images_Root.py", line 27, in <module>
  File "Ipr/Lipase/Define_Raw_Images_Root.py", line 22, in run_script
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 33: ordinal not in range(128)
``` [INFO] Reading available sites from https://imagej.net/ setting settings to {} setting raw_images_root_path to bla setting settings to {u'raw_images_root_path': u'/home/graffy/work/lipase/raw-images'} setting raw_images_root_path to /home/graffy/work/lipase/raw images setting settings to {} setting raw_images_root_path to bla setting settings to {u'raw_images_root_path': u'/home/graffy/work/lipase/raw images'} getting raw_images_root_path setting settings to {} setting raw_images_root_path to bla setting settings to {u'raw_images_root_path': u'/home/graffy/work/lipase/raw images'} [ERROR] Traceback (most recent call last): File "Ipr/Lipase/Define_Raw_Images_Root.py", line 27, in <module> File "Ipr/Lipase/Define_Raw_Images_Root.py", line 22, in run_script UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 33: ordinal not in range(128) ```
graffy added the
bug
label 2022-01-25 15:01:47 +01:00
graffy self-assigned this 2022-01-25 15:01:47 +01:00
Author
Owner

fixed by ebcfb1747f

fixed by ebcfb1747f
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: graffy/lipase#8
No description provided.