[Ml-yokadi] bug: python backtrace after t_add with wrong project name

Sébastien Renard Sebastien.Renard at digitalfox.org
Sun Nov 1 13:02:00 CET 2009


Le dimanche 1 novembre 2009 02:36:00, David Faure a écrit :
> yokadi> t_add foo bar
> Project 'foo' does not exist, create it (y/n)? n
> Error: Unhandled exception (oups)
>         'NoneType' object has no attribute 'id'
> This is a bug of Yokadi, sorry.
> Send the above message by email to Yokadi developers
> (ml-yokadi at sequanux.org) to help them make Yokadi better.
> ---------------------8<----------------------------------------------
> Traceback (most recent call last):
>   File "/home/dfaure/bin/yokadi", line 100, in onecmd
>     return Cmd.onecmd(self, line)
>   File "/usr/lib/python2.6/cmd.py", line 219, in onecmd
>     return func(arg)
>   File "/d/other/src/yokadi/src/yokadi/taskcmd.py", line 122, in do_t_add
>     self.lastTaskId = task.id
> AttributeError: 'NoneType' object has no attribute 'id'
> --
> Python: 2.6.2 (release26-maint, Apr 19 2009, 01:58:18)  [GCC 4.3.3]
> SQLObject:  SQLObject 0.10.2
> OS: Linux (2.6.28-15-generic)
> Yokadi: 0.11.0
> ---------------------8<----------------------------------------------

Oups. It's fixed ! Just before the release. Thank you.

-- 
Sébastien


More information about the Ml-yokadi mailing list