#1 2018-09-20 21:51:55
- ck10
- New member
- Registered: 2018-09-20
- Posts: 3
GCstar freeze + cover bug
Hi,
I've been using GCstar for years without any problem, but I'm experiencing some bugs for months.
GCstar freezes if I choose the picture mode in settings (the one with the left sidebar with covers) on Debian.
I get this error in the terminal :
Code:
Gtk-Message **: Failed to load module "canberra-gtk-module" at /usr/lib/x86_64-linux-gnu/perl5/5.24/Gtk2.pm line 126. *** unhandled exception in callback: *** Can't call method "get_width" on an undefined value at /usr/bin/../share/gcstar/lib/GCItemsLists/GCImageListComponents.pm line 363. *** ignoring at /usr/bin/gcstar line 328.
If this setting is selected, GCstar freezes even when booting.
It hangs in the middle of the loading screen.
I have to delete or move the .gcs file to reset, then choose an other way to display collection and reselect the .gcs.
I have this problem with GCstar installed with apt and if I load the perl program downloaded from git.
If I start a new collection, even without loading any cover and I switch to images mode, it starts freezing too.
My version of libcanberra-gtk3-module is up to date.
The same collection file works on Windows.
Any thoughts?
Thanks.
Last edited by ck10 (2018-09-22 02:44:50)
Offline
#2 2018-09-24 11:42:27
Re: GCstar freeze + cover bug
Hello
I checked GCstar on a clean Debian 9.4 using the Gitlab version. I didn't experience any problem using the image list with covers.
GCstar is using GTK2 libraries for Perl. Maybe there is a conflict between the versions of GTK. Try reinstalling libgtk2-perl.
Regards
Offline
#4 2018-09-24 20:32:07
- ck10
- New member
- Registered: 2018-09-20
- Posts: 3
Re: GCstar freeze + cover bug
kerenoc wrote:
Hello
I checked GCstar on a clean Debian 9.4 using the Gitlab version. I didn't experience any problem using the image list with covers.
GCstar is using GTK2 libraries for Perl. Maybe there is a conflict between the versions of GTK. Try reinstalling libgtk2-perl.
Regards
Hi,
Thank you for your reply.
I uninstalled libgtk-perl2, as well as GTK3 related packages.
Then I reinstalled GCstar.
Still the same. I go to settings -> Display -> Items list -> pictures and then it freezes.
Code:
Gtk-Message **: Failed to load module "canberra-gtk-module" at /usr/lib/x86_64-linux-gnu/perl5/5.24/Gtk2.pm line 126. *** unhandled exception in callback: *** Can't call method "get_width" on an undefined value at /usr/bin/../share/gcstar/lib/GCItemsLists/GCImageListComponents.pm line 363. *** ignoring at /usr/bin/gcstar line 328.
As long as I don't remove or move the .gcs collection, it will freeze when booting.
Regards
Last edited by ck10 (2018-09-24 20:32:39)
Offline
#5 2018-09-25 12:21:17
Re: GCstar freeze + cover bug
Hello,
I may have reproduced the problem by deleting the GCstar.conf configuration file then trying to display the items list wth images. The option listImgSize was not initialized in that case and GCstar was searching for a non existing miniature.
This can be solved by going in the Preferences in Expert Mode to set the miniatures size before changing the display type for Items List.
I fixed that in the Test branch on Gitlab in the file GCOptions.pm.
I hope it will fix your problem or further investigations will be necessary.
Offline
#6 2018-09-25 19:53:37
- ck10
- New member
- Registered: 2018-09-20
- Posts: 3
Re: GCstar freeze + cover bug
Problem solved. Thank you very much, it works well now.
I still have to download covers one by one because of a problem with my scrapper (DVDFR) but it's an other bug.
Thanks
Offline
#8 2018-10-22 20:19:22
- Antoniop
- Member
- Registered: 2007-08-15
- Posts: 27
Re: GCstar freeze + cover bug
Hi,
First, thanks a lot for your excellent work on gcstar. I'm still very happy to use it.
Just to let you know I had the same problem as ck10, with the gcstar version I just downloaded today. It was solved with the same solution, so no problem.
Thanks a lot !
Offline
Should you have a problem using GCstar, you can open a bug report or request some support on GCstar forums.