[Cubicweb] Task cube error message

Sylvain Thénault sylvain.thenault at logilab.fr
Mon Dec 6 18:58:05 CET 2010


On 06 décembre 06:35, Fletcher, John P wrote:
> Following from the previous message, I copied the intranet, event and task to /usr/share/cubicweb/cubes and located there I can build an instance of intranet.
> 
> When I attempt to create a task I get this message:
> 
> an error occurred
> 'unicode' object has no attribute 'strftime'
[snip]
>   File "/usr/lib/pymodules/python2.6/logilab/common/date.py", line 274, in ustrftime
>     return unicode(somedate.strftime(str(fmt)), encoding)
> AttributeError: 'unicode' object has no attribute 'strftime'

weird. Which backend are you using? postgres or sqlite?

could you provide detailed steps to reproduce? I tried unsuccessfully with a pg db.
-- 
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