Vexim3 Questions

"Torry Crass" <[email protected]>
Newsgroups gmane.mail.exim.vexim.devel
Message-ID <000901c956a3$20fa43a0$2d01a8c0@athena>
I'm working on setting up a new server due to hardware upgrades and started
looking into upgrading vexim.  I'd played a bit with version 3 earlier this
year and liked the starts of it.  Well, to make a long story short, it's not
working on the new system at all and I'm not sure why.  I had it working on
a machine I'd been setting up back then but now it's chucking errors:

<ERROR ON ATTEMPT TO SYNCDB>

cygnus:/srv/daemons/vexim# python manage.py syncdb
Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_manager(settings)
  File
"/var/lib/python-support/python2.5/django/core/management/__init__.py", line
340, in execute_manager
    utility.execute()
  File
"/var/lib/python-support/python2.5/django/core/management/__init__.py", line
295, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/var/lib/python-support/python2.5/django/core/management/base.py",
line 77, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/var/lib/python-support/python2.5/django/core/management/base.py",
line 95, in execute
    self.validate()
  File "/var/lib/python-support/python2.5/django/core/management/base.py",
line 122, in validate
    num_errors = get_validation_errors(s, app)
  File
"/var/lib/python-support/python2.5/django/core/management/validation.py",
line 28, in get_validation_errors
    for (app_name, error) in get_app_errors().items():
  File "/var/lib/python-support/python2.5/django/db/models/loading.py", line
128, in get_app_errors
    self._populate()
  File "/var/lib/python-support/python2.5/django/db/models/loading.py", line
57, in _populate
    self.load_app(app_name, True)
  File "/var/lib/python-support/python2.5/django/db/models/loading.py", line
72, in load_app
    mod = __import__(app_name, {}, {}, ['models'])
  File "/srv/daemons/vexim/../vexim/mail/models.py", line 8, in <module>
    class DomainType(models.Model):
  File "/srv/daemons/vexim/../vexim/mail/models.py", line 9, in DomainType
    type = models.CharField(maxlength=16)
TypeError: __init__() got an unexpected keyword argument 'maxlength'

</ENDERROR>

I wasn't sure if anyone knew what might be going on here, if it's totally
just hosed or maybe it was something silly I did.

Python Version: python/lenny uptodate 2.5.2-3
Django Version: python-django/lenny uptodate 1.0-1

Any help that anyone might be able to lend on this would be most
appreciated.

~P
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.