New install backtrace on page view

Bug #283981 reported by Russ Brown
Affects Status Importance Assigned to Milestone
Bundle Buggy

Bug Description

Just playing at this stage: the email stuff isn't set up properly set etc, but I was just wanting to get the UI working.

Following database setup and the creation of the first user, I started up bb and browsed to the site. This backtrace was shown on the page:

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/cherrypy/", line 121, in _run
  File "/usr/lib/python2.5/site-packages/cherrypy/", line 264, in main
    body = page_handler(*virtual_path, **self.params)
  File "<string>", line 3, in default
  File "/usr/lib/python2.5/site-packages/turbogears/", line 359, in expose
    *args, **kw)
  File "<string>", line 5, in run_with_transaction
  File "/usr/lib/python2.5/site-packages/turbogears/", line 407, in sa_rwt
    retval = func(*args, **kw)
  File "<string>", line 5, in _expose
  File "/usr/lib/python2.5/site-packages/turbogears/", line 372, in <lambda>
    mapping, fragment, args, kw)))
  File "/usr/lib/python2.5/site-packages/turbogears/", line 401, in _execute_func
    output = errorhandling.try_call(func, *args, **kw)
  File "/usr/lib/python2.5/site-packages/turbogears/", line 77, in try_call
    return func(self, *args, **kw)
  File "/home/admin/bundlebuggy/bundlebuggy/", line 472, in default
    return getattr(controller, action_name)(**result_copy)
  File "<string>", line 3, in list
  File "/usr/lib/python2.5/site-packages/turbogears/", line 354, in expose
    *args, **kw)
  File "<string>", line 5, in _expose
  File "/usr/lib/python2.5/site-packages/turbogears/", line 372, in <lambda>
    mapping, fragment, args, kw)))
  File "/usr/lib/python2.5/site-packages/turbogears/", line 414, in _execute_func
    return _process_output(output, template, format, content_type, mapping, fragment)
  File "/usr/lib/python2.5/site-packages/turbogears/", line 87, in _process_output
  File "/usr/lib/python2.5/site-packages/turbogears/view/", line 147, in render
    return engine.render(**kw)
  File "/usr/lib/python2.5/site-packages/turbokid/", line 206, in render
    output=output, format=format)
  File "/usr/lib/python2.5/site-packages/kid/", line 301, in serialize
  File "/usr/lib/python2.5/site-packages/kid/", line 299, in serialize
    return serializer.serialize(self, encoding, fragment, format)
  File "/usr/lib/python2.5/site-packages/kid/", line 107, in serialize
    text = ''.join(self.generate(stream, encoding, fragment, format))
  File "/usr/lib/python2.5/site-packages/kid/", line 629, in generate
    for ev, item in self.apply_filters(stream, format):
  File "/usr/lib/python2.5/site-packages/kid/", line 165, in format_stream
    for ev, item in stream:
  File "/usr/lib/python2.5/site-packages/kid/", line 221, in _coalesce
    for ev, item in stream:
  File "/usr/lib/python2.5/site-packages/kid/", line 477, in inject_meta_tags
    for ev, item in stream:
  File "/usr/lib/python2.5/site-packages/kid/", line 179, in _track
    for p in stream:
  File "/usr/lib/python2.5/site-packages/kid/", line 32, in apply_matches
    item = stream.expand()
  File "/usr/lib/python2.5/site-packages/kid/", line 108, in expand
    for ev, item in self._iter:
  File "/usr/lib/python2.5/site-packages/kid/", line 179, in _track
    for p in stream:
  File "/usr/lib/python2.5/site-packages/kid/", line 221, in _coalesce
    for ev, item in stream:
  File "/home/admin/bundlebuggy/bundlebuggy/templates/", line 106, in _pull
  File "/usr/lib/python2.5/site-packages/kid/", line 179, in _track
    for p in stream:
  File "/home/admin/bundlebuggy/bundlebuggy/templates/", line 267, in __navigation
AttributeError: 'NoneType' object has no attribute 'id'
Error location in template file '/home/admin/bundlebuggy/bundlebuggy/templates/welcome.kid'
on line 48:
<div py:replace="navigation('requests')" />

My kid version is 0.9.6 in case that is relevant. Failing that, doed the BB frontend require the email stuff tobe set up in order to run at all?


Revision history for this message
Russ Brown (pickscrape) wrote :

I've found the problem. This happens when no projects have been created yet. It seems that it just needs a check adding somewhere and a message displayed to tell the user what the problem is.

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.