Re: [web2py] jqgrid-module import problem

2011-08-17 Thread Johann Spies
On 17 August 2011 13:28, Bruno Rocha wrote: > No more need to use lical_import it is deprecated. Newest web2py has a > custom importer which works much better. > Thanks Johann -- May grace and peace be yours in abundance through the full knowledge of God and of Jesus our Lord! His divine po

Re: [web2py] jqgrid-module import problem

2011-08-17 Thread Bruno Rocha
No more need to use lical_import it is deprecated. Newest web2py has a custom importer which works much better. http://zerp.ly/rochacbruno Em 17/08/2011 08:20, "Johann Spies" escreveu: > On 17 August 2011 12:55, Bruno Rocha wrote: > >> try changing this: >> >> JqGrid = local_import('jqgrid', app

Re: [web2py] jqgrid-module import problem

2011-08-17 Thread Johann Spies
On 17 August 2011 12:55, Bruno Rocha wrote: > try changing this: > > JqGrid = local_import('jqgrid', app='jqgrid', reload=True).JqGrid > > > to this: > > > from jqgrid import JqGrid > > Thanks. That solved the problem but not the mystery (because my lack of understanding). When is it better to

Re: [web2py] jqgrid-module import problem

2011-08-17 Thread Bruno Rocha
try changing this: JqGrid = local_import('jqgrid', app='jqgrid', reload=True).JqGrid to this: from jqgrid import JqGrid On Wed, Aug 17, 2011 at 7:44 AM, Johann Spies wrote: > Strange: I have the app working on my laptop. After packing it using the > admin interface and installing it on

[web2py] jqgrid-module import problem

2011-08-17 Thread Johann Spies
Strange: I have the app working on my laptop. After packing it using the admin interface and installing it on the server I get this error on the server: ImportError: No module named jqgrid.modules.jqgrid The line in the controller which is referred to: JqGrid = local_import('jqgrid', app='jqgri