Banksia GUI released

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

noobpwnftw
Posts: 701
Joined: Sun Nov 08, 2015 11:10 pm
Full name: Bojun Guo

Re: Banksia GUI released

Post by noobpwnftw »

If this is HTTP code 406 from the server, then you might want to add more "Accept-???" headers as per curl or wget sends in your request.
User avatar
phhnguyen
Posts: 1543
Joined: Wed Apr 21, 2010 4:58 am
Location: Australia
Full name: Nguyen Hong Pham

Re: Banksia GUI released

Post by phhnguyen »

noobpwnftw wrote: Sun Jan 26, 2020 3:44 pm If this is HTTP code 406 from the server, then you might want to add more "Accept-???" headers as per curl or wget sends in your request.
It didn't work, same error.

It is strange that when I copied the PGN file to my website, using SSL too, my download code works very well with any header.
https://banksiagui.com
The most features chess GUI, based on opensource Banksia - the chess tournament manager
User avatar
AdminX
Posts: 6398
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Banksia GUI released

Post by AdminX »

I am sure you probably have seen this documentation already, if not it might help.

https://doc.qt.io/qt-5/qnetworkaccessmanager.html
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
User avatar
phhnguyen
Posts: 1543
Joined: Wed Apr 21, 2010 4:58 am
Location: Australia
Full name: Nguyen Hong Pham

Re: Banksia GUI released

Post by phhnguyen »

AdminX wrote: Sun Jan 26, 2020 7:20 pm I am sure you probably have seen this documentation already, if not it might help.

https://doc.qt.io/qt-5/qnetworkaccessmanager.html
Yep, I read it almost every day :)
https://banksiagui.com
The most features chess GUI, based on opensource Banksia - the chess tournament manager
User avatar
phhnguyen
Posts: 1543
Joined: Wed Apr 21, 2010 4:58 am
Location: Australia
Full name: Nguyen Hong Pham

Re: Banksia GUI released

Post by phhnguyen »

noobpwnftw wrote: Sun Jan 26, 2020 3:44 pm If this is HTTP code 406 from the server, then you might want to add more "Accept-???" headers as per curl or wget sends in your request.
I have almost stopped querying directly via QNetworkAccessManager (still use that for non-ssl hosts only). Now for SSL hosts (such as theweekinchess.com) I use an ssl socket (QSslSocket) and query in two steps (the method looks similar to cUrl when it shows on my computer): connect to host for a handshake first, then query the content. Work like a charm :D
https://banksiagui.com
The most features chess GUI, based on opensource Banksia - the chess tournament manager
Paloma
Posts: 1243
Joined: Thu Dec 25, 2008 9:07 pm
Full name: Herbert L

Re: Banksia GUI released

Post by Paloma »

You are great! :!: :!: :!:
mikebock
Posts: 9
Joined: Sun Dec 15, 2019 5:31 pm
Full name: Michael Bock

Re: Banksia GUI released

Post by mikebock »

Great job! This GUI is looking really awesome.
mmt
Posts: 343
Joined: Sun Aug 25, 2019 8:33 am
Full name: .

Re: Banksia GUI released

Post by mmt »

It seems that setting the number of threads doesn't work? ? They come back to 1 after changes.
BrendanJNorman
Posts: 2600
Joined: Mon Feb 08, 2016 12:43 am
Full name: Brendan J Norman

Re: Banksia GUI released

Post by BrendanJNorman »

mmt wrote: Thu Jan 30, 2020 10:17 pm It seems that setting the number of threads doesn't work? ? They come back to 1 after changes.
Have you switched "overall settings" off or adjusted it?
mmt
Posts: 343
Joined: Sun Aug 25, 2019 8:33 am
Full name: .

Re: Banksia GUI released

Post by mmt »

BrendanJNorman wrote: Thu Jan 30, 2020 11:00 pm Have you switched "overall settings" off or adjusted it?
The "overall options" is on.