YunoHost-Apps / Youtube-dl-WebUI_ynh

Yunohost package for p1rox's Youtube-dl-WebUI
GNU General Public License v3.0
2 stars 2 forks source link

Character encoding for download path #1

Open vmerlet opened 8 years ago

vmerlet commented 8 years ago

When trying this app, I encountered a problem with my download path during installation process :

Choose a folder where video and music will be downloaded : /<something with é character>/ Is it a public application ? (Yes|No) (default: No) :
Traceback (most recent call last): File "/usr/lib/moulinette/yunohost/app.py", line 482, in app_install if hook_exec(app_tmp_folder + '/scripts/install', args_dict) == 0: File "/usr/lib/moulinette/yunohost/hook.py", line 306, in hook_exec arg_str = '\"{:s}\"'.format('\" \"'.join(arg_list)) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 48: ordinal not in range(128) Erreur : Une erreur inattendue est survenue

Note : position 48 is the "é" character.

It seems the app is waiting for 7bit ascii only... would be great to use unicode.

rgarrigue commented 8 years ago

This is most likely a yunohost issue in hook.py. I'll try to reproduce it, but I'm afraid I can't do much about it.