Hola Ferran,
In data mercoledì 8 maggio 2013 17:03:05, Ferran Jorba ha scritto:
> > call me dumb, but I keep getting errors (TypeError: 'NoneType' object
> > is not iterable). I've even compared the current
> > SimulatedModPythonRequest from git with 1.1.0, and there is nothing
> > relevat, to my eyes.
>
> The attached patch relative to maint-1.1 fixes my troubles, although I
> don't fully understand the causes. What do you think?
ah! Now I see! So far I was assuming you were referring to the default web
handler of Invenio (the WebInterface hierarchy) but with your scripts you were
indeed exercising a part of the web handler that is rarely used in normal
Invenio (actually it’s only used in the admin interface, with URLs having a
“.py” handler, and where no file upload happen) and so this is most likely a
bug, that got so far unnoticed and that you might have already solved. :-)
I will review your patch and check if indeed it is the final solution for this
bug.
Cheers!
Sam
--
Samuele Kaplun
Invenio Developer ** <http://invenio-software.org/>
INSPIRE Service Manager ** <http://inspirehep.net/>