Skip to content

Barcode Scan Page error (in Firefox 133.0.3) #8703

Closed

Description

@simonkuehling

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

Image

Steps to Reproduce

  1. open /platform/scan
  2. select one of the webcam options in the drop down (i have two on my machine)
  3. 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

  1. added
    bug
    question
    triage:not-checked
    on Dec 18, 2024
  2. changed the title [-]Barcode Scan Page error[/-] [+]Barcode Scan Page error (in Firefox 117.0)[/+] on Dec 18, 2024
  3. changed the title [-]Barcode Scan Page error (in Firefox 117.0)[/-] [+]Barcode Scan Page error (in Firefox 133.0.3)[/+] on Dec 19, 2024
  4. added
    barcode
    and removed
    triage:not-checked
    question
    on Dec 28, 2024
  5. modified the milestones: 0.17.2, 1.0.0 on Dec 28, 2024
  6. matmair commented on Dec 28, 2024

    @matmair
    Member

    @simonkuehling this was fixed recently; please feedback if #8732 did not adress your concerns

  7. gcorbin commented on Oct 29, 2026

    @gcorbin

    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:

    Image

    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.

  8. SchrodingersGat commented on Oct 29, 2026

    @SchrodingersGat
    Member

    @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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    barcodebug

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions