Renaming international domain name// URL names

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/api.py", line 439, in process
    ret = self.actionsmap.process(arguments, timeout=30, route=_route)
  File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 523, in process
    return func(**arguments)
  File "/usr/lib/moulinette/yunohost/log.py", line 284, in func_wrapper
    result = func(*args, **kwargs)
  File "/usr/lib/moulinette/yunohost/app.py", line 533, in app_change_url
    args=args_list, env=env_dict)[0] != 0:
  File "/usr/lib/moulinette/yunohost/hook.py", line 364, in hook_exec
    for k, v in env.items()]), cmd)
  File "/usr/lib/moulinette/yunohost/hook.py", line 447, in shell_quote
    s = str(s)
**UnicodeEncodeError: 'ascii' codec can't encode character u'\u0103' in position 4: ordinal not in range(128)**

PUT /apps//changeurl
{"path":"/new name","app":"dokuwiki","domain":"snip.com"}

i got this when i try to change an URL, the app get installed not a problem there

It is unclear what you want to do. Where is the “ă” character you want to use, the domain, or the path? The documentation (non-latin characteurs section) may help you.

is in the path

Then I think you have hit a limitation of YunoHost, sorry. :frowning: Unicode characters are not handled right now.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.