Hi everyone, I am trying to install Evennia on my Ubuntu, but met some
error.
1. Get the pre-requisites (mainly Python, Django, Twisted and
Mercurial).
> apt-get install python python-django python-twisted mercurial
Now under Ubuntu 11.04, Python 2.7.1, Django 1.2.5, Twisted
10.2.0.
2. > hg clone
https://code.google.com/p/evennia/ evennia
> cd evennia
3. > python manage.py
get this: ImportError: Could not import settings 'settings.py' (Is
it on sys.path? Does it have syntax errors?): No module named py
but already get 'settings.py' under /game, so i abort it.
4. > python manage.py syncdb
get these, seems normal:
- Creating table xxx
- then create a super user
- Install index for xxx
5. > python evennia.py -i start
get these:
##############################################################
Starting Evennia Server (output to stdout).
Starting Evennia Portal in Daemon mode (output to portal logfile).
--------------------------------------------------
Evennia Portal (HG-Alpha) started.
amp (Server): 5000
telnet: 4000
webserver/client: 8000
--------------------------------------------------
--------------------------------------------------
Server started for the first time. Setting defaults.
Creating objects (Player #1 and Limbo room) ...
Traceback (most recent call last):
File "/usr/bin/twistd", line 19, in <module>
run()
File "/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py",
line 27, in run
app.run(runApp, ServerOptions)
File "/usr/lib/python2.7/dist-packages/twisted/application/app.py",
line 631, in run
runApp(config)
File "/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py",
line 23, in runApp
_SomeApplicationRunner(config).run()
File "/usr/lib/python2.7/dist-packages/twisted/application/app.py",
line 376, in run
self.logger.start(self.application)
File "/usr/lib/python2.7/dist-packages/twisted/application/app.py",
line 216, in start
observer = self._getLogObserver()
File "/usr/lib/python2.7/dist-packages/twisted/scripts/
_twistd_unix.py", line 139, in _getLogObserver
logFile = logfile.LogFile.fromFullPath(self._logfilename)
File "/usr/lib/python2.7/dist-packages/twisted/python/logfile.py",
line 49, in fromFullPath
os.path.dirname(logPath), *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/twisted/python/logfile.py",
line 162, in __init__
BaseLogFile.__init__(self, name, directory, defaultMode)
File "/usr/lib/python2.7/dist-packages/twisted/python/logfile.py",
line 34, in __init__
assert os.path.isdir(self.directory)
AssertionError
##############################################################
6. > netstat -a
I didnt see any listen on port 4000/8000 except 5000.
Is this error happen because twisted's version not right?