Thanks so much for your response. I'll give option 3 a try.
Regards,
HC

On Apr 28, 7:38 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> Yes it is a patch issue. three solutions
>
> 1) if you want jsonpicker in your app you need to edit the import
> statements, including import simplejson
>
> 2) if you run from source, simply install jsonpickler in site-packages
> and use it normally
>
> 3) you can install it under gluon/contrib and it will be available to
> all your apps and will see simplejson.
>
> On Apr 28, 12:08 pm, hcvst <hcv...@googlemail.com> wrote:
>
> > Hi,
>
> > I would like to use the jsonpickle module 
> > -http://code.google.com/p/jsonpickle/
> > - with web2py.
> > I thought to just place it in the modules dir of my app and to import
> > it into a controller via
>
> > import applications.myapp.modules.jsonpickle
>
> > , however it complains with 'ImportError: No module named
> > jsonpickle.pickler'. This error
> > occurs in applications.myapp.modules.jsonpicker.__init__ which tries
> > to import additional stuff.
>
> > The relative path therefore seems to be the problem.
>
> > Do I need to change the import statements in the module or perhaps
> > append to the sys path?
> > It should run on GAE too. Also, jsonpickle depends on simplejson. I
> > don't expect it will find it
> > under gluon - do I need to make changes here as well?
>
> > Thanks for your help,
> > Hans
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to