Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Installation failed with accent in app label #3

Open
opi opened this issue May 16, 2019 · 0 comments
Open

Installation failed with accent in app label #3

opi opened this issue May 16, 2019 · 0 comments

Comments

@opi
Copy link
Collaborator

opi commented May 16, 2019

Label is "Noé".

Raw log :

args:
  app: https://github.com/YunoHost-Apps/staticwebapp_ynh/
  args: domain=www.domain.cool&path=%2F&is_public=1
  force: false
  label: "No\xE9"
  no_remove_on_failure: false
ended_at: 2019-05-16 07:09:47.880517
env:
  YNH_APP_ARG_DOMAIN: www.domain.cool
  YNH_APP_ARG_IS_PUBLIC: 1
  YNH_APP_ARG_PATH: /
  YNH_APP_ID: staticwebapp
  YNH_APP_INSTANCE_NAME: staticwebapp__2
  YNH_APP_INSTANCE_NUMBER: '2'
  YNH_CWD: /var/cache/yunohost/from_file/staticwebapp_ynh-master/scripts
  YNH_STDINFO: /tmp/tmpLxQR39/stdinfo
  YNH_STDRETURN: /tmp/tmpMwGlUv/stdreturn
error: 'Une erreur inattendue est survenue : shell command return code: 1'
operation: app_install
related_to:
- - app
  - staticwebapp
started_at: 2019-05-16 07:09:44.280891
success: false

============

2019-05-16 09:09:44,288: INFO - Installation de l'application staticwebapp …
2019-05-16 09:09:44,640: DEBUG - Exécution de la commande 'sh -c YNH_APP_INSTANCE_NUMBER=2 YNH_CWD=/var/cache/yunohost/from_file/staticwebapp_ynh-master/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmpLxQR39/stdinfo YNH_APP_INSTANCE_NAME=staticwebapp__2 YNH_STDRETURN=/tmp/tmpMwGlUv/stdreturn YNH_APP_ID=staticwebapp YNH_APP_ARG_PATH=/ YNH_APP_ARG_DOMAIN=www.domain.cool BASH_XTRACEFD=7 /bin/bash -x "./install" www.domain.cool / 1 staticwebapp__2 7>&1' …
2019-05-16 09:09:44,641: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=2 YNH_CWD=/var/cache/yunohost/from_file/staticwebapp_ynh-master/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmpLxQR39/stdinfo YNH_APP_INSTANCE_NAME=staticwebapp__2 YNH_STDRETURN=/tmp/tmpMwGlUv/stdreturn YNH_APP_ID=staticwebapp YNH_APP_ARG_PATH=/ YNH_APP_ARG_DOMAIN=www.domain.cool BASH_XTRACEFD=7 /bin/bash -x "./install" www.domain.cool / 1 staticwebapp__2 7>&1']'
2019-05-16 09:09:44,686: DEBUG - + set -e
2019-05-16 09:09:44,688: DEBUG - + app=staticwebapp__2
2019-05-16 09:09:44,688: DEBUG - + domain=www.domain.cool
2019-05-16 09:09:44,689: DEBUG - + path=/
2019-05-16 09:09:44,689: DEBUG - + is_public=1
2019-05-16 09:09:44,689: DEBUG - + path=
2019-05-16 09:09:44,690: DEBUG - + location=/
2019-05-16 09:09:44,690: DEBUG - + sudo yunohost app checkurl www.domain.cool -a staticwebapp__2
2019-05-16 09:09:45,898: WARNING - 'yunohost app checkurl' est déprécié et sera bientôt supprimé
2019-05-16 09:09:46,408: WARNING - Packagers /!\ : 'app checkurl' is deprecated ! Please use the helper 'ynh_webpath_register' instead !
2019-05-16 09:09:47,013: DEBUG - + document_root=/var/www/staticwebapp__2
2019-05-16 09:09:47,014: DEBUG - + sudo mkdir -p /var/www/staticwebapp__2
2019-05-16 09:09:47,015: DEBUG - ++ sudo yunohost app setting staticwebapp__2 label
2019-05-16 09:09:47,718: WARNING - Traceback (most recent call last):
2019-05-16 09:09:47,721: WARNING -   File "/usr/bin/yunohost", line 213, in <module>
2019-05-16 09:09:47,724: WARNING -     timeout=opts.timeout,
2019-05-16 09:09:47,727: WARNING -   File "/usr/lib/python2.7/dist-packages/moulinette/__init__.py", line 136, in cli
2019-05-16 09:09:47,728: WARNING -     moulinette.run(args, output_as=output_as, password=password, timeout=timeout)
2019-05-16 09:09:47,729: WARNING -   File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/cli.py", line 443, in run
2019-05-16 09:09:47,730: WARNING -     print(ret)
2019-05-16 09:09:47,731: WARNING - UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 6: ordinal not in range(128)
2019-05-16 09:09:47,834: DEBUG - + label=
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant