Little help with Unity.

Little help with Unity.

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
Echo35
Posts: 22
Joined: 17 Feb 2007, 04:54

Little help with Unity.

Post 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?
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post 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
Echo35
Posts: 22
Joined: 17 Feb 2007, 04:54

Post 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?
Echo35
Posts: 22
Joined: 17 Feb 2007, 04:54

Post 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
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

U dont have any maps installed or your dont have datadir set correctly
Echo35
Posts: 22
Joined: 17 Feb 2007, 04:54

Post 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?
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Prob be alot easier to just describe whats happening !!
Echo35
Posts: 22
Joined: 17 Feb 2007, 04:54

Post 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?
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post 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
Echo35
Posts: 22
Joined: 17 Feb 2007, 04:54

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

Return to “Linux”