[vexim] Vexim3 Questions

Avleen Vig lists-vexim at silverwraith.com
Fri Dec 5 04:16:27 PST 2008


Hi Torry,

It's most likely totally hosed :-)

I've not been able to spend time on vexim at all.
We did decide to ditch Python and just stick with PHP, but do it
properly this time (probably using Smarty for templating as it can be
gently bundled in with vexim).

I'm also coming up to the end of my contract here and furiously job
hunting.
I almost definitely will have no time for this until I can secure a job
:(

Ideal job? One that lets me re-write vexim :-D

On Fri, Dec 05, 2008 at 12:31:38AM -0600, Torry Crass wrote:
> 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
> 
> 
> _______________________________________________
> Vexim mailing list
> Vexim at silverwraith.com
> http://silverwraith.com/mailman/listinfo/vexim
> 

-- 
Avleen Vig
Systems Administrator
Personal: www.silverwraith.com



More information about the Vexim mailing list