[From nobody Wed Apr 29 04:07:05 2026
Received: (at submit) by bugs.debian.org; 26 May 2023 09:11:04 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
 (2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-11.7 required=4.0 tests=BAYES_00, FOURLA, HAS_PACKAGE,
 RCVD_IN_DNSWL_LOW,SPF_FAIL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,
 XMAILER_REPORTBUG autolearn=ham autolearn_force=no
 version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 75; hammy, 150; neutral, 85; spammy,
 0. spammytokens: hammytokens:0.000-+--sk:taint_o, 0.000-+--sk:TAINT_O,
 0.000-+--sk:taint_u, 0.000-+--sk:TAINT_U, 0.000-+--H*M:reportbug
Return-path: &lt;eric.lelay@idnow.io&gt;
Received: from mail04.noris.net ([62.128.1.224]:35227)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;eric.lelay@idnow.io&gt;)
 id 1q2TTV-002ZTN-Ps
 for submit@bugs.debian.org; Fri, 26 May 2023 09:11:04 +0000
Received: from mail03.noris.net ([62.128.1.223])
 by mail04.noris.net with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim) (envelope-from &lt;eric.lelay@idnow.io&gt;) id 1q2TGl-000T4T-3K
 for submit@bugs.debian.org; Fri, 26 May 2023 10:57:55 +0200
Received: from [149.6.72.226] (helo=ariadnext.com)
 by mail03.noris.net with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim) (envelope-from &lt;eric.lelay@idnow.io&gt;)
 id 1q2TGj-00079l-8Q; Fri, 26 May 2023 10:57:53 +0200
Received: from [172.31.0.1] (unknown [10.253.253.39])
 by smtp.localdomain (Postfix) with ESMTP id D43942416A;
 Fri, 26 May 2023 10:57:52 +0200 (CEST)
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Eric Le Lay &lt;eric.lelay@idnow.io&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: libjs-jquery-flot: pie chart broken because of missing js code
Message-ID: &lt;168509147212.1277120.6332402398121606174.reportbug@serpentaire&gt;
X-Mailer: reportbug 7.10.3+deb11u1
Date: Fri, 26 May 2023 10:57:52 +0200
X-Noris-IP: 149.6.72.226
X-Greylist: delayed 458 seconds by postgrey-1.36 at buxtehude;
 Fri, 26 May 2023 09:11:04 UTC
Delivered-To: submit@bugs.debian.org

Package: libjs-jquery-flot
Version: 4.2.1+dfsg-6
Severity: important

Dear Maintainer,
pie chart are broken in flot due to missing jquery.flot.pie.js code.

Steps to reproduce:
 1. apt install libjs-jquery-flot libjs-jquery-flot-docs
 2. firefox /usr/share/doc/libjs-jquery-flot-docs/examples/series-pie/index.html

Expected outcome: the pie chart shows up nicely

Actual outcome: empty X/Y chart

Furthermore, we can see that the plugin is not loaded, by inspecting $.plot.plugins:

    console.log($.plot.plugins.map(x =&gt; x.name).join(&quot;, &quot;))
    ==&gt; errorbars, log, symbols, flatdata, navigate, fillbetween, categories, stack, navigateTouch, hover, navigateTouch, time, axisLabels, selection, composeImages, legend

Expected: &quot;pie&quot; is in the array
Actual: it's not there

    curl \
    https://salsa.debian.org/js-team/flot/-/raw/debian/4.2.1+dfsg-5/source/jquery.flot.pie.js \
    -o /usr/share/javascript/flot/jquery.flot.pie.js

fixes the problem.



-- System Information:
Debian Release: 11.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-22-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE, TAINT_AUX
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libjs-jquery-flot depends on:
ii  libjs-jquery  3.5.1+dfsg+~3.5.5-7

Versions of packages libjs-jquery-flot recommends:
ii  javascript-common  11+nmu1
pn  libjs-excanvas     &lt;none&gt;

Versions of packages libjs-jquery-flot suggests:
ii  libjs-jquery-flot-docs  4.2.1+dfsg-5

-- no debconf information
]