#1 2020-06-07 21:34:12

Antoniop
Member
Registered: 2007-08-15
Posts: 27

Amazon not available for download

Hi Kerenoc,
Thanks a lot for this excellent work and making GCStar alive !
I downloaded the last version from github and I've a problem because none of the Amazon sites are available for downloading books information.
They're just not in the list any more. And also, I've got a lot of old sites name's starting with ZZZ. Is ti possible to remove them ?
Thanks a lot :-)

Offline

 

#2 2020-06-08 08:38:23

kerenoc
Administrator
Registered: 2016-03-19
Posts: 422
Website

Re: Amazon not available for download

Thanks for tracking this bug. A dependency on a common module between movies and books for Amazon was missing : if a movie collection was open first, then it was also ok for books. It should now be solved in the Git repo.

As for ZZZ- plugins, I used this convention for plugins that once worked and are based on web sites that are still available : it may encourage developpers to try to fix them! I delete plugins when the web site is no longer available. I try to maintain a list of all plugins in https://gitlab.com/Kerenoc/GCstar/-/blo … Plugins.md , however the list may not be up-to-date.

Last edited by kerenoc (2020-06-08 08:38:50)

Offline

 

#3 2020-06-08 09:41:22

Antoniop
Member
Registered: 2007-08-15
Posts: 27

Re: Amazon not available for download

Hi Kerenoc,
Thanks a lot for the fast answer.
Amazon site are now listed (and the list is clean :-)) however, a search doesn't work.
It seems that it's not working on any site.

Here is what I have in the console :

Code:

perl gcstar
Gtk-Message **: Failed to load module "canberra-gtk-module" at /usr/lib64/perl5/vendor_perl/Gtk2.pm line 126.

DBG Plugins : error with plugin GCGBooks
 : Can't locate JSON.pm in @INC (you may need to install the JSON module) (@INC contains: /home/antonio/progs/GCstar/gcstar/bin/../lib/gcstar /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 /usr/lib/perl5/5.26.2 /usr/lib/perl5/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/5.26.1 /usr/lib/perl5/5.26.0 /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi /usr/lib/perl5/5.22.3 /usr/lib/perl5/5.22.3/x86_64-linux-thread-multi /usr/lib/perl5/5.22.2 /usr/lib/perl5/5.22.2/x86_64-linux-thread-multi /usr/lib/perl5/5.22.1 /usr/lib/perl5/5.22.1/x86_64-linux-thread-multi /usr/lib/perl5/5.22.0 /usr/lib/perl5/5.22.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.2 /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.1 /usr/lib/perl5/vendor_perl/5.26.0 /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.22.3 /usr/lib/perl5/vendor_perl/5.22.3/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.22.2 /usr/lib/perl5/vendor_perl/5.22.2/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.22.1 /usr/lib/perl5/vendor_perl/5.22.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.22.0 /usr/lib/perl5/vendor_perl/5.22.0/x86_64-linux-thread-multi) at /home/antonio/progs/GCstar/gcstar/bin/../lib/gcstar/GCPlugins/GCbooks/GCGBooks.pm line 40.
BEGIN failed--compilation aborted at /home/antonio/progs/GCstar/gcstar/bin/../lib/gcstar/GCPlugins/GCbooks/GCGBooks.pm line 40.
Compilation failed in require at (eval 150) line 2.
BEGIN failed--compilation aborted at (eval 150) line 2.

DBG Plugins : error with plugin GCGBooks
 : Can't locate JSON.pm in @INC (you may need to install the JSON module) (@INC contains: /home/antonio/progs/GCstar/gcstar/bin/../lib/gcstar /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 /usr/lib/perl5/5.26.2 /usr/lib/perl5/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/5.26.1 /usr/lib/perl5/5.26.0 /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi /usr/lib/perl5/5.22.3 /usr/lib/perl5/5.22.3/x86_64-linux-thread-multi /usr/lib/perl5/5.22.2 /usr/lib/perl5/5.22.2/x86_64-linux-thread-multi /usr/lib/perl5/5.22.1 /usr/lib/perl5/5.22.1/x86_64-linux-thread-multi /usr/lib/perl5/5.22.0 /usr/lib/perl5/5.22.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.2 /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.1 /usr/lib/perl5/vendor_perl/5.26.0 /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.22.3 /usr/lib/perl5/vendor_perl/5.22.3/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.22.2 /usr/lib/perl5/vendor_perl/5.22.2/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.22.1 /usr/lib/perl5/vendor_perl/5.22.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.22.0 /usr/lib/perl5/vendor_perl/5.22.0/x86_64-linux-thread-multi) at /home/antonio/progs/GCstar/gcstar/bin/../lib/gcstar/GCPlugins/GCbooks/GCGBooks.pm line 40.
BEGIN failed--compilation aborted at /home/antonio/progs/GCstar/gcstar/bin/../lib/gcstar/GCPlugins/GCbooks/GCGBooks.pm line 40.
Compilation failed in require at (eval 71) line 2.
BEGIN failed--compilation aborted at (eval 71) line 2.

GLib-CRITICAL **: Source ID 773 was not found when attempting to remove it at /home/antonio/progs/GCstar/gcstar/bin/../lib/gcstar/GCMainWindow.pm line 496.
DBG loadPage http://www.amazon.fr/s/ref=nb_sb_noss_1?url=search-alias=stripbooks&field-keywords=la+guerre+des+mondes
DBG loadPage https://www.noosfere.org/livres/cyborg_livre.asp?mini=1000&maxi=3000&mode=Tous&EtOuParution=NS&titre=la+guerre+des+mondesPluginsBase response 500 url https://www.noosfere.org/livres/cyborg_livre.asp?mini=1000&maxi=3000&mode=Tous&EtOuParution=NS&titre=la+guerre+des+mondes
GLib-CRITICAL **: Source ID 1180 was not found when attempting to remove it at /home/antonio/progs/GCstar/gcstar/bin/../lib/gcstar/GCMainWindow.pm line 496.

Thanks a lot !

Offline

 

#4 2020-06-08 13:17:10

kerenoc
Administrator
Registered: 2016-03-19
Posts: 422
Website

Re: Amazon not available for download

It seems that you are missing the Perl module JSON that is necessary for some plugins, for example GoogleBooks. You can install it with "cpan install JSON", where the cpan command is part of the Perl distribution.

However, this module is not used by the Amazon plugins and searching their sites should be ok. Which books are creating the problem?

Offline

 

#5 2020-06-08 13:30:44

Antoniop
Member
Registered: 2007-08-15
Posts: 27

Re: Amazon not available for download

I tried "la guerre des mondes" on amazon.fr. This is the same on Noosphere.
I installed perl-JSON and the JSON error message disappeared, and but it doesn't work, I still have the "GLIB-CRITICAL" error message.
Thanks

Offline

 

#6 2020-06-08 21:40:37

kerenoc
Administrator
Registered: 2016-03-19
Posts: 422
Website

Re: Amazon not available for download

The Glib critical messages are related the possibility to abort a search available on Linux and MacOS. It's not so critical as I tested GCstar on Ubuntu and the  "La guerre des mondes" on Noosphere seems ok , returning tens of book references.

Could you try with books returning less references like "Soeur Onden" or "Les guerriers du silence"?

You may also launch GCstar with "perl -w gcstar" to enable the logging of warning messages.

Offline

 

#7 2020-06-09 09:32:21

Antoniop
Member
Registered: 2007-08-15
Posts: 27

Re: Amazon not available for download

Hi Kerenoc,
I downloaded a new version this morning, and it's just work fine, on amazon.fr and Noosphere :-)
Publication date is missing from Amazon, but maybe it's just not available (tried on soeur Onden)
Thanks a lot, that's great !

Offline

 

#8 2020-06-09 11:57:57

kerenoc
Administrator
Registered: 2016-03-19
Posts: 422
Website

Re: Amazon not available for download

i'm glad it's now woking for you.

On AmazonFR, I can get the publication date for Soeur Onden, 28/01/2013 (Kindle version).

Offline

 



Should you have a problem using GCstar, you can open a bug report or request some support on GCstar forums.