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

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

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
jobarjo
Posts: 13
Joined: 05 Apr 2016, 09:43

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

Post 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
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: SpringLobby 0.245 released!

Post by abma »

jobarjo wrote:Anyone has a suggestion? Thanks

uninstall the system installed spring: https://github.com/springlobby/springlobby/issues/707
jobarjo
Posts: 13
Joined: 05 Apr 2016, 09:43

Re: SpringLobby 0.245 released!

Post 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.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

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

Post 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)
jobarjo
Posts: 13
Joined: 05 Apr 2016, 09:43

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

Post 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...
Last edited by jobarjo on 17 Apr 2016, 23:55, edited 1 time in total.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

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

Post 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
jobarjo
Posts: 13
Joined: 05 Apr 2016, 09:43

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

Post 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
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

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

Post 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.
jobarjo
Posts: 13
Joined: 05 Apr 2016, 09:43

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

Post by jobarjo »

I go in the battle list and right click on a battle to download engine.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

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

Post 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.
jobarjo
Posts: 13
Joined: 05 Apr 2016, 09:43

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

Post 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.
jobarjo
Posts: 13
Joined: 05 Apr 2016, 09:43

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

Post 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
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

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

Post 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?
jobarjo
Posts: 13
Joined: 05 Apr 2016, 09:43

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

Post 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?
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

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

Post by abma »

no, it seems i can reproduce the problem. no clue why downloading the second engine fails, gimme some time.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

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

Post 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
jobarjo
Posts: 13
Joined: 05 Apr 2016, 09:43

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

Post 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.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

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

Post 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.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

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

Post 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 ?
Post Reply

Return to “Help & Bugs”