Black Screen when starting game, "Creating AI Clients"

Problems and solutions for installing or running FreeOrion, including discussion of bugs if needed before posting a bug report on GitHub. For problems building from source, post in Compile.

Moderator: Oberlus

Post Reply
Message
Author
JKobyP
Space Krill
Posts: 1
Joined: Thu Dec 26, 2013 5:17 am

Black Screen when starting game, "Creating AI Clients"

#1 Post by JKobyP »

When run in bash, I get the following:

Code: Select all

 File "/usr/lib/python2.7/site.py", line 563, in <module>
    main()
  File "/usr/lib/python2.7/site.py", line 545, in main
    known_paths = addusersitepackages(known_paths)
  File "/usr/lib/python2.7/site.py", line 272, in addusersitepackages
    user_site = getusersitepackages()
  File "/usr/lib/python2.7/site.py", line 247, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File "/usr/lib/python2.7/site.py", line 237, in getuserbase
    USER_BASE = get_config_var('userbase')
  File "/usr/lib/python2.7/sysconfig.py", line 578, in get_config_var
    return get_config_vars().get(name)
  File "/usr/lib/python2.7/sysconfig.py", line 524, in get_config_vars
    _init_posix(_CONFIG_VARS)
  File "/usr/lib/python2.7/sysconfig.py", line 408, in _init_posix
    from _sysconfigdata import build_time_vars
  File "/usr/lib/python2.7/_sysconfigdata.py", line 6, in <module>
    from _sysconfigdata_nd import *
ImportError: No module named _sysconfigdata_nd
When I choose to play against no AI's, this isn't a problem. I installed from a .deb onto my lubuntu machine, running 32 bit architecture.

Thanks for your help! I just found this game and it looked like it was worth a try; it's a shame it didn't work out of the box, but I couldn't really expect too much from an 0.4.3 build.

EDIT: Python is at version 2.7.4

User avatar
adrian_broher
Programmer
Posts: 1156
Joined: Fri Mar 01, 2013 9:52 am
Location: Germany

Re: Black Screen when starting game, "Creating AI Clients"

#2 Post by adrian_broher »

That seems to be a packaging issue in (L)Ubuntu for the python package and it isn't related to the game.

https://bugs.launchpad.net/ubuntu/+sour ... ug/1115466

See comment #15 for a suggested fix.

https://bugs.launchpad.net/ubuntu/+sour ... omments/15
Resident code gremlin
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz

Post Reply