Sorry, I copied the wrong traceback. The only difference though is that last
line you quoted. it is

File "F:\Dev\Python\Photon\photon\model.py", line 53, in _set_keywords
   self.addKeyword
(ref)

I tried passing the id of the keyword as well (1), but that gave me the same
error...

I found out what caused the error though.While debugging I discovered that
the the Photo gets passed on as a uninstantiated class. So I have to create
the photo first, and then add the keyword!
I was trying to pass the keyword to the Photo class on instantiation.

2007/5/12, Oleg Broytmann <[EMAIL PROTECTED]>:

On Sat, May 12, 2007 at 07:40:04PM +0200, TiNo wrote:
>  File "F:\Dev\Python\Photon\photon\model.py", line 52, in
> _set_keywords
>    self.addKeyword(1)

   What is it?

Oleg.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to