Package: meteo-qt Version: 1.0.0-1 Severity: grave Tags: upstream Justification: renders package unusable
Dear Maintainer, My installation of meteo-qt in buster crashes as soon as I start it: judicael:~$ meteo-qt ERROR: 6 days forcast not available : HTTP Error 401: Unauthorized - 1858 :meteo_qt Traceback (most recent call last): File "/usr/lib/python3/dist-packages/meteo_qt/meteo_qt.py", line 1383, in done self.overviewcity() File "/usr/lib/python3/dist-packages/meteo_qt/meteo_qt.py", line 325, in overviewcity rise_str = self.utc('Sunrise', 'weatherdata') File "/usr/lib/python3/dist-packages/meteo_qt/meteo_qt.py", line 445, in utc self.weatherDataDico[rise_set].split('T')[1].split(':') AttributeError: 'NoneType' object has no attribute 'split' Abandon judicael:~$ echo $? 134 (In my locale (French) "Abandon" is the word for "Aborted") If I remove the config file ~/.config/meteo-qt/meteo-qt.conf, meteo-qt starts normally and asks me to provide an API key. If I provide it the wrong one, I can not add any city: I get an "Error: 401 Unauthorized" when typing "Paris" in the "Start typing the city or the geographic coordinates "latitude, longitude" search box. If I provide the right one, I can find Paris in that search box, I can select "Paris, FR", click the OK button in the "Cities" window. I am then back in the main parameter window. As soon as I click on "Apply" or "OK", meteo-qt crashes with the same error message. My configuration (API key removed): ---------------------------------- ~$ cat ~/.config/meteo-qt/meteo-qt.conf | sed -e 's/APPID=.*/APPID=xxxxxxxx/' [General] APPID=xxxxxxxx CitiesTranslation={} City=Paris CityList=['Paris_FR_2988507'] Country=FR ID=2988507 Proxy=False Unit=metric [Logging] Level=INFO [SearchCity] Geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\0\0\a\x80\0\0\0\0\0\0\n\xa3\0\0\x1\x35\0\0\a\x82\0\0\0\0\0\0\n\xa1\0\0\x1\x33\0\0\0\x2\0\0\0\0\a\x80) ---------------------------------- Yours, J. Courant. -- System Information: Debian Release: 10.0 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages meteo-qt depends on: ii python3 3.7.3-1 ii python3-lxml 4.3.2-1 ii python3-pyqt5 5.11.3+dfsg-1+b3 ii python3-sip 4.19.14+dfsg-2 Versions of packages meteo-qt recommends: ii meteo-qt-l10n 1.0.0-1 meteo-qt suggests no packages. -- no debconf information