arxcode
arxcode copied to clipboard
Smooth out starting process for forks
While Arx isn't really a framework/library, there's a lot of rough spots for people who try to fork it and get running that I can smooth out. I'm going to keep notes of tracebacks here under this issue for clean databases and address them as I run across them:
File "commands/base_commands/unloggedin.py", line 83, in func
2019-10-15 21:45:27-0400 [-] if data['host-ip']:
2019-10-15 21:45:27-0400 [-] KeyError: 'host-ip'
Traceback (most recent call last):
typeclasses/guest.py", line 101, in _send_to_connect_channel
2019-10-15 21:45:27-0400 [-] chan = ChannelDB.objects.get(db_key__iexact="guest")
2019-10-15 21:45:27-0400 [-] File "/home/cronus/evennia/evennia/utils/idmapper/manager.py", line 36, in get
2019-10-15 21:45:27-0400 [-] inst = super(SharedMemoryManager, self).get(*args, **kwargs)
2019-10-15 21:45:27-0400 [-] File "/home/cronus/venv/local/lib/python2.7/site-packages/django/db/models/manager.py", line 85, in manager_method
2019-10-15 21:45:27-0400 [-] return getattr(self.get_queryset(), name)(*args, **kwargs)
2019-10-15 21:45:27-0400 [-] File "/home/cronus/venv/local/lib/python2.7/site-packages/django/db/models/query.py", line 380, in get
2019-10-15 21:45:27-0400 [-] self.model._meta.object_name
2019-10-15 21:45:27-0400 [-] DoesNotExist: ChannelDB matching query does not exist.