invenhost / inventree-wled-locator

Locate StockLocations with a WLED instance
MIT License
5 stars 1 forks source link

Install issues with 0.4.0 #11

Open matmair opened 2 weeks ago

matmair commented 2 weeks ago

Hello, I have restarted invenhost, reinstalled the plugin, then it was initially deactivated:

grafik

After I activated it, the page reloaded and I can no longer access the settings: grafik

Originally posted by @ThorstenStr in https://github.com/invenhost/inventree-wled-locator/issues/7#issuecomment-2199326837

matmair commented 2 weeks ago

@ThorstenStr could you please activate debugging for your instance and post the error you get in the notifications after you have opened this page? You can open any page after calling the failing page and should see a notification for the error there (as a superuser)

ThorstenStr commented 2 weeks ago

Hello, I won't get to it until tomorrow. Until then, can you briefly explain to me what I have to do to activate debugging? I haven't been using inventree for that long.

matmair commented 2 weeks ago

We have instructions here, you need to set a config setting and restart the inventree services.

ThorstenStr commented 2 weeks ago

Hi, here the Error `

NoReverseMatch at /settings/

'inventree-wled-locator' is not a registered namespace inside 'plugin'
Request Method: | GET -- | -- http://10.10.0.212/settings/ 4.2.10 NoReverseMatch 'inventree-wled-locator' is not a registered namespace inside 'plugin' /opt/inventree/env/lib/python3.9/site-packages/django/urls/base.py, line 77, in reverse InvenTree.views.SettingsView /opt/inventree/env/bin/python3.9 3.9.5 ['/opt/inventree/InvenTree', '/opt/inventree/env/bin', '/opt/inventree', '/usr/lib/python39.zip', '/usr/lib/python3.9', '/usr/lib/python3.9/lib-dynload', '/opt/inventree/env/lib/python3.9/site-packages', '/opt/inventree/env/lib/python3.9/site-packages/odf', '/opt/inventree/env/lib/python3.9/site-packages/odf', '/opt/inventree/env/lib/python3.9/site-packages/odf', '/opt/inventree/env/lib/python3.9/site-packages/odf', '/opt/inventree/env/lib/python3.9/site-packages/odf', '/opt/inventree/env/lib/python3.9/site-packages/odf', '/opt/inventree/env/lib/python3.9/site-packages/odf'] Fri, 05 Jul 2024 09:11:02 +0000

`

`

Error during template rendering

In template /opt/inventree/InvenTree/templates/InvenTree/settings/mixins/settings_content.html, error at line 3

'inventree-wled-locator' is not a registered namespace inside 'plugin'

1 | {% load plugin_extras %} -- | --   {% plugin_settings_content plugin_key as plugin_settings_content %} {% if plugin_settings_content %} {{ plugin_settings_content\|safe }} {% endif %}  

`

ThorstenStr commented 2 weeks ago

I also have request and traceback information, let me know if you need any of that