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 <[email protected]>wrote:
> 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='jqgrid', reload=True).JqGrid
>
> I am using the module from
> http://www.web2pyslices.com/slices/take_slice/140
>
> How do I have to change the import line?
>
> Why would it work correctly on one system and not on the other.
> Differences:
>
> Laptop: python 2.6.7-2
> Debian wheezy/sid
>
>
> Server: python2.6 2.6.6-8+b1
> Debian Squeeze
> Postgresql 9.0
>
> --
> May grace and peace be yours in abundance through the full knowledge of
> God and of Jesus our Lord! His divine power has given us everything we need
> for life and godliness through the full knowledge of the one who called us
> by his own glory and excellence.
> 2 Pet. 1:2b,3a
>
>
--
--
Bruno Rocha
[ About me: http://zerp.ly/rochacbruno ]
[ Aprenda a programar: http://CursoDePython.com.br ]
[ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ]
[ Consultoria em desenvolvimento web: http://www.blouweb.com ]