FileNotFoundError: [Errno 2] No such file or directory: 'secrets/ejabberd_secrets.txt' #3

Tancada
oberta 2022-08-29 12:26:08 +02:00 per spla · 2 comentaris
Owner

Traceback (most recent call last):
File "/opt/ejabberd/bots/proves/lib/python3.8/site-packages/ejabberdapi/Ejabberdapi.py", line 32, in init
self.__api_base_url = self.__get_parameter("api_base_url", self.__secrets_config_file)
File "/opt/ejabberd/bots/proves/lib/python3.8/site-packages/ejabberdapi/Ejabberdapi.py", line 259, in __get_parameter
with open( file_path ) as f:
FileNotFoundError: [Errno 2] No such file or directory: 'secrets/ejabberd_secrets.txt'

Traceback (most recent call last): File "/opt/ejabberd/bots/proves/lib/python3.8/site-packages/ejabberdapi/Ejabberdapi.py", line 32, in __init__ self.__api_base_url = self.__get_parameter("api_base_url", self.__secrets_config_file) File "/opt/ejabberd/bots/proves/lib/python3.8/site-packages/ejabberdapi/Ejabberdapi.py", line 259, in __get_parameter with open( file_path ) as f: FileNotFoundError: [Errno 2] No such file or directory: 'secrets/ejabberd_secrets.txt'
spla ha afegit l'etiqueta
bug
2022-08-29 12:26:08 +02:00
spla s'ha auto assignat aquest 2022-08-29 12:26:18 +02:00
Author
Owner

Ejabberd's API setup and its related admin access token must be added to EjabberAPI class/library.

Ejabberd's API setup and its related admin access token must be added to EjabberAPI class/library.
Author
Owner

Fixed by upgrading EjabberAPI package:

pip install EjabberdAPI --upgrade

Fixed by upgrading EjabberAPI package: `pip install EjabberdAPI --upgrade`
spla ha tancat aquesta incidència 2022-08-29 12:43:47 +02:00
Inicia sessió per a unir-te a aquesta conversa.
Sense Milestone
Ningún proyecto
Sense assignats
1 participant
Notificacions
Data de venciment
La fecha de vencimiento es inválida o está fuera de rango. Por favor utilice el formato 'aaaa-mm-dd'.

Sin fecha de vencimiento.

Dependències

Aquesta incidència no té cap dependència.

Referència: spla/xmpp#3
Aún no existe contenido.