[Cubicweb] Link: serious error

Fletcher, John P j.p.fletcher at aston.ac.uk
Sat Dec 4 12:21:13 CET 2010



________________________________
From: aurélien campéas [aurelien.campeas at gmail.com]
Sent: 04 December 2010 10:41
To: Fletcher, John P
Cc: cubicweb at lists.cubicweb.org
Subject: Re: [Cubicweb] Link: serious error



I guess you are talking about

http://myinstance:8080/Link  ?

YES




I am running the Ubuntu Lucid distribution on 64 bit Lucid Ubuntu.


Can you paste here the full stack trace ?
One way to get it is to start cubicweb in debug mode, in a terminal:

cubicweb-ctl start -D -l info  myinstance

Then go to the offending url/action and show us the full trace.

I think this is it:

2010-12-04 11:20:02 - (cubicweb.web) ERROR: AssertionError()
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/cubicweb/web/application.py", line 382, in main_publish
    result = controller.publish(rset=rset)
  File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/basecontrollers.py", line 123, in publish
    rset=rset, view=view)
  File "/usr/lib/python2.6/dist-packages/cubicweb/cwvreg.py", line 378, in main_template
    res = obj.render(**kwargs)
  File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 174, in render
    view_func(**context)
  File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/basetemplates.py", line 126, in call
    self.template_header(self.content_type, view)
  File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/basetemplates.py", line 152, in template_header
    self.template_body_header(view)
  File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/basetemplates.py", line 172, in template_body_header
    self.nav_column(view, 'left')
  File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/basetemplates.py", line 198, in nav_column
    box.render(w=self.w, view=view)
  File "/usr/lib/python2.6/dist-packages/cubicweb/web/component.py", line 255, in render
    layout.render(w)
  File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/boxes.py", line 262, in render
    if self.init_rendering():
  File "/usr/lib/python2.6/dist-packages/cubicweb/web/component.py", line 176, in init_rendering
    view.init_rendering()
  File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/boxes.py", line 85, in init_rendering
    action.fill_menu(self, menu)
  File "/usr/lib/python2.6/dist-packages/cubicweb/web/action.py", line 46, in fill_menu
    menu.append(box.box_action(action))
  File "/usr/lib/python2.6/dist-packages/cubicweb/web/component.py", line 304, in box_action
    return self.build_link(self._cw._(action.title), action.url())
  File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/bookmark.py", line 52, in url
    return self.cw_rset.get_entity(self.cw_row or 0, self.cw_col or 0).actual_url()
  File "/usr/share/cubicweb/cubes/link/entities.py", line 25, in actual_url
    return self._cw.build_url('embed', url=self.url, rql=self._cw.form.get('rql'))
  File "/usr/lib/python2.6/dist-packages/cubicweb/req.py", line 204, in build_url
    return u'%s%s?%s' % (base_url, path, self.build_url_params(**kwargs))
  File "/usr/lib/python2.6/dist-packages/cubicweb/req.py", line 213, in build_url_params
    assert value is not None
AssertionError
Let me know if you need anything more.

John



More information about the Cubicweb mailing list