[web2py] Re: Creating a navigation bar

2013-12-01 Thread Alan Etkin
Note: already posted a working fix for the recipe at 
https://groups.google.com/d/msg/web2py-usuarios/5borwCNAXQc/-F_GsFWGeeUJ

You appear to be calling the action with .xml but the data returned by the 
 action is not serializable in xml.


In nabvar.py, response.menu is set to a generator, but the MENU helper 
docstring specifies a list of lists as input.

Did MENU accept a generator in previous versions? If so, there is a 
backwards compatibility issue. Otherwise there is a bug in the recipe.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: Creating a navigation bar

2013-11-28 Thread Massimo Di Pierro
You appear to be calling the action with .xml but the data returned by the 
action is not serializable in xml.



On Thursday, 28 November 2013 17:19:24 UTC-6, isi_jca wrote:

 Hi!!!

 I visited of the following link:


 http://my.safaribooksonline.com/book/programming/python/9781849515467/building-your-first-application/ch02lvl1sec33http://www.google.com/url?q=http%3A%2F%2Fmy.safaribooksonline.com%2Fbook%2Fprogramming%2Fpython%2F9781849515467%2Fbuilding-your-first-application%2Fch02lvl1sec33sa=Dsntz=1usg=AFQjCNEI3WHjPLyUU3QDuQxdP0KMc1CtOw

 and  I follow the instructions step by step, but when I try to run 
 application I get an error. What is the problem? Thanks in advance.

 PD: Sorry for my English.


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.