Activating Account module got "Error [0]"

Hi,
I was trying to activate the accounting module using web interface, but I’m stuck with this error:



I’m using the docker distro, And I didn’t get errors activating other modules (bank, country, etc).
Also I try to set more RAM in the .wslconfig

[ws12]
processors=1
memory=6GB
pageReporting=true

System specs:
$ uname -v
#1 SMP Fri Mar 29 23:14:13 UTC 2024
$ python3 -V
Python 3.11.2

Nombre del sistema operativo: Microsoft Windows 11 Pro
Fabricante del sistema operativo: Microsoft Corporation
Procesador(es): 1 Procesadores instalados.
[01]: Intel64 Family 6 Model 126 Stepping 5 GenuineIntel ~991 Mhz
Cantidad total de memoria física: 20,275 MB
Memoria física disponible: 2,698 MB
Memoria virtual: tamaño máximo: 23,868 MB
Memoria virtual: disponible: 3,374 MB
Memoria virtual: en uso: 20,494 MB

What is the log saying? I.e., since you are using the docker container, what does the log of the container say?

1 Like

I do not think its a problem realted to memory but that the your are hitting the gunicorn timeout. Probably this topic may help you:

1 Like

Success!! I took some of the advices and I tested them.
The problem was the gunicorn timeout.
2024-09-03 10:09:32 [2024-09-03 15:09:32 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:1239)
2024-09-03 10:09:32 [2024-09-03 15:09:32 +0000] [1239] [INFO] Worker exiting (pid: 1239)
2024-09-03 10:09:33 [2024-09-03 15:09:33 +0000] [1] [WARNING] Worker with pid 1239 was terminated due to signal 9
2024-09-03 10:09:33 [2024-09-03 15:09:33 +0000] [1243] [INFO] Booting worker with pid: 1243
I didn’t know that process was gunicorn.

First I tried to set environment variables with exec but it didn’t work.

docker exec --env GUNICORN_CMD_ARGS=“–timeout=600” revisaweb env

Then I set the same variables in bash with root access and I got the same.

export GUNICORN_CMD_ARGS=“–timeout=600”

Then I went to the gunicorn.conf.py and I add this key:
timeout = 900

Finally I restarted containers and it worked!