Yes it should. Please open a ticket this will require some thought and
some work
On Sep 24, 2:01 pm, apple wrote:
> I can do that then load the component separately to test it as you
> suggested.
>
> But it still feels a bit wrong. Why can't web2py tell me where the
> error has occurred?
>
> On S
I can do that then load the component separately to test it as you
suggested.
But it still feels a bit wrong. Why can't web2py tell me where the
error has occurred?
On Sep 24, 7:37 pm, pbreit wrote:
> Can you print each component name? Maybe like:
>
> {{for component in componentlist:}}
> {{
Can you print each component name? Maybe like:
{{for component in componentlist:}}
{{=str(component.function}}
{{=LOAD(f=component.function, extension="load", ajax=False,
ajaxTrap=True, args=component.args, vars=component.vars)}}
{{pass}}
I am loading 12 components. The error message "restricted error" on
the LOAD line is unhelpful. It does not tell me which component has
failed. Today it is one component, another day it may be another.
Of course I can amend the code to try one component at a time and then
do what you suggestis
Is it the same component that is failing? You can view the component by
itself in the browser like this:
http://localhost:8000/myapp/component/function.load
I see this a lot when there is a problem in the view. If this is the case,
then you'll see a line number on the error, which if you scroll all the way
down to the bottom on the ticket, you will see the view code converted to
Python code and you will see which line it is talking about in the view
6 matches
Mail list logo