almost no charts

26 views
Skip to first unread message

A B

unread,
Oct 19, 2021, 8:29:53 AM10/19/21
to rdiffweb
I can obtain chart only in activities. Any other chart I want do see show error below.
Screenshot 2021-10-19 at 14-26-49 Graphs - rdiffweb.pngScreenshot 2021-10-19 at 14-26-27 Graphs - rdiffweb.png

Patrik Dufresne

unread,
Oct 19, 2021, 1:30:51 PM10/19/21
to A B, rdiffweb
Hi,

Thanks for reporting your issue to the mailing list.

I would recommend that you check if the demo version is working for you: https://rdiffweb-demo.ikus-soft.com/graphs/activities/admin/testcasesIf the demo version is working fine, it's most likely something specific to your environment.

Could you provide more details about how you installed Rdiffweb on your system and also provide more technical details about the operating system you are running.




On Tue, Oct 19, 2021 at 8:29 AM A B <blukis...@gmail.com> wrote:
I can obtain chart only in activities. Any other chart I want do see show error below.
Screenshot 2021-10-19 at 14-26-49 Graphs - rdiffweb.pngScreenshot 2021-10-19 at 14-26-27 Graphs - rdiffweb.png

--
You received this message because you are subscribed to the Google Groups "rdiffweb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rdiffweb+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rdiffweb/a983709a-c835-4589-9975-61dc9069f337n%40googlegroups.com.


--
IKUS Software inc.
https://www.ikus-soft.com/
130 rue Doris
St-Colomban, QC J5K 1T9

A B

unread,
Oct 19, 2021, 4:03:28 PM10/19/21
to rdiffweb
Hello
Demo works fine. I see all graphs.
In my instalation, I have noticed that i cannot see line type charts. Only bar graph is displayed properly.

I have installed following the installation for Debian based system instruction from: https://www.ikus-soft.com/archive/rdiffweb/doc/latest/html/installation.html#rdiffweb-installation
Added repository and install by APT. Current version is rdiffweb_2.3.5.

It is working on:
Distributor ID:    Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:    20.04
Codename:    focal

Nicolas Canonne

unread,
Oct 19, 2021, 9:58:23 PM10/19/21
to A B, rdiffweb
Hi,
Same issue here with v2.3.4 on ubuntu server 20.04.3. 

Patrik Dufresne

unread,
Oct 20, 2021, 8:13:55 AM10/20/21
to Nicolas Canonne, A B, rdiffweb
It might be related to the version of Ubuntu you are running. 20.04 focal is not really supported. I'm curious about the repository you added to apt. Only Ubuntu groovy and hirsute are supported.

Patrik Dufresne

unread,
Oct 20, 2021, 4:35:29 PM10/20/21
to Nicolas Canonne, A B, rdiffweb
I'm able to reproduce the problem by installing rdiffweb on Ubuntu Focal. Take note Ubuntu Focal is not officially supported. Will update the documentation accordingly about the supported Debian/Ubuntu version.

The problem is related to the version of "chart.js" package in Ubuntu Focal. To follow Debian packaging rules, Rdiffweb must re-use any existing libjs package available instead of packaging its own version. The version 2.9.3 is not working properly. You may need to upgrade this version of "chart.js" manually.

To upgrade this version manually:
cd /usr/lib/python3/dist-packages/rdiffweb/static/js
rm chart.min.js

That should do it.



Nicolas Canonne

unread,
Oct 20, 2021, 7:13:50 PM10/20/21
to Patrik Dufresne, A B, rdiffweb
Thanks Patrick for the searches and reply.

Originally :
ls -l /usr/lib/python3/dist-packages/rdiffweb/static/js
total 16
lrwxrwxrwx 1 root root   64 oct.  19 03:05 bootstrap.min.js -> ../../../../../../share/javascript/bootstrap/js/bootstrap.min.js
lrwxrwxrwx 1 root root   56 oct.  19 03:05 chart.min.js -> ../../../../../../share/javascript/chart.js/Chart.min.js
lrwxrwxrwx 1 root root   55 oct.  19 03:05 jquery.min.js -> ../../../../../../share/javascript/jquery/jquery.min.js
drwxr-xr-x 2 root root 4096 oct.  20 15:13 plugins
-rw-r--r-- 1 root root 5947 oct.  19 03:03 rdiffweb.js

I downloaded the chart.min.js version linked to the demo site, even restarted rdiffweb, but issue is still there.

(PS : it is only a minor issue for me)

Nicolas Canonne
--
Nicolas Canonne / ELECTRONICO
824 rue des Roseaux - Vallon-Dore
98809 Mont-Dore
NEW-CALEDONIA (South Pacific)

Patrik Dufresne

unread,
Oct 20, 2021, 8:15:02 PM10/20/21
to Nicolas Canonne, A B, rdiffweb
Hello Nicolas,

Are you sure you replaced the file ? Could you run md5sum on the file.

md5 should be 9c6ea687979e48c51acf45e84147166a


Nicolas Canonne

unread,
Oct 20, 2021, 8:53:20 PM10/20/21
to Patrik Dufresne, A B, rdiffweb
Patrick, md5sum is correct

/usr/lib/python3/dist-packages/rdiffweb/static/js$ md5sum chart.min.js
9c6ea687979e48c51acf45e84147166a  chart.min.js

/usr/lib/python3/dist-packages/rdiffweb/static/js$ ls -l
total 340

lrwxrwxrwx 1 root root     64 oct.  19 03:05 bootstrap.min.js -> ../../../../../../share/javascript/bootstrap/js/bootstrap.min.js
-rw-r--r-- 1 root root 329601 juin  13  2019 chart.min.js

lrwxrwxrwx 1 root root     55 oct.  19 03:05 jquery.min.js -> ../../../../../../share/javascript/jquery/jquery.min.js
drwxr-xr-x 2 root root   4096 oct.  20 15:13 plugins
-rw-r--r-- 1 root root   5947 oct.  19 03:03 rdiffweb.js

Patrik Dufresne

unread,
Oct 22, 2021, 7:32:25 AM10/22/21
to Nicolas Canonne, A B, rdiffweb
Possibly it's your browser cache. That keeps the old version still.

I would recommend you to try with a different browser or to flush the cache of your browser.

A B

unread,
Oct 23, 2021, 5:35:57 AM10/23/21
to rdiffweb
worked for me. I had only to set up permissions to file correctly after wget and all charts are visible now.
additional note: I think straight line in charts instead of bezier curves would look more natural :-)

Thank you very much.

Patrik Dufresne

unread,
Oct 27, 2021, 8:53:52 AM10/27/21
to A B, rdiffweb
I'm glad you managed to make it work after all.

You are welcome to provide more feedback

belfeldt

unread,
Oct 30, 2021, 7:37:32 AM10/30/21
to rdiffweb
First: Thanks for providing this pretty useful tool to the world.
Then just for the record: I had the same issue on an fresh and up to Date Debian 11 installation. Replacing 'chart.min.js' as described above, makes it work again.

Thank you!

Patrik Dufresne

unread,
Oct 31, 2021, 1:55:09 PM10/31/21
to belfeldt, rdiffweb
I could reproduce the problem on Bullseye too. It's related to the bundle vs not-bundle version of chart.js available on Debian.
I've created a fix for it. Could someone test if it's working fine ?



belfeldt

unread,
Oct 31, 2021, 2:18:37 PM10/31/21
to rdiffweb
With rdiffweb_2.3.8~dev4+gc86e797_all chart is showing up in bullseye now. Works flawlessly.
Thanks for quick response Patrick!

Patrik Dufresne

unread,
Nov 1, 2021, 8:09:24 AM11/1/21
to belfeldt, rdiffweb
Thanks Belfeldt for your feedback. I will get this fixed in a release soon.

Reply all
Reply to author
Forward
0 new messages