I've almost the same error. It become to appear when I've specify
enctype="multipart/form-data" for the form to transfer file to the
server. If you cut this enctype specification from template error
disappears.

On Oct 10, 9:53 pm, Noufal <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>    I'm working on TG app that has an Adobe flex frontend in one of the
> pages. It has a facility to upload a file. This works fine when the
> method that receives the uploaded file doesn't have an @identity
> decorator applied to it. I receive the details of the file as a
> FieldStorage object (the one from the CGI module).
>
>    However, when the @identity decorator is applied to the method, it
> crashes with this message
>
> TypeError: not indexable
> Error location in template file '/home/foo/Chimera/chimera/templates/
> login.kid'
> between line 112, column 12 and line 113, column 12:
>             <div py:for="name,values in original_parameters.items()"
> py:str ...
>
> The login.kid is the standard stock file which comes if you start a
> project with identity.  I'm guessing that it's because the hidden
> parameters can't be constructed properly. If anyone has come across
> this and already has a working solution, I'd be grateful.
>
> thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to