-
|
Hello, I'm developing a complex plugin and I'm stuck on a error: it happens when I load a specific page. Seems that the Python stacktrace is hidden, and I get only a NoReverseMatch: Any chance to get the full stacktrace from a plugin error? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 15 replies
-
|
Set EMAIL and ADMINS in configuration.py. The backtrace should be sent by E-mail to the ADMINS. Alternatively, if you set DEBUG=True in configuration.py, you should get an interactive backtrace in your browser. (This works for normal Netbox, but I've not checked either option with a broken plugin) |
Beta Was this translation helpful? Give feedback.
-
|
Hello @candlerb thank you for your answer. I turned DEBUG on, and now I can see the stack trace in the web page, but it's limited to the "is not a registered namespace" exception. I also enabled EMAIL and ADMIN, but I can see no email (I'm using localhost which I manually tested and it works). |
Beta Was this translation helpful? Give feedback.
-
|
There is no connection to the MTA. tcpdump shows no packages to port 25. |
Beta Was this translation helpful? Give feedback.
-
|
Same result (I mean no TCP connection on port 25). |
Beta Was this translation helpful? Give feedback.
-
|
I found the line causing the issue: default_return_url The I missed "plugins", the right line is: For some reason netbox is hiding the exceptions so it wasn't easy to find what was going on. |
Beta Was this translation helpful? Give feedback.

I found the line causing the issue: default_return_url
The I missed "plugins", the right line is:
For some reason netbox is hiding the exceptions so it wasn't easy to find what was going on.