Repository navigation
Description
Please verify that this bug has NOT been raised before.
- I checked and didn't find a similar issue
Describe the bug*
With the current version 0.18.0-dev I get a rendering error when opening the barcode scanning page in Firefox 133.0.3 ("https:///platform/scan") after selecting a webcam - not sure what to make of those console tracebacks right now or where to dig deeper here, but happy to debug this further...
Using the webcam for Google Meet and such does work in Firefox - so I assume it is not a general issue with webcam use in my browser - also in Chromium the scanning works just fine with InvenTree
Steps to Reproduce
- open /platform/scan
- select one of the webcam options in the drop down (i have two on my machine)
- error is shown
Expected behaviour
rendering the webcam view correctly
Deployment Method
- Docker
- Package
- Bare metal
- Other - added info in Steps to Reproduce
Version Information
InvenTree-Version: 0.18.0 dev
Django Version: 4.2.17
Commit Hash: 4569fd2
Commit Date: 2024-12-18
Commit Branch: null
Database: postgresql
Debug-Mode: False
Deployed using Docker: True
Platform: Linux-6.1.0-rpi7-rpi-v8-aarch64-with
Installer: DOC
nullActive plugins: [{"name":"InvenTreeBarcode","slug":"inventreebarcode","version":"2.1.0"},{"name":"InvenTreeCoreNotificationsPlugin","slug":"inventreecorenotificationsplugin","version":"1.0.0"},{"name":"InvenTreeCurrencyExchange","slug":"inventreecurrencyexchange","version":"1.0.0"},{"name":"InvenTreeLabel","slug":"inventreelabel","version":"1.1.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":"IPNAutoGenerator","slug":"ipnautogenerator","version":null},{"name":"OrderNotesTemplates","slug":"ordernotestemplates","version":null},{"name":"Brother Labels","slug":"brother","version":"1.0.0"}]
Please verify if you can reproduce this bug on the demo site.
- I can reproduce this bug on the demo site.
Relevant log output
Error: [@mantine/core] Duplicate options are not supported. Option with value "53onDl+GhFMrnGfsqvd+OzFV1s9oosASHSPnjUDbguo=" was provided more than once
g3 https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:127
BA https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:127
s0 https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:60
uh https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:62
hx https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:62
dx https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:62
WI https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:62
hu https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:62
Sh https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:62
lx https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:62
k https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:47
z https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:47
EventHandlerNonNull* https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:47
<anonymous> https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:47
[vendor-BWg2Hufi.js:127:574](https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js)
Uncaught Error: [@mantine/core] Duplicate options are not supported. Option with value "53onDl+GhFMrnGfsqvd+OzFV1s9oosASHSPnjUDbguo=" was provided more than once
g3 https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:127
BA https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:127
s0 https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:60
uh https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:62
hx https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:62
dx https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:62
WI https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:62
hu https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:62
Sh https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:62
lx https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:62
k https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:47
z https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:47
EventHandlerNonNull* https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:47
<anonymous> https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js:47
[vendor-BWg2Hufi.js:127:140012](https://inventree<URL_REMOVED>/static/web/assets/vendor-BWg2Hufi.js)

Activity
[-]Barcode Scan Page error[/-][+]Barcode Scan Page error (in Firefox 117.0)[/+][-]Barcode Scan Page error (in Firefox 117.0)[/-][+]Barcode Scan Page error (in Firefox 133.0.3)[/+]matmair commentedon Dec 28, 2024
@simonkuehling this was fixed recently; please feedback if #8732 did not adress your concerns
gcorbin commentedon Oct 29, 2026
Hi, I am a new user and have only recently installed Inventree (1.6.3 from docker). I think I have run into the same issue. When I open the site on my laptop with Firefox (158.0.1 (64-bit) for ArchLinux) and open the barcode scanner, i get this:
The duplicate option seems to be the id of my webcam. So maybe this is more a Firefox bug than an InvenTree bug, but anyway I want to let you know about this.
With Chromium (Version 156.0.8078.47 (Official Build) Arch Linux (x86_64)) the barcode scanning works fine.
The error is also present on the demo site.
Thanks in advance for looking into this.
SchrodingersGat commentedon Oct 29, 2026
@gcorbin given the age of this original issue, can you please open a new issue for us to track. Please include full error log from the browser console