#1 2017-01-12 10:39:27

FibonacciRocks
New member
Registered: 2017-01-12
Posts: 3

Boardgames plugin stopped working

After an update to the BoardGameGeek site, the boardgame plugin is failing during internet lookup operations.  Whenever I try to add or update a game, GCStar hangs with "Search in Progress... (Board Game Geek)" displayed in the status area.

Inquiries at the BGG site reveal that BGG now requires all communication to be https rather than http.  I don't know if that's the only change they've made.

I tried changing all the embedded http calls in the GCboardgamegeek.pm file to https.  It didn't work as the application still hangs in the same place. And that pretty much exhausts my Perl capabilities.

Could someone who knows about such things please take a look.

I'm using version 1.6.1 on Windows10.

Offline

 

#2 2017-01-12 15:12:55

kerenoc
Member
Registered: 2016-03-19
Posts: 93

Re: Boardgames plugin stopped working

This topic was raised recently in another discussion thread in French

It seems that the available Windows binaries version of GCstar don't support SSL.

The current solution is to install Perl (from ActiveState for exemple), install Gtk2 for Perl and update GCstar to get the latest versions of the plugins (commands in the message http://forums.gcstar.org/viewtopic.php?pid=28856#p28856 )

With this method, I was able to get a game description from Board Game Geek.

Offline

 

#3 2017-01-13 23:13:38

FibonacciRocks
New member
Registered: 2017-01-12
Posts: 3

Re: Boardgames plugin stopped working

Thank you kerenoc. You solution fixed most of the issues I was having.  One remaining problem is that no image is downloaded when adding a new game.  This was a problem that cropped up a few years ago.  It was fixed by prepending "https:" to the data retrieved in the boardgame plugin

$self->{curInfo}->{boxpic} =  "htpps:".$xml->{boardgame}->{image}
or
$self->{curInfo}->{boxpic} =  "htpps:".$xml->{boardgame}->{thumbnail}

That solution no longer works.  Nor does the original code

$self->{curInfo}->{boxpic} =  $xml->{boardgame}->{image}
or
$self->{curInfo}->{boxpic} =  $xml->{boardgame}->{thumbnail}

Do you (or anyone else) have any suggestions for me?

Offline

 

#4 2017-01-14 08:40:35

kerenoc
Member
Registered: 2016-03-19
Posts: 93

Re: Boardgames plugin stopped working

Support of HTTPS and // url is not fully supported yet in GCstar (in GCMainWindow.pm and GCPlugins.pm.

Meanwhile, a quick fix should be to use

$self->{curInfo}->{boxpic} =  "http:".$xml->{boardgame}->{image}
and
$self->{curInfo}->{boxpic} =  "http:".$xml->{boardgame}->{thumbnail}

Offline

 

#5 2017-01-14 13:03:44

FibonacciRocks
New member
Registered: 2017-01-12
Posts: 3

Re: Boardgames plugin stopped working

Hi Kerenoc.  That didn't work.

However, changing the regular expression used to grab image files in GCMain and GCPlugins to include an optional 's'

m|^http://|)
to
m|^https*hmm/|)

succeeded. Thanks for pointing me at the files that needed to be tweaked.  I was lost trying to find the actual download code.

EDIT:  How does one turn off automatic emoticon conversion?

Last edited by FibonacciRocks (2017-01-14 13:07:03)

Offline

 



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