I've spent the last few days looking for something to use on my website, to encourage community and fun. I think Evennia is it.
Now my problem:
I wanted to set up a local version of Evennia to play with, so I downloaded and installed Ubuntu 12.04.2
I then used the suggested commandapt-get install python python-django python-twisted mercurial python-django-south
to pull down all the required files. I found that it pulls down an older version of Django, which isn't supported for this install, so I downloaded v1.5.1 and installed it.
I went through a smooth install until I got to python manage.py migrate.
Now I had originally copied and pasted the SERVERNAME = into settings.py and changed it. I also copied/pasted the TIME_ZONE and changed it from 'UTC' to 'MST7MDT' for Denver.
The migrate command gave me the following:
Running migrations for server:
- Migrating forwards to 0002_fix_config_value.
> server:0001_rename_config_table_to_server_table
> server:0002_fix_config_value
- Loading initial data for server.
Installed 0 object(s) from 0 fixture(s)
Running migrations for players:
- Migrating forwards to 0019_remove_old_attr_value_field.
> objects:0001_initial
> players:0001_initial
KeyError: u'db_key'
I figured one of my changes to the settings.py file must be bad, so I started deleting changes until I got back to a clean settings.py file. I have been deleting the evennia.db3 file between runs, otherwise it throws another error about players_playerattributes already exists.
I have been playing with this for hours now, I'm stumped, and it's 2am.
I did create a SU each time the python manage.py syncdb command was run.
Super User ID is kenb (all lowercase)
Email=my valid email address
Password is 98226241 (local install, so I'm not worried about anyone logging on)
Any ideas?
Greyhart
--
--
You received this message because you are subscribed to the "Evennia" MU* server mailing list.
To post to this group, send email to eve...@googlegroups.com (or use the web interface).
To unsubscribe from this group, send email to evennia+u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/evennia?hl=en
---
You received this message because you are subscribed to the Google Groups "Evennia" group.
To unsubscribe from this group and stop receiving emails from it, send an email to evennia+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
tar xzvf Django-1.5.1.tar.gz cd Django-1.5.1 sudo python setup.py install
==============================
The first time I did that, it told me that I overwrote an older version, and that it might cause problems. It also told me to delete the Django folder in /usr/local/lib/python2.7/dist-packages
I deleted both the Django folder and the Django-1.5.1.egg-info file, then reran the install.
One thing I do notice, last night I misread the path, and went to/usr/lib/python2.7/dist-packagesand deleted the Django folder I found there. I realized I was in the wrong directory, went to the correct one and deleted the Django folder there. I figured the reinstall would put everything back as needed.
I do not see the Django folder in/usr/lib/python2.7/dist-packages today.I've set it up as a dual boot on my Windows 7 machine to play around with this, and the OS.
I haven't used Linux all that much. I haven't played with it since the days of BSD, having GUI as an option, much like Windows 3.1 was.
The section of the base.py that is bombing is:
def run_from_argv(self, argv):
"""
Set up any environment changes requested (e.g., Python path
and Django settings), then run this command. If the
command raises a ``CommandError``, intercept it and print it sensibly
to stderr.
"""
parser = self.create_parser(argv[0], argv[1])
options, args = parser.parse_args(argv[2:])
handle_default_options(options)
try:
self.execute(*args, **options.__dict__)
except Exception as e:
# self.stderr is not guaranteed to be set here
stderr = getattr(self, 'stderr', OutputWrapper(sys.stderr, self.style.ERROR))
if options.traceback:
stderr.write(traceback.format_exc())
else:
stderr.write('%s: %s' % (e.__class__.__name__, e))
sys.exit(1)
Line 222 being the self.execute under the try: (highlighted in blue)
I did an install today on 12.04.2 Server and wanted to come up with a standard installation process (with intentions of perhaps writing a script for the community). Here's what I came up with as far as a straight list of instructions that should work from end-to-end in getting set up and running on Ubuntu 12.04.2. The instructions are from a completely clean install of Ubuntu.
...
Just for reference I'm using VirtualBox to run it as a VM with 1024MB RAM, a single CPU core, and 8GB HDD space. It *should* work on both Desktop and Server editions of 12.04 and 12.10, although I've only tested on 12.04.2 Server. If you follow the above instructions it should work though, as it has without fail in my tests. Hopefully this helps!
I did an install today on 12.04.2 Server and wanted to come up with a standard installation process (with intentions of perhaps writing a script for the community). Here's what I came up with as far as a straight list of instructions that should work from end-to-end in getting set up and running on Ubuntu 12.04.2. The instructions are from a completely clean install of Ubuntu.
I did an install today on 12.04.2 Server and wanted to come up with a standard installation process (with intentions of perhaps writing a script for the community). Here's what I came up with as far as a straight list of instructions that should work from end-to-end in getting set up and running on Ubuntu 12.04.2. The instructions are from a completely clean install of Ubuntu.
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install python-dev build-essential mercurial python-twisted python-pip
sudo pip install Django==1.5.1 south (you will see some errors about ‘no previously-included files)
wget http://effbot.org/downloads/Imaging-1.1.7.tar.gz (This will download the tar.gz file into your current directory)
tar xvfz Imaging-1.1.7.tar.gz (Extract the Python Imaging Library [PIL] from the .tar.gz file to its own folder)
cd Imaging-1.1.7 (Change directory to the Imaging folder that we just extracted)
sudo python setup.py install (Run the PIL installation - lots of spam)
cd .. (move back to the previous folder)
hg clone https://code.google.com/p/evennia/ evennia (the “evennia” argument at the end is the folder that you will download to. change this as needed)
cd evennia/game (move into the evennia folder, or change it to the folder you set)
python manage.py
python manage.py syncdb (set up your account here)
python manage.py migrate (more spam)
python evennia.py -i start (start the server - the first time it will start, stop, then start again)
(whenever you’re done) python evennia.py stop
--
--
You received this message because you are subscribed to the "Evennia" MU* server mailing list.
To post to this group, send email to eve...@googlegroups.com (or use the web interface).
To unsubscribe from this group, send email to evennia+u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/evennia?hl=en
---
To unsubscribe from this topic, visit https://groups.google.com/d/topic/evennia/N5ZO0QIwDQk/unsubscribe.You received this message because you are subscribed to a topic in the Google Groups "Evennia" group.
To unsubscribe from this group and all its topics, send an email to evennia+u...@googlegroups.com.
I've spent the last few days looking for something to use on my website, to encourage community and fun. I think Evennia is it.
Now my problem:
I wanted to set up a local version of Evennia to play with, so I downloaded and installed Ubuntu 12.04.2
I then used the suggested command
apt-get install python python-django python-twisted mercurial python-django-
south
to pull down all the required files. I found that it pulls down an older version of Django, which isn't supported for this install, so I downloaded v1.5.1 and installed it.
I went through a smooth install until I got to python manage.py migrate.
Now I had originally copied and pasted the SERVERNAME = into settings.py and changed it. I also copied/pasted the TIME_ZONE and changed it from 'UTC' to 'MST7MDT' for Denver.
The migrate command gave me the following:
Running migrations for server:
- Migrating forwards to 0002_fix_config_value.
> server:0001_rename_config_table_to_server_table
> server:0002_fix_config_value
- Loading initial data for server.
Installed 0 object(s) from 0 fixture(s)
Running migrations for players:
- Migrating forwards to 0019_remove_old_attr_value_field.
> objects:0001_initial
> players:0001_initial