domingo, 17 de septiembre de 2017

Fix Job for supervisor.service failed when install spotipo

Instalando spotipo en una raspberry pi con raspbian jessi me lanzó el siguiente error:


-----------Running celery_get_notification-----------------------
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): spotipo.com
Starting new HTTP connection (1): spotipo.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /notifications/7fbe9ef3-b0dc-4df0-9e6f-29497c05442c HTTP/1.1" 301 None
"GET /notifications/7fbe9ef3-b0dc-4df0-9e6f-29497c05442c HTTP/1.1" 301 None
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): spotipo.com
Starting new HTTPS connection (1): spotipo.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /notifications/7fbe9ef3-b0dc-4df0-9e6f-29497c05442c HTTP/1.1" 200 26
"GET /notifications/7fbe9ef3-b0dc-4df0-9e6f-29497c05442c HTTP/1.1" 200 26
Job for supervisor.service failed. See 'systemctl status supervisor.service' and 'journalctl -xn' for details.
dpkg: error processing package spotipo (--install):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 spotipo


FIX
El error ocurre porque el serivicio supervisor estaba levantado al arrancar la instalación.
Solo debes ejecutar lo siguiente antes de instalar
systemctl stop supervisor

No hay comentarios:

Publicar un comentario