Geoff the Medio wrote:
Python is probably irrelivant to this problem. Running "freeorion" doesn't use any Python itself; only AI clients use it.
If you're running as root, then I'm pretty short on ideas. You could try deleting everything in ~/.freeorion and trying again, and making sure you have write permission in that directory, though I'm not too hopeful.
Have you tried any previous versions of freeorion? Did any of them work?
Could you install gdb with your package manager, and the freeorion linux debug symbols from sourcrforge for v0.3.15, and run with the debugger attached and report back results? kroddn has numerous posts discussing this, including this one:
viewtopic.php?p=43942#p43942I'm posting the debug in this thread though since it really doesn't work:
david@ubuntu:~$ cd Games/freeorion/
david@ubuntu:~/Games/freeorion$ ./freeorion --gdb
Following into my basedir
CWD: /home/david/Games/freeorion/application
libpython2.5.so.1.0 => not found
python2.5 missing. Using shipped version.
PYTHONHOME=python2.5
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# python2.5/site.pyc matches python2.5/site.py
import site # precompiled from python2.5/site.pyc
# python2.5/os.pyc matches python2.5/os.py
import os # precompiled from python2.5/os.pyc
import errno # builtin
import posix # builtin
# python2.5/posixpath.pyc matches python2.5/posixpath.py
import posixpath # precompiled from python2.5/posixpath.pyc
# python2.5/stat.pyc matches python2.5/stat.py
import stat # precompiled from python2.5/stat.pyc
# python2.5/UserDict.pyc matches python2.5/UserDict.py
import UserDict # precompiled from python2.5/UserDict.pyc
# python2.5/copy_reg.pyc matches python2.5/copy_reg.py
import copy_reg # precompiled from python2.5/copy_reg.pyc
# python2.5/types.pyc matches python2.5/types.py
import types # precompiled from python2.5/types.pyc
import _types # builtin
# /home/david/Games/freeorion/application/python2.5/warnings.pyc matches /home/david/Games/freeorion/application/python2.5/warnings.py
import warnings # precompiled from /home/david/Games/freeorion/application/python2.5/warnings.pyc
# /home/david/Games/freeorion/application/python2.5/linecache.pyc matches /home/david/Games/freeorion/application/python2.5/linecache.py
import linecache # precompiled from /home/david/Games/freeorion/application/python2.5/linecache.pyc
import encodings # directory /home/david/Games/freeorion/application/python2.5/encodings
# /home/david/Games/freeorion/application/python2.5/encodings/__init__.pyc matches /home/david/Games/freeorion/application/python2.5/encodings/__init__.py
import encodings # precompiled from /home/david/Games/freeorion/application/python2.5/encodings/__init__.pyc
# /home/david/Games/freeorion/application/python2.5/codecs.pyc matches /home/david/Games/freeorion/application/python2.5/codecs.py
import codecs # precompiled from /home/david/Games/freeorion/application/python2.5/codecs.pyc
import _codecs # builtin
# /home/david/Games/freeorion/application/python2.5/encodings/aliases.pyc matches /home/david/Games/freeorion/application/python2.5/encodings/aliases.py
import encodings.aliases # precompiled from /home/david/Games/freeorion/application/python2.5/encodings/aliases.pyc
# /home/david/Games/freeorion/application/python2.5/encodings/utf_8.pyc matches /home/david/Games/freeorion/application/python2.5/encodings/utf_8.py
import encodings.utf_8 # precompiled from /home/david/Games/freeorion/application/python2.5/encodings/utf_8.pyc
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/david/Games/freeorion/application/freeorion...Reading symbols from /home/david/Games/freeorion/application/freeorion.dbg...done.
done.
(gdb) s
The program is not being run.
(gdb)
I've gotten 0.3.14 to work in Jaunty, but since I had to do a clean intall of Lucid Lynx (HD crashed, like boo), I had to re-download the game. I tried the 0.3.14 first to be on the safe side, but had the black blank screen effect as I am with 0.3.15. Anyways, I followed the directions exactly above and there's errors trying to get the darn debugger to work properly. I press "s" and enter and it doesn't want to run it! What the heck? I did put symbols files in the application folder (the installed one) with the same version, and ran FreeOrion as ./freeorion --gdb from the freeorion folder (not as root this time to make sure). What am I missing? Do you think compiling from source would work better in my situation? I do have the patients to do it that way instead if you think that will work better.
-David