I am not sure if this detailed questions are welcome here, so plz let me know if I should use another list or something.. I get this Type Error: sequence index must be integer when I execute this code: context.manage_changeProperties(id,title=tittel) I guess I'm doing something wrong. All help is apreciated. Bjorge -- http://www.lstud.ii.uib.no/~s0182/smile/Smiles -- Bjørge Solli - Universitas Bergensis, Norway mailto:Bjorge@Kvarteret.no icq#29210281 MSN:bobelloco@hotmail.com Møllendalsv.19, 5009 Bergen, Norway tel:55202853/91614343
Bjørge Solli wrote:
I am not sure if this detailed questions are welcome here, so plz let me know if I should use another list or something..
I get this Type Error: sequence index must be integer
when I execute this code: context.manage_changeProperties(id,title=tittel)
I guess I'm doing something wrong.
All help is apreciated.
Bjorge
hi, maybe you should try this: getattr(context,id).manage_changeProperties({'title':tittel}) greetings, maik
Txs, this worked fine:-) Bjørge On Thu, 18 Jul 2002, Maik Jablonski wrote:
Bjørge Solli wrote:
I am not sure if this detailed questions are welcome here, so plz let me know if I should use another list or something..
I get this Type Error: sequence index must be integer
when I execute this code: context.manage_changeProperties(id,title=tittel)
I guess I'm doing something wrong.
All help is apreciated.
Bjorge
hi,
maybe you should try this:
getattr(context,id).manage_changeProperties({'title':tittel})
greetings, maik
-- http://www.lstud.ii.uib.no/~s0182/smile/Smiles -- Bjørge Solli - Universitas Bergensis, Norway mailto:Bjorge@Kvarteret.no icq#29210281 MSN:bobelloco@hotmail.com Møllendalsv.19, 5009 Bergen, Norway tel:55202853/91614343
=?ISO-8859-1?Q?Bj=F8rge_Solli?= writes:
I am not sure if this detailed questions are welcome here, so plz let me know if I should use another list or something..
I get this Type Error: sequence index must be integer
when I execute this code: context.manage_changeProperties(id,title=tittel) ^^ This looks strange. Why do you need it? Omit the "id,"!
Dieter
participants (3)
-
Bjørge Solli -
Dieter Maurer -
Maik Jablonski