Public bug reported:

I installed the laminard package (laminard_1.1-1build1) on Ubuntu
22.04LTS on a Raspberry Pi 3 (64-bit ARM). But most of Laminar's Web UI
is missing when you go to http://localhost:8080 (you just get a grey bar
across the top of the screen).

Using browsers' "developer tools" mode, the Web UI's Javascript is
erroring trying to use 'Chart.scaleService', which is a Chart.js 2.x API
that was removed in Chart.js 3.0.

The Chart.js version in question is compiled into the laminard package
at package-build time. Looking into the Ubuntu/Debian changes to this
package (laminar_1.1-1build1.debian.tar.xz) there is a patch that
changes upstream's fetching of Chart.js 2.x specifically, to a reference
to a local-to-the-build-host copy of Chart.js with no version checking.
If the build host had a 3.x copy of Chart.js in that location, then that
would explain the failure: the package would build without any visible
failure, but the Javascript would fail at runtime with the symptoms
described.

** Affects: laminar (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1970987

Title:
  Laminar web UI mostly missing, wrong chartjs version

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/laminar/+bug/1970987/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to