Open matmair opened 4 months ago
@PricelessToolkit are you sure this is the error that is triggered? I am asking because the locator function is not calling any offliading
Yes, I tried several times.
Ok, I will have to dig into this then. I can not reproduce it on my docker dev setup. Could you post your version information? It is provided in the upper right corner of the UI in the dropdown (there is a "copy version information" button - that provides a bit more info than is shown in the UI)
InvenTree-Version: 0.15.4 Django Version: 4.2.12 Commit Hash: fa1a9da Commit Date: 16-06-2024
Database: postgresql Debug-Mode: False Deployed using Docker: True Platform: Linux-6.8.4-2-pve-x86_64-with Installer: DOC
Active plugins: [{'name': 'InvenTreeBarcode', 'slug': 'inventreebarcode', 'version': '2.0.0'}, {'name': 'InvenTreeCoreNotificationsPlugin', 'slug': 'inventreecorenotificationsplugin', 'version': '1.0.0'}, {'name': 'InvenTreeCurrencyExchange', 'slug': 'inventreecurrencyexchange', 'version': '1.0.0'}, {'name': 'InvenTreeLabel', 'slug': 'inventreelabel', 'version': '1.0.0'}, {'name': 'InvenTreeLabelMachine', 'slug': 'inventreelabelmachine', 'version': '1.0.0'}, {'name': 'InvenTreeLabelSheet', 'slug': 'inventreelabelsheet', 'version': '1.0.0'}, {'name': 'DigiKeyPlugin', 'slug': 'digikeyplugin', 'version': '1.0.0'}, {'name': 'LCSCPlugin', 'slug': 'lcscplugin', 'version': '1.0.0'}, {'name': 'MouserPlugin', 'slug': 'mouserplugin', 'version': '1.0.0'}, {'name': 'TMEPlugin', 'slug': 'tmeplugin', 'version': '1.0.0'}, {'name': 'Wireviz', 'slug': 'wireviz', 'version': '0.6.0'}, {'name': 'WledPlugin', 'slug': 'inventree-wled-locator', 'version': '0.4.0'}, {'name': 'SupplierCart', 'slug': 'suppliercart', 'version': '0.3.1'}, {'name': 'KiCadLibraryPlugin', 'slug': 'kicad-library-plugin', 'version': '1.4.0'}]
This was posted on the official InvenTree tracker as well: https://github.com/inventree/InvenTree/issues/7489
Same issue for me as well (non docker, running with 4 workers)
quick fix, and dirty:
I locally modified
/opt/inventree/src/backend/InvenTree/plugin/base/locate/api.py
in lines 63 and 81 to include
force_sync=True
Surely not the perfect solution (even if done centrally by InvenTree) as locating should be done asynchronously, but it works for now
I hope this will be fixed in the next version.
Hello
I have installed wled v 0.2.2 on my Inventree instance.
How can I upgrade it to 0.4.0?
Greetings
Originally posted by @PricelessToolkit in https://github.com/invenhost/inventree-wled-locator/issues/7#issuecomment-2207346165