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

David Faure faure at kde.org
Sun Nov 1 02:36:00 CET 2009


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<----------------------------------------------


-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).


More information about the Ml-yokadi mailing list