TypeError at /accounts/register/ register() got an unexpected keyword argument 'profile_callback'

Sabuj Pattanayek sabujp at gmail.com
Sun Oct 31 02:20:51 EST 2010


Hi,

> If you're using Ubuntu or Debian, you should be able to use the python-django-
> registration package, which contains the correct version for patchwork. I'm
> not sure what version other distros have packaged, but you may be able to use
> packages instead.

Unfortunately we're using centos and I did see a django package, can't
remember whether it was from rpmforge or epel or whether it was from
the base repo, but I don't know whether it even includes
django-registration . However, we can always get the older version
from the filesystem snapshots since I blew away the older working copy
getting the new copy with hg.

> Alternatively, I can send you the source tree I'm using for
> patchwork.ozlabs.org.

This would be the best. There are also some other problems we've
encountered, such as clicking the mbox link in the patches produces
this error :

NameError at /patch/313/mbox/
global name 'HeaderParser' is not defined

Then the error when someone tries to login and they don't have a userprofile :

DoesNotExist at /user/
UserProfile matching query does not exist.

Perhaps your code fixes these issues as well.

Thanks,
Sabuj

>
> I'm in the process of updating patchwork to handle this change (perhaps by
> including the registration code in patchwork itself), but this is colliding
> with some other infrastructure changes in progress.
>
> Cheers,
>
>
> Jeremy
>


More information about the Patchwork mailing list