Eurasia Feeds json error

Bug #670967 reported by Jim B. Glenn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Medium
JimPGlenn

Bug Description

reported by error monitor a couple of times:

ENTRY
Thu Nov 4 06:52:07 2010
Exception when processing https://efnetwork.org/newest_feed_items.json
Traceback (most recent call last):
  File "/opt/karl/eurasia/3.13.4-2/src/karl/karl/errorlog.py", line 15, in middleware
    return app(environ, start_response)
  File "/opt/karl/eurasia/3.13.4-2/eggs/repoze.zodbconn-0.11-py2.5.egg/repoze/zodbconn/connector.py", line 21, in __call
__
    result = self.next_app(environ, start_response)
  File "/opt/karl/eurasia/3.13.4-2/eggs/repoze.retry-0.9.4-py2.5.egg/repoze/retry/__init__.py", line 88, in __call__
    app_iter = self.application(environ, replace_start_response)
  File "/opt/karl/eurasia/3.13.4-2/eggs/repoze.tm2-1.0a5-py2.5.egg/repoze/tm/__init__.py", line 23, in __call__
    result = self.application(environ, save_status_and_headers)
  File "/opt/karl/eurasia/3.13.4-2/eggs/Paste-1.7.2-py2.5.egg/paste/registry.py", line 350, in __call__
    app_iter = self.application(environ, start_response)
  File "/opt/karl/eurasia/3.13.4-2/eggs/repoze.who-1.0.15-py2.5.egg/repoze/who/middleware.py", line 107, in __call__
    app_iter = app(environ, wrapper.wrap_start_response)
  File "/opt/karl/eurasia/3.13.4-2/eggs/repoze.browserid-0.3-py2.5.egg/repoze/browserid/middleware.py", line 127, in __c
all__
    return self.app(environ, start_response)
  File "/opt/karl/eurasia/3.13.4-2/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/router.py", line 130, in __call__
    response = view_callable(context, request)
  File "/opt/karl/eurasia/3.13.4-2/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/configuration.py", line 1753, in _secured_vi
ew
    return view(context, request)
  File "/opt/karl/eurasia/3.13.4-2/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/configuration.py", line 1704, in _rendered_v
iew
    response = view(context, request)
  File "/opt/karl/eurasia/3.13.4-2/src/karl/karl/views/contentfeeds.py", line 110, in newest_feed_items
    feed_items = _update_feed_items(latest, request.application_url)
  File "/opt/karl/eurasia/3.13.4-2/src/karl/karl/views/contentfeeds.py", line 78, in _update_feed_items
    reroot(fi, 'context_url')
  File "/opt/karl/eurasia/3.13.4-2/src/karl/karl/views/contentfeeds.py", line 69, in reroot
    if url.startswith('/'):
AttributeError: 'NoneType' object has no attribute 'startswith'

ENTRY
Thu Nov 4 06:52:31 2010
Exception when processing https://efnetwork.org/newest_feed_items.json?filter=mycontent
Traceback (most recent call last):
  File "/opt/karl/eurasia/3.13.4-2/src/karl/karl/errorlog.py", line 15, in middleware
    return app(environ, start_response)
  File "/opt/karl/eurasia/3.13.4-2/eggs/repoze.zodbconn-0.11-py2.5.egg/repoze/zodbconn/connector.py", line 21, in __call
__
    result = self.next_app(environ, start_response)
  File "/opt/karl/eurasia/3.13.4-2/eggs/repoze.retry-0.9.4-py2.5.egg/repoze/retry/__init__.py", line 88, in __call__
    app_iter = self.application(environ, replace_start_response)
  File "/opt/karl/eurasia/3.13.4-2/eggs/repoze.tm2-1.0a5-py2.5.egg/repoze/tm/__init__.py", line 23, in __call__
    result = self.application(environ, save_status_and_headers)
  File "/opt/karl/eurasia/3.13.4-2/eggs/Paste-1.7.2-py2.5.egg/paste/registry.py", line 350, in __call__
    app_iter = self.application(environ, start_response)
  File "/opt/karl/eurasia/3.13.4-2/eggs/repoze.who-1.0.15-py2.5.egg/repoze/who/middleware.py", line 107, in __call__
    app_iter = app(environ, wrapper.wrap_start_response)
  File "/opt/karl/eurasia/3.13.4-2/eggs/repoze.browserid-0.3-py2.5.egg/repoze/browserid/middleware.py", line 127, in __c
all__
    return self.app(environ, start_response)
  File "/opt/karl/eurasia/3.13.4-2/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/router.py", line 130, in __call__
    response = view_callable(context, request)
  File "/opt/karl/eurasia/3.13.4-2/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/configuration.py", line 1753, in _secured_vi
ew
    return view(context, request)
  File "/opt/karl/eurasia/3.13.4-2/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/configuration.py", line 1704, in _rendered_v
iew
    response = view(context, request)
  File "/opt/karl/eurasia/3.13.4-2/src/karl/karl/views/contentfeeds.py", line 110, in newest_feed_items
    feed_items = _update_feed_items(latest, request.application_url)
  File "/opt/karl/eurasia/3.13.4-2/src/karl/karl/views/contentfeeds.py", line 78, in _update_feed_items
    reroot(fi, 'context_url')
  File "/opt/karl/eurasia/3.13.4-2/src/karl/karl/views/contentfeeds.py", line 69, in reroot
    if url.startswith('/'):
AttributeError: 'NoneType' object has no attribute 'startswith'

Tags: r3.50
Changed in karl3:
importance: Undecided → Low
assignee: nobody → Chris Rossi (chris-archimedeanco)
importance: Low → Medium
milestone: none → m50
Changed in karl3:
status: New → In Progress
Changed in karl3:
status: In Progress → Fix Committed
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

We'll consider this closed unless it comes back in the error monitor. Not much we can do to recreate it and test.

Changed in karl3:
assignee: Chris Rossi (chris-archimedeanco) → JimPGlenn (jpglenn09)
status: Fix Committed → Fix Released
JimPGlenn (jpglenn09)
tags: added: r3.50
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.