YunoHost-Apps / hotspot_ynh

Wifi Hotspot app for YunoHost
GNU Affero General Public License v3.0
39 stars 19 forks source link

ynh-hotspot service status error #39

Closed keomabrun closed 5 years ago

keomabrun commented 5 years ago
root@francitest:~# yunohost service status ynh-hotspot --debug
965  DEBUG loading actions map namespace 'yunohost'
1108 DEBUG extra parameter classes loaded: ['comment', 'ask', 'password', 'required', 'pattern']
1110 DEBUG initializing base actions map parser for cli
1119 DEBUG registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
1695 DEBUG lock has been acquired
1735 DEBUG loading python module yunohost.service took 0.038s
1737 INFO processing action [3351.1]: yunohost.service.status with args={'names': ['ynh-hotspot']}
2074 ERROR unable to retrieve key 'service_description_ynh-hotspot' for default locale 'en'
None
2076 DEBUG action [3351.1] executed in 0.338s
2078 DEBUG lock has been released
active: active
active_at: 
  human: 2019-02-10 14:04:17
  timestamp: 1549807457607011
description: YunoHost Wifi Hotspot.
loaded: enabled
service_file_path: /etc/systemd/system/ynh-hotspot.service
status: exited
alexAubin commented 5 years ago

That is not really a critical error I think, more like a warning ... (I think we'll improve this at some point in yunohost)

But yes, it can be good to add a description to the service using --description when adding the service with yunohost service add;)

https://github.com/YunoHost/yunohost/blob/stretch-unstable/data/actionsmap/yunohost.yml#L1150

alexAubin commented 5 years ago

For reference, those are the description for services included in the core : https://github.com/YunoHost/yunohost/blob/stretch-unstable/locales/en.json#L420-L437

We tried to make them as muggle-friendly as we could