Your message dated Mon, 06 Sep 2021 12:03:49 +0000 with message-id <[email protected]> and subject line Bug#962623: fixed in graphite-web 1.1.8-1 has caused the Debian Bug report #962623, regarding ImportError: cannot import name 'parse_qs' from 'cgi' (/usr/lib/python3.8/cgi.py) to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 962623: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962623 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: graphite-web Version: 1.1.4-5 Severity: grave Justification: renders package unusable Hi, When initially setting up graphite-web I ran the following (per /usr/share/doc/graphite-carbon/README.Debian): # su -s /bin/bash _graphite -c 'graphite-manage migrate --run-syncdb' /usr/lib/python3/dist-packages/graphite/settings.py:334: UserWarning: SECRET_KEY is set to an unsafe default. This should be set in local_settings.py for better security warn('SECRET_KEY is set to an unsafe default. This should be set in local_settings.py for better security') Traceback (most recent call last): (...52 lines of stack trace removed...) File "/usr/lib/python3/dist-packages/graphite/render/urls.py", line 16, in <module> from . import views File "/usr/lib/python3/dist-packages/graphite/render/views.py", line 23, in <module> from cgi import parse_qs ImportError: cannot import name 'parse_qs' from 'cgi' (/usr/lib/python3.8/cgi.py) This also happens when connecting to the dashboard via HTTP: I installed libapache2-mod-wsgi-py3, configured the VirtualHost and when connecting I get a 500 on the browser and a similar stack trace on the error log. I didn't check it all but the last 2 entries are same as above. When looking into this I found what seems to be a dependency issue. The release notes for graphite 1.1.6 [1] state "Python 3.8 and Django 2.x support". That makes me speculate that graphite 1.1.4 doesn't support python 3.8, and is thus broken on debian testing/sid. I believe we'd need graphite-web 1.1.6 on debian. [1] https://graphite.readthedocs.io/en/latest/releases/1_1_6.html -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.6.0-2-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_WARN Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages graphite-web depends on: ii adduser 3.118 ii python3 3.8.2-3 ii python3-cairo 1.16.2-3 ii python3-cairocffi 0.9.0-4 ii python3-django 2:2.2.13-1 ii python3-django-tagging 1:0.4.5-3 ii python3-pyparsing 2.4.7-1 ii python3-simplejson 3.17.0-1 ii python3-six 1.15.0-1 ii python3-tz 2020.1-1 ii python3-urllib3 1.25.9-1 ii python3-whisper 1.1.4-2 graphite-web recommends no packages. Versions of packages graphite-web suggests: ii graphite-carbon 1.1.4-2 ii libapache2-mod-wsgi-py3 4.6.8-1+b1 pn python3-ldap <none> pn python3-memcache <none> pn python3-mysqldb <none> -- no debconf information
--- End Message ---
--- Begin Message ---Source: graphite-web Source-Version: 1.1.8-1 Done: Thomas Goirand <[email protected]> We believe that the bug you reported is fixed in the latest version of graphite-web, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Thomas Goirand <[email protected]> (supplier of updated graphite-web package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Mon, 06 Sep 2021 13:33:05 +0200 Source: graphite-web Architecture: source Version: 1.1.8-1 Distribution: unstable Urgency: medium Maintainer: Debian Graphite Group <[email protected]> Changed-By: Thomas Goirand <[email protected]> Closes: 962623 Changes: graphite-web (1.1.8-1) unstable; urgency=medium . * New upstream release: - Works with Python 3.9 (Closes: #962623). * Refresh local_settings.patch. * Rebase settings_debian.patch (taken from bug report). * Drop CVE-2017-18638.patch applied upstream. Checksums-Sha1: 50394f19ff664977079f2b3a7e302be420c9157b 2253 graphite-web_1.1.8-1.dsc 562ccbe2466bcd150b3863e162b05d5537cd9de1 1177214 graphite-web_1.1.8.orig.tar.gz 63230e5bcb6861fafa268263c61fd0b839437e42 226276 graphite-web_1.1.8-1.debian.tar.xz 6614632c398f302bfe2c7a5aec044a69b6d76ca1 7658 graphite-web_1.1.8-1_amd64.buildinfo Checksums-Sha256: 9145ac423f9786f8e8a3a9d0be68d9d5fa69c45a0c0754c575df10e2696882e5 2253 graphite-web_1.1.8-1.dsc 54240b0f1e069b53e2ce92d4e534e21b195fb0ebd64b6ad8a49c44284e3eb0b1 1177214 graphite-web_1.1.8.orig.tar.gz 4758565b6df8a67e92e7b24c5896872971f4b89e39bf464b5bdaf6272bb9424d 226276 graphite-web_1.1.8-1.debian.tar.xz e9084e5b6e1e46e9f21d0838c30aa7389a2244de541c5579929ce65977301047 7658 graphite-web_1.1.8-1_amd64.buildinfo Files: 23087bad94610264a9b665d5ea6daf0b 2253 web extra graphite-web_1.1.8-1.dsc 088cba7cf97062e101f6c1565fc4c050 1177214 web extra graphite-web_1.1.8.orig.tar.gz c4e819b2ac38dcdb966f2fcbc579c51d 226276 web extra graphite-web_1.1.8-1.debian.tar.xz 59810edeb0e97fc825b738ce0ae30d1c 7658 web extra graphite-web_1.1.8-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmE1/awACgkQ1BatFaxr Q/5F2g//aJ/wsRAiIyGs5oEy0nAfy12J5SFphhH8q8wD1ernpxJcdrsIcL/557zL coGyXfNqHcgOyQ2ftpI8kq6KRdJ42tVBSDYdIFNnEndn/ux5CewNY2XywSUvHur3 Sr2Mqz+/+BrHk0KmlO+4OAqj+iEcDsftFQ6NeTo8In4lNRjIJea54U3jMG0InOVQ KbLsbZTcjtKm0LqkzZ+Fy2AdZebT0Sn26SP6nSfN6RW4ttqoSqm3+v2Kfb4+J9CM S6kanEClsQ13RjOWetAkGDR3FQbD/XWB2Nj+lahGnqiOrBK5+FBmWNvGZHHGJzLU x69K2biBnn7dlZuQSCwJD5KQ2cGsZR9Uwv+lZTKdGj41z0dPqRoE3RVXZT39oPUD gnz63vlQgA4EV+1eEvF11dNqFmmGhGvPE0kme4FrAGwmdNZO4YZD/HJ8mr9m6fm6 KzoU7i5ARaaXXWPgrbq2KSL9n/GHD2h7kv7rvpzN3MYBepL6zZEj6wA1VCU9U3iq wB6t/zUxFcoG2hhD4vQsKN8Ve+JAKZcbmo6j49znOYHPzXq+CDRvkpK6L18UsHrJ ncIgynMM24YmvcYLnhvchtVEJGU6nsVyjxVg2hNIt7NYcf4qByi/fkxUz857QbLP FyntxRWUhBVndY3YkeiK5trHKoXpxe/k6cnfHmEmw51xbFq8cAA= =AA0f -----END PGP SIGNATURE-----
--- End Message ---

