Page 1 of 1

Little help with Unity.

Posted: 09 Mar 2007, 21:19
by Echo35
So I got Spring via subversion, and set up everything all fine. It runs pretty well. Then, I attempted to get Unity running. I followed the guide, but I end up with a strange error whenever I try to run main.py:

Code: Select all

$ ./main.py
unitsync: Unitsync assertion failed: tools/unitsync/unitsync.cpp:635: Call InitArchiveScanner before GetPrimaryModCount.
Segmentation fault (core dumped)
Then, my PC hangs for a moment, and then the Gnome crash manager informs me that python has crashed. Any ideas?

Posted: 09 Mar 2007, 21:29
by hollowsoul
Is there a reason u didnt run Unity.py ?

And felt the need to go into subdir client/main.py ???

i.e grab the whole directory trunk/UnityLobby
not !!! trunk/UnityLobby/client

Posted: 10 Mar 2007, 00:02
by Echo35
I decided to go the synaptic route (I use Ubuntu) and got the game that way, since I was unsuccessful previously. Everything works until I try to run Unity. It's asking for the unitsync file, but where is it/how do I get it since I installed through Synaptic?

Posted: 12 Mar 2007, 01:42
by Echo35
I did all that, but now I get this:

Code: Select all

$ python Unity.py
/home/echo35/.spring/UnityLobby/Profile.py
echo35@RAINE:~/.spring/UnityLobby$ Traceback (most recent call last):
  File "/home/echo35/.spring/UnityLobby/client/main.py", line 232, in ?
    status_icon.main()
  File "/home/echo35/.spring/UnityLobby/client/main.py", line 209, in main
    self.create()
  File "/home/echo35/.spring/UnityLobby/client/main.py", line 131, in create
    self.battle.Create()        
  File "/home/echo35/.spring/UnityLobby/client/Battle.py", line 614, in Create
    map_treeselection.select_iter(self.map_liststore.get_iter_first())
TypeError: iter should be a GtkTreeIter

Posted: 12 Mar 2007, 23:16
by hollowsoul
U dont have any maps installed or your dont have datadir set correctly

Posted: 13 Mar 2007, 00:04
by Echo35
I figured it out. I did have maps and stuff but the game was linking to a random folder somewhere else that was empty. I still can't seem to get Unity working right. I'll try again. What should I be svn'ing?

Posted: 13 Mar 2007, 09:28
by hollowsoul
Prob be alot easier to just describe whats happening !!

Posted: 16 Mar 2007, 21:58
by Echo35
Ok, my question is this. I ended up having to install it through synaptic (I use Ubuntu) and got everything working ok. Spring runs great and everything. Now, I want to use Unity so I can play online like I used to with Windows, but there's a problem. I can't set it up. There is no unitsync.so file that I can find, and I don't know what directories to use, etc. How can I install Unity even though I'm using the Debian build? Is there some version I can get with unitsync.so already in it?

Posted: 17 Mar 2007, 03:24
by hollowsoul
If theres no unitsync.so in debian build your outof luck.
Its basicly the python bindings for unitsync

Really have no choice but to manually compile it yourself

Posted: 17 Mar 2007, 05:23
by Echo35
But whenever I try to run the game that way, it gives me an "Cannot find .wav file" error, even when I use the linux extra files from berliOS