Unity-Lobby doesn't startup

Unity-Lobby doesn't startup

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

Moderator: Moderators

Post Reply
User avatar
Kaot
Posts: 23
Joined: 10 Mar 2007, 02:11

Unity-Lobby doesn't startup

Post by Kaot »

Hi all,

i'm using Gentoo and have installed spring-svn with the following Options:

Code: Select all

emerge games-strategy/spring-svn-0.74-r3  USE="omni optimize unity-lobby -debug"
If i start unity-lobby from the console it loads 20 Seconds at 100% CPU and stops after that and if have the console back an nothing else happend. While the lobby was loading the following Output appeared:

Code: Select all

/usr/share/games/spring/UnityLobby/Profile.py:256: GtkWarning: Unable to locate theme engine in module_path: "mist",
  self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
/usr/share/games/spring/UnityLobby/client/main.py:105: GtkWarning: Unable to locate theme engine in module_path: "mist",
  self.status_icon = gtk.StatusIcon()
So i try to setup a Profile with:

Code: Select all

LC_ALL="C" /usr/share/games/spring/UnityLobby/Unity.py -s
Now i can name the Profile, provide the Path to the spring executable the spring dir and the unitsync.

If i have provided all that Stuff it loads again some Seconds and again i have the console back and nothing more happens.

I now can start

Code: Select all

LC_ALL="C" /usr/share/games/spring/UnityLobby/Unity.py -p
and select the created Profile and it loads again some Seconds and again i have the console back and nothing more happens.

That's all i tried so far, i don't know anything else i could try. Everytime it loads and i get back to the console the messages i posted above appear, nothing else.
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

GtkWarning: Unable to locate theme engine in module_path: "mist"

Try a different gtk theme, looks like its having problems finding it. Note this be pygtk / gtk code issue. Since i dont mess with gtk theme.
Sry cant help out much more

Also dont worry about cpu during startup. Its mainly unitsync.so, basicly getting map / mod info & caching it in a file for later. Does eat up alot of cpu, only done at startup. So wont be the problem

Also u dont need the console switches were mainly for testing & for some crazy peep out there.
User avatar
Kaot
Posts: 23
Joined: 10 Mar 2007, 02:11

Post by Kaot »

Code: Select all

GtkWarning: Unable to locate theme engine in module_path: "mist" 
I found a Package which installs the gtk mist engine

Code: Select all

emerge x11-themes/gtk-engines x11-themes/gtk-engines-mist
All the GTK Warnings are gone now.

Now i start:

Code: Select all

LC_ALL="C" unity-lobby
I only get this message:

Code: Select all

/usr/share/games/spring/UnityLobby/Profile.py
And still nothing happens after the unitsync does your mentioned map and mod loading.

I'm interest in getting this Unity-Lobby working, if have right now no Possibility to play online against others. I also have no Possibility to play offline against multiple AIs. I only can start spring, choose a Map and Mod and play against 1 single AI. :(

I can't strace unity-lobby, because it detaches, hm what else can i use to debug?
Can i help in debugging somehow?

I just noticed that a lot of processes are still running:

Code: Select all

python /usr/share/games/spring/UnityLobby/client/main.py -p Kaot
About 20 of them now, i killed all of them and start one again
Only 1 Process is running now, no CPU is used, it seems that it is waiting for something.

I'm using Python 2.4.4
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

U prob dont have a systray to display the status_icon (dockapp thingy)

Theres a nice patch buried in UnityLobby thread (start at last page & work backwards) to make a single window to pick to see other ones.
Or if u want just use TASClient & Wine for now.

Till i get rewrite done, not to much left todo now. Working on Battle Code atm (Lobby Chat is done, Caching Map / Mod info done).
Which wont need the status_icon, gui overhaul & easier to setup among other changes
User avatar
Kaot
Posts: 23
Joined: 10 Mar 2007, 02:11

Post by Kaot »

I didn't find the location in the Thread so i tried to look into the main.py ;)

I added a

Code: Select all

self.lobby.Show()
at line 143, after you have created all the Stuff.

I'm glad to have a Window now where i see a Connect Button and Preferences Button, and i can already change Colours and they get remembered ;)

It looks already pretty good, good Work!
Unfortunately, i don't know Python, so i could help a little bit.
I can only fill in some line, like above. ;)
Post Reply

Return to “Linux”