or replace

import json

with

import gluon.contrib.simplejson as json

On Nov 28, 4:59 am, Martín Mulone <mulone.mar...@gmail.com> wrote:
> I think you need json module installed on your system. You are under
> windows, linux, ?. In ubuntu linux you can install it from console
> doing: apt-get
> install python-simplejson
>
> 2011/11/27 mikech <mp.ch...@gmail.com>
>
>
>
>
>
>
>
>
>
> > Hi:  I downloaded Pyforums in order to study some code in what looks like
> > a very well done application.  When I try to look at the default index view
> > I get the following error:
>
> > 1.
> > 2.
> > 3.
> > 4.
> > 5.
> > 6.
> > 7.
>
> > Traceback (most recent call last):
> >   File "gluon/restricted.py", line 194, in restricted
> >   File "C:\web2py\applications\pyforum\controllers/default.py", line 6, in 
> > <module>
> >   File "gluon/custom_import.py", line 294, in __call__
> >   File "gluon/custom_import.py", line 78, in __call__
> > ImportError: No module named json
>
> > Running Version 1.99.2 (2011-09-26 06:55:33) stable
>
> --
>  http://martin.tecnodoc.com.ar

Reply via email to