Page 1 of 1

Springlobby: can't download more than one engine per session

Posted: 17 Apr 2016, 23:22
by jobarjo
Hi

I'm using ubuntu trusty 64 (mate)
I first installed springlobby from spring ppa.
It was very outdated and couldn't play.

I then found playdeb.net repository which installed 0.243, everything was ok. It could download most games and engines.
it then updated to 0.244, nothing worked (segfault). I deleted my .spring folder, and it can't download some engines like 101.0 and more.

I compiled 0.245, still the same. it says no mirror found on 101.0. no problem with downloading 100.0 or 98.0

Anyone has a suggestion? Thanks

Re: SpringLobby 0.245 released!

Posted: 17 Apr 2016, 23:28
by abma
jobarjo wrote:Anyone has a suggestion? Thanks

uninstall the system installed spring: https://github.com/springlobby/springlobby/issues/707

Re: SpringLobby 0.245 released!

Posted: 17 Apr 2016, 23:37
by jobarjo
uninstalled getdeb's package, and still the same problem: mirror not found for engine 101.0
I had no more segfault since I deleted .spring folder.

Re: Springlobby crash after updating to 0.244 using playdeb's package

Posted: 17 Apr 2016, 23:42
by abma
jobarjo wrote:uninstalled getdeb's package, and still the same problem: mirror not found for engine 101.0
which version are you using now? i'm a bit confused as you did like 10 things and reported all problems in a single post.

(i moved your posts into the correct forum and gave it a meaningful title)

Re: Springlobby crash after updating to 0.244 using playdeb's package

Posted: 17 Apr 2016, 23:51
by jobarjo
I compiled from springlobby's git
My problem is no more the crash, but that it can't download some engines like 101.0 with a mirror not found.

I also can't revert to 0.243 package...

Re: Springlobby crash after updating to 0.244 using playdeb's package

Posted: 17 Apr 2016, 23:54
by abma
jobarjo wrote:I compiled from springlobby's git
thats a good start, so you should use the latest version which is springlobby 0.245.

did you uninstall all system installed spring? i.e. sudo apt-get remove spring

Re: Springlobby crash after updating to 0.244 using playdeb's package

Posted: 17 Apr 2016, 23:57
by jobarjo
just removed spring package, still the same, can't download 101.0
.../pkgs/springlobby/src/downloader/lib/src/Downloader/Http/HttpDownloader.cpp:340:setupDownload(): No mirror found

Re: Springlobby crash after updating to 0.244 using playdeb's package

Posted: 18 Apr 2016, 00:15
by abma
jobarjo wrote:just removed spring package, still the same, can't download 101.0
.../pkgs/springlobby/src/downloader/lib/src/Downloader/Http/HttpDownloader.cpp:340:setupDownload(): No mirror found
how do you start the engine download? there are several posibilities to start engine download.

Re: Springlobby crash after updating to 0.244 using playdeb's package

Posted: 18 Apr 2016, 00:17
by jobarjo
I go in the battle list and right click on a battle to download engine.

Re: Springlobby crash after updating to 0.244 using playdeb's package

Posted: 18 Apr 2016, 00:28
by abma
jobarjo wrote:I go in the battle list and right click on a battle to download engine.
which exact engine version are you trying to download? i tried 101.0 the same way a few seconds ago and it worked for me.

Re: Springlobby crash after updating to 0.244 using playdeb's package

Posted: 18 Apr 2016, 08:48
by jobarjo
Yes 101.0 and more.
Did you delete your .spring folder?
98.0 and 100.0 download ok.
Is it related to my ISP?
Where is engine 101.0 hosted?

I tried to delete all settings again by removing .spring and .springlobby, but springlobby still has my login account.
Where is my login account stored?

Note that I execute springlobby directly from the source folder. It is not installed.

Re: Springlobby crash after updating to 0.244 using playdeb's package

Posted: 18 Apr 2016, 09:22
by jobarjo
I think I found something.

When I refuse to load engine 100.0 at startup, engine 101.0 will download.
But then engine 100.0 will not download.
I noticed an info message:

Code: Select all

[Info] md5 sum missmatch bb1887bac70344fd1fe0a042c131f6b1 00000000000000000000000000000000
[Info] md5 sum missmatch bb1887bac70344fd1fe0a042c131f6b1 00000000000000000000000000000000
[Error] .../pkgs/springlobby/src/downloader/lib/src/Downloader/Http/HttpDownloader.cpp:340:setupDownload(): No mirror found
I also have this

Code: Select all

[Error] .../pkgs/springlobby/src/downloader/lib/src/FileSystem/File.cpp:96:Open(): File already exists but file-size missmatched
[Info] md5 sum missmatch 41972b608411dd0db67d0d101ba76696 29308ec2d390ccd093360012916d4c4d

Re: Springlobby crash after updating to 0.244 using playdeb's package

Posted: 18 Apr 2016, 11:09
by abma
jobarjo wrote:Did you delete your .spring folder?
no, just ~/.spring/engine atm, will try more.
jobarjo wrote:98.0 and 100.0 download ok.
Is it related to my ISP?
maybe, needs more info.
jobarjo wrote:Where is engine 101.0 hosted?
two urls are called to download it: sth. like http://api.springfiles.com/json.php?springname=

and http://springrts.com/dl/buildbot/ where the engine is downloaded from.

atm api.springfiles.com is offline/overloaded :-|

jobarjo wrote:Where is my login account stored?
~/.springlobby/springlobby.conf

whats the output in springlobby of help->system info?

Re: Springlobby crash after updating to 0.244 using playdeb's package

Posted: 18 Apr 2016, 21:27
by jobarjo

Code: Select all

SpringLobby 0.245 (unix x64)
SpringLobby config file: /home/sophana/.springlobby/springlobby.conf ( writable)
LobbyWriteDir (/home/sophana/.springlobby/)
	WX: yes POSIX: yes TRY: yes
CachePath (/home/sophana/.springlobby/cache/)
	WX: yes POSIX: yes TRY: yes
ExecutableFolder (/home/sophana/src/pkgs/springlobby/src/)
	WX: yes POSIX: yes TRY: yes
DownloadDir (/home/sophana/.spring/)
	WX: yes POSIX: yes TRY: yes
Current SpringData: (/home/sophana/.config/spring/)
	WX: yes POSIX: yes TRY: yes
Current unitsync: /home/sophana/.spring/engine/101.0/libunitsync.so
Current spring executable: /home/sophana/.spring/engine/101.0/spring
Current uikeys.txt: /home/sophana/.config/spring/uikeys.txt
Portable mode: no
Compiled with wxWidgets 3.0.0.0
Started with: 
src/springlobby 
If you have seen my previous post, it looks like a conflict between the engines. Don't you think?

Re: Springlobby crash after updating to 0.244 using playdeb's package

Posted: 19 Apr 2016, 00:15
by abma
no, it seems i can reproduce the problem. no clue why downloading the second engine fails, gimme some time.

Re: Springlobby crash after updating to 0.244 using playdeb's package

Posted: 20 Apr 2016, 01:22
by abma
what i can say atm: it seems to be timing related: sometimes it works, sometimes it doesn't.

edit: err, much simpler: just a second download of an engine doesn't work. just restart springlobby, then the download works!


https://github.com/springlobby/springlobby/issues/710

Re: Springlobby: can't download more than one engine per session

Posted: 20 Apr 2016, 21:05
by jobarjo
I restarted a lot of time, and the download is always failing.
I just can't play all battles because there are different engines.

Re: Springlobby: can't download more than one engine per session

Posted: 21 Apr 2016, 13:56
by abma
jobarjo wrote:I just can't play all battles because there are different engines.
as workarround and example for spring 101.0: search the engine: http://api.springfiles.com/?springname= ... ne_linux64

and download the file + extract to ~/.spring/engine/101.0/


still i would like to fix the issue. first i'll fix the issue i have and then hopefully your problem is fixed as well.

Re: Springlobby: can't download more than one engine per session

Posted: 25 Apr 2016, 02:25
by abma
jobarjo wrote:I restarted a lot of time, and the download is always failing.
can you please update to springlobby 0.245 and then try again?

then: are you behind a proxy? is a file downloaded to ~/.spring/engine ?