[Twisted-Python] question about setSubmodel in web.woven.model

Alex Levy mesozoic at polynode.com
Thu Oct 23 21:32:50 MDT 2003


On Thu, 2003-10-23 at 13:50, vicky lupien wrote:
> I took a look in the class Model in the module model and I found one
> difference.  A part of the code is gone in the function setSubmodel.

> Now I tried to run my application and I got this error : 
> exceptions.TypeError: cannot concatenate 'str' and 'NoneType' objects

This is strange, though it can likely be explained by someone more
familiar with Woven's underpinnings (Donovan?).

However, I feel I should repeat some of what JP said earlier:

If you include A) some example code that you're using, B) the traceback
you get when you hit the exception, or C) a general description of what
you're trying to do, you are more likely to get poignant advice.

In general, for problems like this, I always try IRC first (#twisted in
irc.freenode.net). If nobody there can help, then I post to the list.
There is often someone available who can help you figure out what's
going wrong.

Please post some sample code and a traceback, and it will be much easier
to determine where this error is happening (and why).
 
-- 
Alex Levy
WWW: http://mesozoic.geecs.org

"Never let your sense of morals prevent you from doing what is right."
-- Salvor Hardin, Isaac Asimov's _Foundation_

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: </pipermail/twisted-python/attachments/20031023/06f3e8b5/attachment.sig>


More information about the Twisted-Python mailing list