On 04 Jan 2011, at 10:15 AM, Christian Keil wrote:

> Hello, first of all happy new year to the list.

Happy new year to you too, and welcome to the list.

> 
> One thing thats really bugging me right now is the way aliases are treated.
> 
> i.e. Mail comes in via [email protected] gets routed trough Mailscanner and 
> then processed.

This is going to be MTA specific which MTA are you using ?

> 
>  manage.py sendpdfreports
> =================== Processing reports ======================
> 
>   File 
> "/usr/lib/pymodules/python2.6/baruwa/reports/management/commands/sendpdfreports.py",
>  line 341, in handle
>     user = profile.user
>   File "/usr/lib/pymodules/python2.6/django/db/models/fields/related.py", 
> line 302, in __get__
>     rel_obj = QuerySet(self.field.rel.to).using(db).get(**params)
>   File "/usr/lib/pymodules/python2.6/django/db/models/query.py", line 341, in 
> get
>     % self.model._meta.object_name)
> django.contrib.auth.models.DoesNotExist: User matching query does not exist.

That is weird, from what i can see, you have a profile that does not have a 
user account linked to it,
This should not be the case if you managed everything via baruwa. The only way 
this scenario
is possible is if you deleted a user directly from mysql in which case then the 
delete does not get
cascaded.

--
Baruwa - www.baruwa.org

_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa

Reply via email to