mcepl/coelodonta — Issue #11: iter() returned non-iterator of type '_timelex'
Author: mcepl
Created: 2012-02-11 23:43:58+00:00
State: open

```
Environment:

Request Method: POST
Request URL: http://djangoproject-mysovna.rhcloud.com/feed/

Django Version: 1.3.1
Python Version: 2.6.6
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.admin',
'openshift.coelodonta',
'openshift.whatismyip',
'django_nose']
Installed Middleware:
('django.middleware.gzip.GZipMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.http.ConditionalGetMiddleware',
'django.middleware.transaction.TransactionMiddleware')

Traceback:
File "/var/lib/libra/0fb3656f0d584635af9c678b214aca78/djangoproject/virtenv/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/base.py" in get_response
111. response = callback(request, *callback_args, **callback_kwargs)
File "/var/lib/libra/0fb3656f0d584635af9c678b214aca78/djangoproject/repo/wsgi/openshift/coelodonta/views.py" in feed_dispatcher
139. return create_post(req)
File "/var/lib/libra/0fb3656f0d584635af9c678b214aca78/djangoproject/repo/wsgi/openshift/coelodonta/views.py" in create_post
77. post = _parse_request_post_body(req)
File "/var/lib/libra/0fb3656f0d584635af9c678b214aca78/djangoproject/repo/wsgi/openshift/coelodonta/views.py" in _parse_request_post_body
62. post = models.Post.make_new_post(req.raw_post_data.decode("utf-8"))
File "/var/lib/libra/0fb3656f0d584635af9c678b214aca78/djangoproject/repo/wsgi/openshift/coelodonta/models.py" in make_new_post
227. dateutil.parser.parse(element.text))
File "/var/lib/libra/0fb3656f0d584635af9c678b214aca78/djangoproject/virtenv/lib/python2.6/site-packages/python_dateutil-2.0-py2.6.egg/dateutil/parser.py" in parse
698. return DEFAULTPARSER.parse(timestr, **kwargs)
File "/var/lib/libra/0fb3656f0d584635af9c678b214aca78/djangoproject/virtenv/lib/python2.6/site-packages/python_dateutil-2.0-py2.6.egg/dateutil/parser.py" in parse
302. res = self._parse(timestr, **kwargs)
File "/var/lib/libra/0fb3656f0d584635af9c678b214aca78/djangoproject/virtenv/lib/python2.6/site-packages/python_dateutil-2.0-py2.6.egg/dateutil/parser.py" in _parse
350. l = _timelex.split(timestr)
File "/var/lib/libra/0fb3656f0d584635af9c678b214aca78/djangoproject/virtenv/lib/python2.6/site-packages/python_dateutil-2.0-py2.6.egg/dateutil/parser.py" in split
144. return list(cls(s))

Exception Type: TypeError at /feed/
Exception Value: iter() returned non-iterator of type '_timelex'
```