Per-package RSS feed does not work

Bug #316933 reported by Chow Loong Jin on 2009-01-14
4
Affects Status Importance Assigned to Milestone
REVU
Medium
Siegfried Gevatter

Bug Description

When attempting to access the RSS feed for a package (e.g. http://revu.ubuntuwire.com/feed.py?package=codelite), the server returns an error:

MOD_PYTHON ERROR

ProcessId: 17899
Interpreter: 'spooky.informatik.uni-erlangen.de'

ServerName: 'spooky.informatik.uni-erlangen.de'
DocumentRoot: '/srv/revu-production/'

URI: '/feed.py'
Location: None
Directory: '/srv/revu-production/'
Filename: '/srv/revu-production/feed.py'
PathInfo: ''

Phase: 'PythonHandler'
Handler: 'mod_python.publisher'

Traceback (most recent call last):

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1229, in _process_target
    result = _execute_target(config, req, object, arg)

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1128, in _execute_target
    result = object(arg)

  File "/usr/lib/python2.5/site-packages/mod_python/publisher.py", line 213, in handler
    published = publish_object(req, object)

  File "/usr/lib/python2.5/site-packages/mod_python/publisher.py", line 425, in publish_object
    return publish_object(req,util.apply_fs_data(object, req.form, req=req))

  File "/usr/lib/python2.5/site-packages/mod_python/util.py", line 554, in apply_fs_data
    return object(**args)

  File "/srv/revu-production/feed.py", line 140, in index
    return package_feed(packages, requested_url)

  File "/srv/revu-production/feed.py", line 117, in package_feed
    return parse_template('feeds/packages.xml', c=storage)

  File "/srv/revu-production/scripts/template.py", line 48, in parse_template
    return template.render(**kwargs)

  File "/usr/lib/python2.5/site-packages/mako/template.py", line 121, in render
    return runtime._render(self, self.callable_, args, data)

  File "/usr/lib/python2.5/site-packages/mako/runtime.py", line 335, in _render
    _render_context(template, callable_, context, *args, **_kwargs_for_callable(callable_, data))

  File "/usr/lib/python2.5/site-packages/mako/runtime.py", line 352, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)

  File "/usr/lib/python2.5/site-packages/mako/runtime.py", line 385, in _exec_template
    callable_(context, *args, **kwargs)

  File "feeds_packages_xml", line 28, in render_body

  File "/srv/revu-production/scripts/Config.py", line 144, in <module>

  File "/srv/revu-production/scripts/Config.py", line 42, in __init__

  File "/srv/revu-production/scripts/Config.py", line 95, in _determineBasePath

AssertionError: Could not determine the basepath.

MODULE CACHE DETAILS

Accessed: Wed Jan 14 01:59:25 2009
Generation: 2

_mp_39be3fb23a2ae7d994aa272ecd56680c {
  FileName: '/srv/revu-production/feed.py'
  Instance: 1
  Generation: 2
  Modified: Thu Oct 16 17:46:01 2008
  Imported: Wed Jan 14 01:52:03 2009
}

Siegfried Gevatter (rainct) wrote :

Fixed, thanks!

Changed in revu:
assignee: nobody → rainct
importance: Undecided → Medium
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers