Loading...
  OR  Zero-K Name:    Password:   

ZKL on linux (xfce fedora21) can't install spring 91, freezes

21 posts, 1177 views
Post comment
Filter:    Player:  
Page of 2 (21 records)
sort

9 years ago
Hi there,

I'm giving ZKL another try (after using WebLobby for a while) because you recently moved on to a different protocol. Here's what happens:

I run the Zero-K_NET4.0.exe, it starts successfully and begins the download of the spring engine package.

Then in its output I see

/home/timo/Downloads/Zero-K_NET4.0.exe Information : 0 : Installing http://springrts.com/dl/buildbot/default/master/91.0/linux64/spring_91.0_minimal-portable-linux64-static.7z
xdg-open: unexpected argument 'x'
Try 'xdg-open --help' for more information.
/home/timo/Downloads/Zero-K_NET4.0.exe Warning : 0 : 7z extraction failed, fallback to SharpCompress

This happens because whatever ZKL is using to get the right program to use with .7z files must give xdg-open as the result, but tries to pass the arguments 7za would take. 7za is installed on my system, so that should work, but ZKL is probably not bothering to look for it. There's probably a good intention behind this, but it turns out to be bad in this case.

After that, the log continues on for a bit. I'm not sure if this is related to the engine unpacking:

ReadId: EncodedHeader
-- ReadAndDecodePackedStreams --
-- ReadStreamsInfo --
ReadId: PackInfo
-- ReadPackInfo --
[...]
ReadId: Name
[inline data]
FileNames: fonts/AUTHORS fonts/COPYING fonts/CREDITS doc/FAQ doc/LICENSE README fonts/README LuaUI/Sounds/bounce.wav [...]
[...]
ReadId: End
[end of switch]

Then I see a bunch more "New resource found" messages for maps i'd already downloaded at some point, and then two stack traces, the latter coming from the spring engine installation:


/home/timo/Downloads/Zero-K_NET4.0.exe Error : 0 : Error sending : System.NullReferenceException: Object reference not set to an instance of an object
at Microsoft.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00000] in (filename unknown):0
at Microsoft.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in (filename unknown):0
at LobbyClient.TasClient+(SendCommand)d__e`1[LobbyClient.Ping].MoveNext () [0x00000] in (filename unknown):0
Adding DesertCliffsV1
/home/timo/Downloads/Zero-K_NET4.0.exe Information : 0 : New resource found: DesertCliffsV1
/home/timo/Downloads/Zero-K_NET4.0.exe Warning : 0 : Install of 91.0 failed: System.NullReferenceException: Object reference not set to an instance of an object
at SharpCompress.IO.ListeningStream.Dispose (Boolean disposing) [0x00000] in (filename unknown):0
at System.IO.Stream.Close () [0x00000] in (filename unknown):0
at System.IO.Stream.Dispose () [0x00000] in (filename unknown):0
at SharpCompress.Utility.Extract[SevenZipArchiveEntry,SevenZipVolume] (SharpCompress.Archive.SevenZip.SevenZipArchiveEntry entry, SharpCompress.Archive.AbstractArchive`2 archive, System.IO.Stream streamToWriteTo) [0x00000] in (filename unknown):0
at SharpCompress.Archive.SevenZip.SevenZipArchiveEntry.WriteTo (System.IO.Stream stream) [0x00000] in (filename unknown):0
at SharpCompress.Archive.IArchiveEntryExtensions.WriteToFile (IArchiveEntry entry, System.String destinationFileName, ExtractOptions options) [0x00000] in (filename unknown):0
at SharpCompress.Archive.IArchiveEntryExtensions.WriteToDirectory (IArchiveEntry entry, System.String destinationDirectory, ExtractOptions options) [0x00000] in (filename unknown):0
at SharpCompress.Archive.IArchiveExtensions.WriteToDirectory (IArchive archive, System.String destinationDirectory, ExtractOptions options) [0x00000] in (filename unknown):0
at PlasmaDownloader.EngineDownload.ExtractArchive (System.String target, System.String targetDir) [0x00000] in (filename unknown):0
at PlasmaDownloader.EngineDownload+()c__DisplayClass11.(Start)b__b (System.Object s, System.ComponentModel.AsyncCompletedEventArgs e) [0x00000] in (filename unknown):0
/home/timo/Downloads/Zero-K_NET4.0.exe Warning : 0 : Error getting new version number: The remote server returned an error: (404) Not Found.



Hopefully I've given you enough information, so that you can fix it. If not, I'd be glad to supply more info. But now I've gotta go, it's way past my bedtime again :)


PS: forcing me to replace angular brackets in my post with parenthesis ... for shame, forum software ;)
+1 / -0

9 years ago
quote:

PS: forcing me to replace angular brackets in my post with parenthesis ... for shame, forum software ;)

Another reason to use pastebin and similar services!
+1 / -0

9 years ago
1. Post "mono --version" output
2. Why do you use less tested Zero-K_NET4.0.exe, which was only made for WinXP users, rather than regular Zero-K.exe?
3. Googled "xdg-open: unexpected argument", 3rd link from the top https://bugs.launchpad.net/do/+bug/293507

Another promissing lobby, which partially supports ZKL protocol, is https://github.com/cleanrock/flobby (make sure to compile the zerok branch)
+0 / -0
9 years ago
Why are you using the .net4 version instead of .net4.5? .net4.5 works fine in mono.
+0 / -0

9 years ago
Thx for rephrasing my 2nd question, GBrankTheSponge.

Generally, a lot of distros unfortunatelly use software blobs as old as mammoth fossils. I believe users of such distros should be capable to perform upgrade of selected software. Otherwise they might want to consider switching to more straightforward operating systems like Windows or another Linux flavors like Arch.
+0 / -0

9 years ago
CHrankivand i'm using Zero-K_NET4.0.exe because the download page says to use that if you have mono 2.0. I'm upgrading to mono3 right now, which is planned to become the default in fedora 22 anyway.

In fact, I've tried the mono3 version first, because I didn't know I had an outdated mono installed, which is the answer to GBrankTheSponge as well.

I'm now on this version of mono:

Mono JIT compiler version 3.12.0 (tarball Fri Jan 16 19:45:30 UTC 2015)
+0 / -0
If trying flobby use regular master branch, the zerok branch have already been merged to master and master contains further ZK specfic changes you want.
+0 / -0

9 years ago
ohai SErankcleanrock

i'm having trouble compiling flobby, perhaps my jsoncpp version is too old? it's jsoncpp-0.6.0-0.14.rc2.fc21.x86_64

The errors i'm getting are "base operand of ‘->’ has non-pointer type ‘Json::ValueConstIterator'", which is very weird, because Json::ValueConstIterator is just typedef'd to be const_iterator from the standard library ... i thought that's how you use it.

Anyway, i was able to continue compiling by replacing it->asString with (*it).asString (i know, right?!) and i'll see how far i can get.
+0 / -0
cool, i was able to compile flobby and start it, even connect to the lobby with the regular protocol. The zero-k protocol however won't fly; it probably needs a different address or port configured? but it doesn't say where it should connect to in the post about the new protocol or its comments ... there's also no note about it in the readme of flobby :(
+0 / -0
0. The current version of jsoncpp is listed here. https://www.archlinux.org/packages/extra/x86_64/jsoncpp/files/
No offence, but I don't see what makes you use distro which has such old software.

1. Did you compile "zerok" branch?
2. if 1st is true,then use ./flobby -z to launch lobby. Specify lobby.zero-k.info as a server address. Also put your username and password. Make sure to specify correct location for pr-downloader (search for dialog somewhere in the menu)

quote:
Mono JIT compiler version 3.12.0 (tarball Fri Jan 16 19:45:30 UTC 2015)

You should be able to run normal Zero-K.exe then! Please give it a try!
+0 / -0
A bit offtopic, but does weblobby works with ZK now? I once wanted to play but zero ZK games obviously.

In general what lobbies for zk linuxers use now?
+0 / -0
DErankSixPairsOfFeet you must install 7zip

it crash when it try to decompress 7z file:
/home/timo/Downloads/Zero-K_NET4.0.exe Information : 0 : Installing http://springrts.com/dl/buildbot/default/master/91.0/linux64/spring_91.0_minimal-portable-linux64-static.7z <----\o/
xdg-open: unexpected argument 'x'
Try 'xdg-open --help' for more information.
/home/timo/Downloads/Zero-K_NET4.0.exe Warning : 0 : 7z extraction failed, fallback to SharpCompress <----\o/\o/


I'll edit Download page to mention this.
+0 / -0

9 years ago
thank you CHrankivand, fedora has rather new software in general. In the case of jsoncpp it seems like the maintainer has disappeared after fedora 18 and fedora saw its latest update to jsoncpp 2013.

In the case of mono, I can't really tell why there was so little progress for the change request to upgrade the shipped version to mono 3. All I can see is lots of "needs testing" entries in the change request: https://fedoraproject.org/wiki/Changes/Mono_3

zero-k lobby with mono 3 complained that it can't find libgdiplus.so, even though it clearly exists. I had to symlink /usr/lib64/libgdiplus.so.0 to /usr/lib64/libgdiplus.so to make it work. now it seems to run fine, but i couldn't test it enough yet, and i have to leave my gaming machine for the rest of the day.

Thanks for all the support!
+0 / -0
DErankSixPairsOfFeet pls try download 7zip pls :(
sudo apt-get install xprintidle p7zip wget
+0 / -0

9 years ago
Seems like I spoke too soon. Here's what zk-lobby outputs (after it's done a self-update and tried to download and unpack the 0.98 engine:

https://gist.github.com/anonymous/5a6dea486555f7220a16
+0 / -0
DErankSixPairsOfFeet, add the following in ZeroKLobbyConfig.xml
http://pastebin.com/zCiK3R4t

USrankdogma complain same thing in here https://github.com/ZeroK-RTS/Zero-K-Infrastructure/issues/521 and this workaround fixed it for the moment.
+0 / -0
(hopefully) the "user32.dll" not found error have been patched! would you DErankSixPairsOfFeet be kind enough to try it again pls, :(
+0 / -0

9 years ago
hey MYrankxponen i already have 7zip installed, look here:

7-Zip (A) [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
p7zip Version 9.20 (locale=en_US.utf8,Utf16=on,HugeFiles=on,4 CPUs)

I can just get the Zero-K.exe from the download page? I'll try that (i'm connected to my computer via VNC right now)
+0 / -0

9 years ago
it seems like zkl crashes way earlier than it can do the self-update, unfortunately
+0 / -0

9 years ago
with the changes in the config to disable tooltips, zkl seems to run, but it's not able to finish downloading the spring engine. it's more or less stuck with the "downloaded" portion jumping back and forth, very slowly going up in the process. i'll know more once it decides that it has reached 100%, i hope. i'm now also available on the lobby chat.
+0 / -0
Page of 2 (21 records)