Per-package RSS feed does not work

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

Bug Description

When attempting to access the RSS feed for a package (e.g., the server returns an error:


ProcessId: 17899
Interpreter: ''

ServerName: ''
DocumentRoot: '/srv/revu-production/'

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

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

Traceback (most recent call last):

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

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

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

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

  File "/usr/lib/python2.5/site-packages/mod_python/", 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/", line 554, in apply_fs_data
    return object(**args)

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

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

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

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

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

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

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

  File "feeds_packages_xml", line 28, in render_body

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

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

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

AssertionError: Could not determine the basepath.


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

_mp_39be3fb23a2ae7d994aa272ecd56680c {
  FileName: '/srv/revu-production/'
  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