aldryn / aldryn-wordpress-import

Wordpress import for aldryn-blog
Other
0 stars 2 forks source link

Attribute Error on Import #8

Closed aa-dit-yuh closed 7 years ago

aa-dit-yuh commented 9 years ago
Internal Server Error: /en/admin/aldryn_wordpress_import/wordpressimport/1/
Traceback (most recent call last):
  File "/home/aditya/robotix/robotix/.virtualenv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 112, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/aditya/robotix/robotix/.virtualenv/local/lib/python2.7/site-packages/django/contrib/admin/options.py", line 465, in wrapper
    return self.admin_site.admin_view(view)(*args, **kwargs)
  File "/home/aditya/robotix/robotix/.virtualenv/local/lib/python2.7/site-packages/django/utils/decorators.py", line 99, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/home/aditya/robotix/robotix/.virtualenv/local/lib/python2.7/site-packages/django/views/decorators/cache.py", line 52, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/home/aditya/robotix/robotix/.virtualenv/local/lib/python2.7/site-packages/django/contrib/admin/sites.py", line 198, in inner
    return view(request, *args, **kwargs)
  File "/home/aditya/robotix/robotix/.virtualenv/local/lib/python2.7/site-packages/aldryn_wordpress_import/admin.py", line 35, in change_view
    log = parser.parse(instance)
  File "/home/aditya/robotix/robotix/.virtualenv/local/lib/python2.7/site-packages/aldryn_wordpress_import/utils.py", line 144, in parse
    result, status = self.create_post(post)
  File "/home/aditya/robotix/robotix/.virtualenv/local/lib/python2.7/site-packages/aldryn_wordpress_import/utils.py", line 250, in create_post
    post.app_data.wp_import.link = post_data['link']
  File "/home/aditya/robotix/robotix/.virtualenv/local/lib/python2.7/site-packages/app_data/containers.py", line 27, in __getattr__
    raise AttributeError('No Container registered under %s for class %s' % (name, self._model.__name__))
AttributeError: No Container registered under wp_import for class Post

Please suggest a solution for this error. I am using Django-cms==3.0.13 with Django==1.6.11.