Bug 27681 - radiotray-ng is not fonctionnal
Summary: radiotray-ng is not fonctionnal
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2020-11-29 09:03 CET by Daniel BEZIVIN
Modified: 2023-01-28 20:39 CET (History)
7 users (show)

See Also:
Source RPM: radiotray-ng.0.2.5-1.mga7.rpm
CVE:
Status comment:


Attachments
file ~/.config/radiotray-ng/bookmarks.json (7.66 KB, application/json)
2020-11-29 09:05 CET, Daniel BEZIVIN
Details

Description Daniel BEZIVIN 2020-11-29 09:03:22 CET
Description of problem: Impossible to start it, When clicking to the icon in systray, no way to open the bookmarks.

Version-Release number of selected component (if applicable):
radiotray-ng.0.2.5-1.mga7.rpm

How reproducible: Install it
Start it in a terminal . Clic on the icon in systray, Preferences/Bookmarks editor
Then you get this message in console : "[2020-11-29 08:54:55.485976] [0x00007f01d5951e40] [error]   (bookmarks.cpp:43) - Failed to parse: /~/.config/radiotray-ng/bookmarks.json : * Line 238, Column 4
  Missing ',' or ']' in array declaration
A " ' " is missing after " } " in line 246, col 5 just above the group "France" in the file bookmarks.json
Comment 1 Daniel BEZIVIN 2020-11-29 09:05:05 CET
Created attachment 12028 [details]
file ~/.config/radiotray-ng/bookmarks.json
Comment 2 Daniel BEZIVIN 2020-11-29 09:06:44 CET
I mean a comma is missing
Comment 3 Nicolas Nicolas 2020-11-29 10:18:57 CET
Hello,

It affect also Cauldron version.
Comment 4 Jani Välimaa 2020-11-29 10:50:27 CET
Please test radiotray-ng-0.2.5-1.1.mga7 in core/updates_testing.

You might need to remove old bookmarks file ~/.config/radiotray-ng/bookmarks.json first.
Jani Välimaa 2020-11-29 10:51:06 CET

Assignee: bugsquad => qa-bugs
CC: (none) => jani.valimaa

Comment 5 Nicolas Nicolas 2020-11-29 14:23:45 CET
Hello,

I installed the testing package, but i had to rename ~/.config/radiotray-ng/ folder for radiotray-ng to regenerate the bookmarks.json.

So i suppose it will work on a fresh profile, but not on an already installed/launched one.
Comment 6 Daniel BEZIVIN 2020-11-29 19:18:21 CET
Hello
radiotray-ng-0.2.5-1.1.mga7 tested and works fine but it is necessary to delete the whole folder ~/.config/radiotray-ng before installing, not only bookmarks.json
Thanks
Comment 7 Aurelien Oudelet 2020-12-01 09:34:46 CET
(In reply to Daniel BEZIVIN from comment #6)
> Hello
> radiotray-ng-0.2.5-1.1.mga7 tested and works fine but it is necessary to
> delete the whole folder ~/.config/radiotray-ng before installing, not only
> bookmarks.json
> Thanks

Based on this as I had never installed this before,

Suggested advisory:
========================
Updated radiotray-ng package fixes bugs

The updated package fixes bugs in bookmarks file.
Users are advised that they must delete ~./config/radiotray-ng folder before updating.

========================

Updated packages in core/updates_testing:
========================
radiotray-ng-0.2.5-1.1.mga7

from SRPM:
radiotray-ng-0.2.5-1.1.mga7.src.rpm

CC: (none) => ouaurelien

Comment 8 Aurelien Oudelet 2020-12-07 10:56:16 CET
@David Hodgins,
Does this adv is satisfying? Does the fix seems OK?

CC: (none) => davidwhodgins

Comment 9 Dave Hodgins 2020-12-07 23:14:10 CET
Not in my opinion. Most people never read advisories, especially before
installing updates.

I'm assuming it's safe to delete the directory ~./config/radiotray-ng after
installing, as long as radiotray-ng is not running.

I think the package should be modified to include a README.urpmi warning
users that old versions of that directory must be deleted with radiotray-ng
not running.
Dave Hodgins 2020-12-10 21:29:26 CET

Keywords: (none) => feedback

Comment 10 Jani Välimaa 2020-12-13 19:01:04 CET
I can add README.update.urpmi if someone tells what to write to it.
Comment 11 Aurelien Oudelet 2020-12-14 09:03:58 CET
(In reply to Jani Välimaa from comment #10)
> I can add README.update.urpmi if someone tells what to write to it.

Proposed README.update.urpmi

radiotray-ng package was updated.

Old version of files in that directory must be removed. We strongly advice you to make a backup of ~./config/radiotray-ng directory and remove it.
As user in a Terminal, please do:
"mv ~/.config/radiotray-ng/ ~/.config/radiotray-ng.old/"

Normally, according to our policies, we do not want to remove/rename/touch files in user directory, but sometimes, some config files can be problematic and make software to have some misbehaviour.
Comment 12 Aurelien Oudelet 2021-02-04 18:34:39 CET
Ping?
Comment 13 Aurelien Oudelet 2021-02-19 10:34:40 CET
Re ping. We should fix this.
@Packager can you take a look?
Comment 14 Jani Välimaa 2021-06-29 08:52:54 CEST
Pushed radiotray-ng-0.2.5-1.2.mga7 with README.update.urpmi to core/updates_testing.
David Walser 2021-06-29 16:48:45 CEST

Keywords: feedback => (none)

Comment 15 Aurelien Oudelet 2021-07-06 13:15:12 CEST
Mageia 7 is EOL since July 1st 2021.
There will not have any further bugfix for this release.

You are encouraged to upgrade to Mageia 8 as soon as possible.

@reporter, if this bug still apply with Mageia 8, please let us know it.

@packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead.

This bug report will be closed OLD if there is no further notice within 1st September 2021.
Comment 16 Herman Viaene 2021-07-09 11:09:50 CEST
MGA7-64 Plasma on Lenovo B50
First installed the current version, but that one was sort ot incomplete, since it  had no list of categories or stations.
Installed then the version of Comment 14, deleted the radiotray-ng folder from ~/.config, started radiotray-ng, and got the list of catergories and could pick one of the stations and listen.
Ok then.

Whiteboard: (none) => MGA7-64-OK
CC: (none) => herman.viaene

Comment 17 Thomas Andrews 2021-07-09 16:10:26 CEST
Validating. Advisory in Comment 7

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Thomas Backlund 2021-07-10 13:27:41 CEST

Keywords: (none) => advisory

Comment 18 Mageia Robot 2021-07-10 14:58:15 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2021-0148.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Comment 19 Herman Viaene 2023-01-27 09:29:55 CET
MGA8-64 on different platforms
Install radiotray-ng-0.2.7-12.1 and run it for the first time:
$ radiotray-ng 
[2023-01-27 09:22:25.413503] [0x00007f1dfe6969c0] [error]   (config.cpp:45) - Failed to load: /home/tester8/.config/radiotray-ng/radiotray-ng.json : No such file or directory
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
  what():  boost::filesystem::copy_file: Invalid cross-device link: "/usr/share/radiotray-ng/bookmarks.json", "/home/tester8/.config/radiotray-ng/bookmarks.json"
Aborted (core dumped)
Subsequent tries result in radiotray running, but the menu just displays "About" - "Quit" and 3 greyed out options.
Tested on Plasma and MATE

Resolution: FIXED => (none)
Status: RESOLVED => REOPENED

Comment 20 Morgan Leijström 2023-01-27 12:43:31 CET
Herman,
As this bug was already resolved for mga7, pushed update, incl advisory
- please open a new bug for mga8 and close this one.

Also, have you tested on cauldron?
If valid for cauldron set the bug to cauldron and flag MGA8TOO

CC: (none) => fri

Comment 21 sturmvogel 2023-01-27 14:46:06 CET
Even if Herman needs to open a new bug: can't repeat the issue. At first start (if  this app was never opened before), the config file gets created and the app starts in the systray with full functional menu. Below the (absolut normal and correct) output of first start of the app after installation.

MGA8 64bit Plasma

[rotz@rotz .config]$ radiotray-ng
[2023-01-27 14:45:58.317900] [0x00007f78300bd9c0] [error]   (config.cpp:45) - Failed to load: /home/rotz/.config/radiotray-ng/radiotray-ng.json : No such file or directory
[2023-01-27 14:45:58.330818] [0x00007f78300bd9c0] [debug]   (config.cpp:55) - saving: /home/rotz/.config/radiotray-ng/radiotray-ng.json
Comment 22 Thomas Backlund 2023-01-28 20:39:38 CET
.

Resolution: (none) => FIXED
Status: REOPENED => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.