run sudo python web2py.py -c server.crt -k server.key -p 8443 -i 127.0.0.1 --minthreads=40 -a pedro
Acces to localhost:8443/kvasir/
Issue:
(click to expand)
When I try to access localhost:8443/kvasir/ I get this
![Erro1](https://user-images.githubusercontent.com/77902247/214440490-4951f8ca-311e-4717-a3b9-63556958c97a.png)
When I access the ticket I get this
![error2](https://user-images.githubusercontent.com/77902247/214440587-4d10f85f-2a2f-4e8f-b6c2-f574e35a7767.png)
Logs:
(click to expand)
` at 0x7f4ea86c6760, file "/opt/web2py/applications/kvasir/compiled/models.db.py", line 1>`
```
Traceback (most recent call last):
File "/opt/web2py/gluon/restricted.py", line 219, in restricted
exec(ccode, environment)
File "/opt/web2py/applications/kvasir/compiled/models.db.py", line 19, in
NameError: name 'settings' is not defined
```
Steps before reproducing the error
sudo python web2py.py -c server.crt -k server.key -p 8443 -i 127.0.0.1 --minthreads=40 -a pedro
Issue:
(click to expand)
When I try to access localhost:8443/kvasir/ I get this ![Erro1](https://user-images.githubusercontent.com/77902247/214440490-4951f8ca-311e-4717-a3b9-63556958c97a.png) When I access the ticket I get this ![error2](https://user-images.githubusercontent.com/77902247/214440587-4d10f85f-2a2f-4e8f-b6c2-f574e35a7767.png)Logs:
(click to expand)
`at 0x7f4ea86c6760, file "/opt/web2py/applications/kvasir/compiled/models.db.py", line 1>` ``` Traceback (most recent call last): File "/opt/web2py/gluon/restricted.py", line 219, in restricted exec(ccode, environment) File "/opt/web2py/applications/kvasir/compiled/models.db.py", line 19, in
NameError: name 'settings' is not defined
```