feincms / feincms-elephantblog

A blog for FeinCMS
feinheit.ch/labs/
BSD 3-Clause "New" or "Revised" License
43 stars 38 forks source link

EntryFeed returns TypeError: argument of type 'property' is not iterable #31

Closed mistalaba closed 11 years ago

mistalaba commented 11 years ago

After upgrading to Django 1.5 and FeinCMS 1.7.4, feeds does not seem to work.

Traceback:

File ".../site-packages/django/core/handlers/base.py", line 115, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File ".../site-packages/django/contrib/syndication/views.py", line 43, in __call__
    feedgen = self.get_feed(obj, request)

  File ".../site-packages/django/contrib/syndication/views.py", line 148, in get_feed
    for item in self.__get_dynamic_attr('items', obj):

  File ".../site-packages/django/contrib/syndication/views.py", line 83, in __get_dynamic_attr
    return attr()
  File ".../site-packages/elephantblog/feeds.py", line 27, in items
    if 'translations' in getattr(Entry, '_feincms_extensions', ()):

TypeError: argument of type 'property' is not iterable

I never worked with translations, so I'm not sure what's going on here.

Any other information you might want?

Cheers!

sbaechler commented 11 years ago

Please use one of the other forks for now: https://github.com/feincms/feincms-elephantblog/network. We know of the problem but have to work out a design strategy for how to handle translations first. I'm planning to release a new version after the next FeinCMS sprint.