In case anyone is interested:
It has taken too long to find the problem, but finally just found, When
adding an entry in the tree instead of returning the result as an integer
return it as a string. This is something that has changed in web2py, not
know what is the problem but I have resolved. Change the file
plugin_jstree.py line 101 where it says:
raise HTTP (200, node_id)
by
raise HTTP (200, str (node_id))
Regards
El martes, 13 de octubre de 2015, 13:05:53 (UTC+2), javierobcn escribió:
>
> I'm really stuck for a few weeks , if someone can help me out .
>
> I use the plugin developed by S -Cubism "Tree Crud"
>
> https://github.com/scubism/sqlabs
>
> This plugin worked well in earlier versions of web2py , but in the latest,
> when i add a node , always gives error " Unauthorized"
>
> I tried to debug the error but I can not fix it.
>
> Anyone can download the plugin and give me a hand to debug ?
>
>
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.