invenhost / inventree-wled-locator

Locate StockLocations with a WLED instance
MIT License
6 stars 2 forks source link

Bug after Installation #13

Closed DerTechnikerHD closed 3 months ago

DerTechnikerHD commented 3 months ago

Hey, I had this error after installation.

I don't now what to do, need your master help.

Error Code:

Type: NoReverseMatch Path: http://10.180.0.123/settings/ Info: 'inventree-wled-locator' is not a registered namespace inside 'plugin' When:

  1. August 2024 10:22 Data: Traceback (most recent call last):

File "/opt/inventree/env/lib/python3.9/site-packages/django/urls/base.py", line 71, in reverse extra, resolver = resolver.namespace_dict[ns]

KeyError: 'inventree-wled-locator'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/opt/inventree/env/lib/python3.9/site-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render()

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/backends/django.py", line 61, in render return self.template.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 175, in render return self._render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 167, in _render return self.nodelist.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 1005, in render return SafeString("".join([node.render_annotated(context) for node in self]))

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 1005, in return SafeString("".join([node.render_annotated(context) for node in self]))

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 966, in render_annotated return self.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/loader_tags.py", line 157, in render return compiled_parent._render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 167, in _render return self.nodelist.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 1005, in render return SafeString("".join([node.render_annotated(context) for node in self]))

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 1005, in return SafeString("".join([node.render_annotated(context) for node in self]))

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 966, in render_annotated return self.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/loader_tags.py", line 63, in render result = block.nodelist.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 1005, in render return SafeString("".join([node.render_annotated(context) for node in self]))

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 1005, in return SafeString("".join([node.render_annotated(context) for node in self]))

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 966, in render_annotated return self.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/defaulttags.py", line 321, in render return nodelist.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 1005, in render return SafeString("".join([node.render_annotated(context) for node in self]))

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 1005, in return SafeString("".join([node.render_annotated(context) for node in self]))

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 966, in render_annotated return self.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/defaulttags.py", line 238, in render nodelist.append(node.render_annotated(context))

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 966, in render_annotated return self.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/defaulttags.py", line 321, in render return nodelist.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 1005, in render return SafeString("".join([node.render_annotated(context) for node in self]))

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 1005, in return SafeString("".join([node.render_annotated(context) for node in self]))

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 966, in render_annotated return self.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/loader_tags.py", line 208, in render return template.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 177, in render return self._render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 167, in _render return self.nodelist.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 1005, in render return SafeString("".join([node.render_annotated(context) for node in self]))

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 1005, in return SafeString("".join([node.render_annotated(context) for node in self]))

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 966, in render_annotated return self.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/loader_tags.py", line 157, in render return compiled_parent._render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 167, in _render return self.nodelist.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 1005, in render return SafeString("".join([node.render_annotated(context) for node in self]))

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 1005, in return SafeString("".join([node.render_annotated(context) for node in self]))

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 966, in render_annotated return self.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/loader_tags.py", line 63, in render result = block.nodelist.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 1005, in render return SafeString("".join([node.render_annotated(context) for node in self]))

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 1005, in return SafeString("".join([node.render_annotated(context) for node in self]))

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 966, in render_annotated return self.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/loader_tags.py", line 63, in render result = block.nodelist.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 1005, in render return SafeString("".join([node.render_annotated(context) for node in self]))

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 1005, in return SafeString("".join([node.render_annotated(context) for node in self]))

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 966, in render_annotated return self.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/loader_tags.py", line 208, in render return template.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 177, in render return self._render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 167, in _render return self.nodelist.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 1005, in render return SafeString("".join([node.render_annotated(context) for node in self]))

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 1005, in return SafeString("".join([node.render_annotated(context) for node in self]))

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/base.py", line 966, in render_annotated return self.render(context)

File "/opt/inventree/env/lib/python3.9/site-packages/django/template/library.py", line 237, in render output = self.func(*resolved_args, **resolved_kwargs)

File "/opt/inventree/src/backend/InvenTree/plugin/templatetags/plugin_extras.py", line 38, in plugin_settings_content return plg.get_settings_content(context.request)

File "/opt/inventree/env/lib/python3.9/site-packages/inventree_wled_locator/WledPlugin.py", line 183, in get_settings_content Turn off

File "/opt/inventree/env/lib/python3.9/site-packages/django/urls/base.py", line 77, in reverse raise NoReverseMatch(

django.urls.exceptions.NoReverseMatch: 'inventree-wled-locator' is not a registered namespace inside 'plugin'``

invenhost-integration[bot] commented 3 months ago

Hello from Invenhost Integration app! DerTechnikerHD opened this issue 🎉