[pkg-lxqt-devel] Bug#936016: meteo-qt crashes immediately

Alf Gaida agaida at siduction.org
Thu Aug 29 22:10:38 BST 2019


Nice finding, unfortunately you are right:


>From bfe9ae4d25b914d5c2622042303ba09fa8060e80 Mon Sep 17 00:00:00 2001
From: Dimitrios Glentadakis <dglent at free.fr>
Date: Mon, 6 May 2019 19:34:58 +0200
Subject: [PATCH] Fix crash when 6 days forceast is not available

---
 meteo_qt/meteo_qt.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meteo_qt/meteo_qt.py b/meteo_qt/meteo_qt.py
index f6fca87..9774616 100644
--- a/meteo_qt/meteo_qt.py
+++ b/meteo_qt/meteo_qt.py
@@ -1861,6 +1861,10 @@ def run(self):
             'Fetching url for 6 days :' + self.forecast6_url
             + self.id_ + self.suffix + '&cnt=7'
         )
+        reqforecast6 = (
+            self.forecast6_url + self.id_
+            + self.suffix + '&cnt=7'
+        )
         try:
             reqforecast6 = urllib.request.urlopen(
                 self.forecast6_url + self.id_


Applying this patch to 1.0.0 fixes the problem for me - next question is:

How to get this to stable, testing and sid have already 1.3.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-lxqt-devel/attachments/20190829/3677a9af/attachment.html>


More information about the pkg-lxqt-devel mailing list