Revision history [back]
AtributeError when importing users from SE dump
I tryed the import multiple times and always get the error in the same point:
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/core/management/__init__.py", line 459, in execute_manager
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/core/management/__init__.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/core/management/base.py", line 196, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/core/management/base.py", line 232, in execute
output = self.handle(*args, **options)
File "/var/www/askbot-devel/askbot/utils/dummy_transaction.py", line 19, in wrapper
return func(*args, **kwargs)
File "/var/www/askbot-devel/askbot/importers/stackexchange/management/commands/load_stackexchange.py", line 374, in handle
self.transfer_users()
File "/var/www/askbot-devel/askbot/importers/stackexchange/management/commands/load_stackexchange.py", line 916, in transfer_users
u_type = se_u.user_type.name
AttributeError: 'NoneType' object has no attribute 'name'
Is it an error in the import script or maybe the dump has an error somewhere?