Hi everyone,
I git cloned django friends from the github url provided. Then I installed
it with "sudo python setup.py install".
I also added "friends" to the INSTALLED_APPS.
That all went fine. However running syncdb gave me this error:
$ python manage.py syncdb
Skipping creation of NoticeTypes as notification app not found
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File
"/Library/Python/2.5/site-packages/django/core/management/__init__.py", line
340, in execute_manager
utility.execute()
File
"/Library/Python/2.5/site-packages/django/core/management/__init__.py", line
295, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Library/Python/2.5/site-packages/django/core/management/base.py",
line 192, in run_from_argv
self.execute(*args, **options.__dict__)
File "/Library/Python/2.5/site-packages/django/core/management/base.py",
line 219, in execute
output = self.handle(*args, **options)
File "/Library/Python/2.5/site-packages/django/core/management/base.py",
line 348, in handle
return self.handle_noargs(**options)
File
"/Library/Python/2.5/site-packages/django/core/management/commands/syncdb.py",
line 101, in handle_noargs
emit_post_sync_signal(created_models, verbosity, interactive)
File "/Library/Python/2.5/site-packages/django/core/management/sql.py",
line 205, in emit_post_sync_signal
interactive=interactive)
File "/Library/Python/2.5/site-packages/django/dispatch/dispatcher.py",
line 148, in send
response = receiver(signal=self, sender=sender, **named)
File
"/Library/Python/2.5/site-packages/django/contrib/auth/management/__init__.py",
line 28, in create_permissions
defaults={'name': name, 'content_type': ctype})
File "/Library/Python/2.5/site-packages/django/db/models/manager.py", line
96, in get_or_create
return self.get_query_set().get_or_create(**kwargs)
File "/Library/Python/2.5/site-packages/django/db/models/query.py", line
339, in get_or_create
obj.save(force_insert=True)
File "/Library/Python/2.5/site-packages/django/db/models/base.py", line
307, in save
self.save_base(force_insert=force_insert, force_update=force_update)
File "/Library/Python/2.5/site-packages/django/db/models/base.py", line
390, in save_base
created=(not record_exists), raw=raw)
File "/Library/Python/2.5/site-packages/django/dispatch/dispatcher.py",
line 148, in send
response = receiver(signal=self, sender=sender, **named)
File
"/Library/Python/2.5/site-packages/django_friends-0.1.2-py2.5.egg/friends/models.py",
line 208, in new_user
if instance.verified:
AttributeError: 'Permission' object has no attribute 'verified'
Any help would be greatly appreciated.
Thanks,
Gezim Hoxha (aka Gizmo)
http://www.gizmobooks.com -- buy/sell your textbooks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---