[Cubicweb] 2 Tickets pending cubicweb.org fix for submission

Sylvain Thénault sylvain.thenault at logilab.fr
Tue Mar 9 09:23:09 CET 2010


On 09 mars 08:53, Alexandre Fayolle wrote:
> I'm not able to submit tickets on the forge right now due to a configuration 
> issue (I think). I'm sending my observation to the list, so that things are 
> not forgotten. 
 
should be fixed now.
 
> 1. I had the infamous "une erreur est survenue" message on the extranet while 
> trying to move a Ticket in a Version. This seems to be linked to the following 
> stack trace in the logs:
> 
>  Traceback (most recent call last):
>   File "/usr/lib/python2.5/site-packages/cubicweb/cwvreg.py", line 210, in 
> possible_views
>     view = self._select_best(views, req, rset=rset, **kwargs)
[snip]
>   File "/usr/share/cubicweb/cubes/tracker/sobjects.py", line 66, in <lambda>
>     & score_entity(lambda x: x.latest_trinfo().new_state.name in 
> x.PUBLISHED_STATES)
>  AttributeError: 'NoneType' object has no attribute 'new_state'

this is probably a side effect of the failure we add. Could you try again and
see if you reproduce this ?

> 2. While looking at the extranet log I came accross the following stack trace 
> which looks suspicious to me:
> 
> 2010-03-08 13:58:26 - (cubicweb.repository) ERROR: unexpected error
> Traceback (most recent call last):
>   File "/usr/lib/python2.5/site-packages/cubicweb/server/repository.py", line 
[snip]
> in check_read_access
>     solution[rel.children[1].children[0].name])
> AttributeError: 'Constant' object has no attribute 'name'

will be hard to fix without the original query...
-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org




More information about the Cubicweb mailing list