Description of problem: meteo-qt doesnt start. If you start it with the console you see the following error message: Traceback (most recent call last): File "/bin/meteo-qt", line 5, in <module> meteo_qt.main() File "/usr/lib/python3.4/site-packages/meteo_qt/meteo_qt.py", line 723, in main filename=log_filename, level=log_level) File "/usr/lib64/python3.4/logging/__init__.py", line 1739, in basicConfig h = FileHandler(filename, mode) File "/usr/lib64/python3.4/logging/__init__.py", line 1006, in __init__ StreamHandler.__init__(self, self._open()) File "/usr/lib64/python3.4/logging/__init__.py", line 1030, in _open return open(self.baseFilename, self.mode, encoding=self.encoding) FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/home/jurgen/.config/meteo-qt/meteo-qt.log' Version-Release number of selected component (if applicable): 0.7.0 Steps to Reproduce: I made an clean install of Mageia 5 with the LXDE and LXQt Desktopenvironment. After the first boot i tried to start meteo-qt with no success. Workaround: I had to create manualy the file ".config/meteo-qt/meteo-qt.log" in my home directory and after that it started. Somehow meteo-qt cannot create it. Reproducible: Steps to Reproduce:
Assignee: bugsquad => dglent
Summary: meteo-qt doesnt start - cant create meteo-qt.log automaticly => meteo-qt doesnt start - cant create meteo-qt.log automatically
Reproduced here.
CC: (none) => doktor5000
Yes i can reproduce it in fresh install (by deleting the folder meteo-qt in ~/.confing) I am away from my computer for this month, i will fix the next month. Thanks for reporting it
I have uploaded the update of version 0.7.1 for Mageia 5 Suggested advisory: ======================== This update fix the following error: Traceback (most recent call last): File "/bin/meteo-qt", line 5, in <module> meteo_qt.main() File "/usr/lib/python3.4/site-packages/meteo_qt/meteo_qt.py", line 723, in main filename=log_filename, level=log_level) File "/usr/lib64/python3.4/logging/__init__.py", line 1739, in basicConfig h = FileHandler(filename, mode) File "/usr/lib64/python3.4/logging/__init__.py", line 1006, in __init__ StreamHandler.__init__(self, self._open()) File "/usr/lib64/python3.4/logging/__init__.py", line 1030, in _open return open(self.baseFilename, self.mode, encoding=self.encoding) FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/home/jurgen/.config/meteo-qt/meteo-qt.log' ======================== Updated packages in core/updates_testing: ======================== meteo-qt-0.7.1-1.mga5.noarch.rpm Source RPMs: meteo-qt-0.7.1-1.mga5.src.rpm
Assignee: dglent => qa-bugs
Works for me.
I can confirm this bug too,i tested this and it fix bug this is ready to be pushed. Validating to wait advisory. Can sysadmins push this to updates.
Keywords: (none) => validated_updateCC: (none) => ozkyster, sysadmin-bugs
CC: (none) => dglent
Next time please do not validate an update that has an empty whiteboard, it looks like it's not been tested. What arch of Mageia 5 have you tested on? Also, the advisory is not good, so I'm removing the validated_update until a better advisory is provided either by the packager (preferred) or QA. (In reply to Dimitrios Glentadakis from comment #3) > I have uploaded the update of version 0.7.1 for Mageia 5 > > Suggested advisory: Sorry, this does not qualify as an advisory. Advisory are meant to be read by users, not technical-savvy people. Please translate that into english words, with context, such as "This fixes a bug where meteo-qt would crash upon starting if the file ~/.config/meteo-qt/meteo-qt.log did not exist. This made it impossible to start for most users."
Keywords: validated_update => (none)
Suggested advisory: ======================== This fixes a bug when launching meteo-qt version 0.7.0 with a fresh install (no ~/.config/meteo-qt folder present) the application crashes with the following error (if meteo-qt is executed in a terminal): Traceback (most recent call last): File "/bin/meteo-qt", line 5, in <module> meteo_qt.main() File "/usr/lib/python3.4/site-packages/meteo_qt/meteo_qt.py", line 723, in main filename=log_filename, level=log_level) File "/usr/lib64/python3.4/logging/__init__.py", line 1739, in basicConfig h = FileHandler(filename, mode) File "/usr/lib64/python3.4/logging/__init__.py", line 1006, in __init__ StreamHandler.__init__(self, self._open()) File "/usr/lib64/python3.4/logging/__init__.py", line 1030, in _open return open(self.baseFilename, self.mode, encoding=self.encoding) FileNotFoundError: [Errno 2] The file or folder cannot be found: '/home/jurgen/.config/meteo-qt/meteo-qt.log' ======================== Updated packages in core/updates_testing: ======================== meteo-qt-0.7.1-1.mga5.noarch.rpm Source RPMs: meteo-qt-0.7.1-1.mga5.src.rpm
Advisory: ======================== This fixes a bug when launching meteo-qt version 0.7.0 with a fresh install (no ~/.config/meteo-qt folder present) the application crashes with the following error (if meteo-qt is executed in a terminal): Traceback (most recent call last): File "/bin/meteo-qt", line 5, in <module> meteo_qt.main() File "/usr/lib/python3.4/site-packages/meteo_qt/meteo_qt.py", line 723, in main filename=log_filename, level=log_level) File "/usr/lib64/python3.4/logging/__init__.py", line 1739, in basicConfig h = FileHandler(filename, mode) File "/usr/lib64/python3.4/logging/__init__.py", line 1006, in __init__ StreamHandler.__init__(self, self._open()) File "/usr/lib64/python3.4/logging/__init__.py", line 1030, in _open return open(self.baseFilename, self.mode, encoding=self.encoding) FileNotFoundError: [Errno 2] The file or folder cannot be found: '/home/jurgen/.config/meteo-qt/meteo-qt.log' ======================== Updated packages in core/updates_testing: ======================== meteo-qt-0.7.1-1.mga5.noarch.rpm Source RPMs: meteo-qt-0.7.1-1.mga5.src.rpm
We don't put stacktraces into advisories. A stacktrace is not english, it's not a language for normal users. And an advisory should not contain things such as "/home/jurgen" :)
May be remove completely the Traceback ? Advisory: ======================== This fixes a bug when launching meteo-qt version 0.7.0 with a fresh install (no ~/.config/meteo-qt folder present) the application crashes ======================== Updated packages in core/updates_testing: ======================== meteo-qt-0.7.1-1.mga5.noarch.rpm Source RPMs: meteo-qt-0.7.1-1.mga5.src.rpm
Yes, thanks. Starting from your proposal I suggest : Advisory: ======================== This fixes a bug when launching meteo-qt version 0.7.0 from a system where meteo-qt had never been used before (no ~/.config/meteo-qt folder present): the application crashes.
Hups my bad i forget to add whiteboard thx for notice that.
I'll mark only mga5-64-ok as this is noarch package same to both arch.
Whiteboard: (none) => MGA5-64-OK
We usually test the updates on both arches even for noarch packages, you never know what arch packages they rely on and this allows to make sure it's tested on two different systems. However in the current surge of updates only one test is OK for such a package as meteo-qt.
Keywords: (none) => validated_update
Advisory: ======================== This fixes a bug when launching meteo-qt version 0.7.0 from a system where meteo-qt had never been used before (no ~/.config/meteo-qt folder present): the application crashes. ======================== Updated packages in core/updates_testing: ======================== meteo-qt-0.7.1-1.mga5.noarch.rpm Source RPMs: meteo-qt-0.7.1-1.mga5.src.rpm
CC: (none) => davidwhodginsWhiteboard: MGA5-64-OK => MGA5-64-OK advisory
An update for this issue has been pushed to Mageia Updates repository. http://advisories.mageia.org/MGAA-2015-0077.html
Status: NEW => RESOLVEDResolution: (none) => FIXED