Okay, copy "/usr/share/pyshared/simplejson" to gluon/contrib seems to
work for me.

BigTNX. (1.77.2 :)

On ápr. 19, 22:25, mdipierro <[email protected]> wrote:
> try copy simplejson into gluon/contrib/simplejson for now.
>
> On Apr 19, 3:23 pm, szimszon <[email protected]> wrote:
>
>
>
> > I can't run it (1.77.1) even if I installed the simplejson 1.9.2 in
> > virtualenv:
>
> > >>> sys.path
>
> > ['', '/home/szimszon/.virtualenvs/web2py/lib/python2.5/site-packages/
> > setuptools-0.6c11-py2.5.egg', '/home/szimszon/.virtualenvs/web2py/lib/
> > python2.5/site-packages/simplejson-1.9.2-py2.5.egg'...
>
> > On ápr. 19, 13:58, szimszon <[email protected]> wrote:
>
> > > I got the some traceback as before :(
>
> > > >>> sys.path
>
> > > ['', '/home/szimszon/.virtualenvs/web2py/lib/python2.5/site-packages/
> > > setuptools-0.6c11-py2.5.egg', '/usr/lib/pymodules/python2.5', '/home/
> > > szimszon/.virtualenvs/web2py/lib/python2.5', '/home/
> > > szimszon/.virtualenvs/web2py/lib/python2.5/plat-linux2', '/home/
> > > szimszon/.virtualenvs/web2py/lib/python2.5/lib-tk', '/home/
> > > szimszon/.virtualenvs/web2py/lib/python2.5/lib-dynload', '/usr/lib/
> > > python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-
> > > tk', '/home/szimszon/.virtualenvs/web2py/lib/python2.5/site-packages',
> > > '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-
> > > packages', '/usr/lib/python2.5/site-packages/PIL', '/usr/lib/python2.5/
> > > site-packages/gst-0.10', '/usr/lib/pymodules/python2.5/gtk-2.0', '/usr/
> > > lib/python2.5/site-packages/wx-2.6-gtk2-unicode']
>
> > > On ápr. 19, 13:30, Mathieu Clabaut <[email protected]> wrote:
>
> > > > I use 
> > > > virtualenvwrapperhttp://www.doughellmann.com/docs/virtualenvwrapper/which
> > > > seems to work like a charm.
>
> > > > export WORKON_HOME=$HOME/.virtualenvs
> > > > source /usr/bin/virtualenvwrapper.sh # put those 2 lines in your
> > > > $HOME/.bashrc
> > > > mkvirtualenv web2py
>
> > > > From here, you just have to type :
> > > > workon web2py
>
> > > > berfore launching web2py.
>
> > > > It is not a web2py solution, but it may help in the meanwhile.
>
> > > > -Mathieu
>
> > > > On Mon, Apr 19, 2010 at 13:15, szimszon <[email protected]> wrote:
> > > > > Is there now a quick way to start web2py without removing simplejson
> > > > > from debian?
>
> > > > > Tnx.
>
> > > > > On ápr. 11, 16:23, mdipierro <[email protected]> wrote:
> > > > > > What's your advice about this?
>
> > > > > > Out r version of simplejson is patched to serialize dates. We could
> > > > > > upgrade to the latest and re-patch and for now this problem will go
> > > > > > away but this is not a long term solution. Clearly we must change
> > > > > > something in the way simplejson is imported to avoid conflict.
>
> > > > > > Massimo
>
> > > > > > On Apr 11, 4:30 am, muybay <[email protected]> wrote:
>
> > > > > > > I have the issue also. I am going to try this suggestion and 
> > > > > > > possibly
> > > > > > > diff the two versions (upgraded vs web2py simplejson).
>
> > > > > > > On Apr 8, 8:00 am, mdipierro <[email protected]> wrote:
>
> > > > > > > > One solution is to upgrade thesimplejsonthat comes with web2py. 
> > > > > > > > The
> > > > > > > > problem is that the one we use has been modified to handle 
> > > > > > > > dates.
>
> > > > > > > > On Apr 8, 4:27 am, Johann Spies <[email protected]> wrote:
>
> > > > > > > > > Removing Debian's python-simplejsonhelped me to start web2py 
> > > > > > > > > again
> > > > > -
> > > > > > > > > and broke some other stuff on Debian.
>
> > > > > > > > > Regards
> > > > > > > > > Johann
> > > > > > > > > --
> > > > > > > > >        "Every good gift and every perfect gift is from above,
> > > > > > > > >       and cometh down from the Father of lights, with whom
> > > > > > > > >       is no variableness, neither shadow of turning."
> > > > > > > > >                              James 1:17
>
> > > > > --
> > > > > Subscription settings:
> > > > >http://groups.google.com/group/web2py/subscribe?hl=en

Reply via email to