[web2py] Re: I just fresh installed web2py on ubuntu 12.04, cannot find modules?

2013-05-02 Thread Kenneth
My ubuntu is "Ubuntu 12.04 X64 Server" On Thursday, May 2, 2013 8:08:31 PM UTC-5, Kenneth wrote: > > This seems odd to me. > > I just moved my server and ran the ubuntu script to install web2py > > I cannot import simplejson for some reason. (I ran it on python -S > web2py.py as well) > > anyone

[web2py] Re: I just fresh installed web2py on ubuntu 12.04, cannot find modules?

2013-05-02 Thread Kenneth
Ubuntue is 12.04 64bit server, fresh installed. This is what I received after "import simplejson" web2py™Version 2.4.6-stable+timestamp.2013.04.06.17.37.38PythonPython 2.7.3: /usr/bin/python (prefix: /usr)Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. Traceback (most recent call last): Fi

[web2py] Re: I just fresh installed web2py on ubuntu 12.04, cannot find modules?

2013-05-02 Thread Anthony
It's contrib.simplejson. On Thursday, May 2, 2013 9:08:31 PM UTC-4, Kenneth wrote: > > This seems odd to me. > > I just moved my server and ran the ubuntu script to install web2py > > I cannot import simplejson for some reason. (I ran it on python -S > web2py.py as well) > > anyone had this probl

Re: [web2py] Re: I just fresh installed web2py on ubuntu 12.04, cannot find modules?

2013-05-02 Thread Kenny Chung
Hi Anthony, So, should I just import "contrib.simplejson"? Is this recently changed? Ken On Thu, May 2, 2013 at 8:26 PM, Anthony wrote: > It's contrib.simplejson. > > On Thursday, May 2, 2013 9:08:31 PM UTC-4, Kenneth wrote: >> >> This seems odd to me. >> >> I just moved my server and ran the

Re: [web2py] Re: I just fresh installed web2py on ubuntu 12.04, cannot find modules?

2013-05-02 Thread Anthony
I think that's where it has always been. On Thursday, May 2, 2013 9:27:07 PM UTC-4, Kenneth wrote: > > Hi Anthony, > > So, should I just import "contrib.simplejson"? Is this recently changed? > > Ken > > On Thu, May 2, 2013 at 8:26 PM, Anthony >wrote: > >> It's contrib.simplejson. >> >> On Thursd

Re: [web2py] Re: I just fresh installed web2py on ubuntu 12.04, cannot find modules?

2013-05-02 Thread Kenny Chung
Ouch. I must have used old version of web2py than. I always imported simplejson as "import simplejson as json" I totally forgot to replicate my setup before terminating my linode server. Ken On Thu, May 2, 2013 at 8:36 PM, Anthony wrote: > I think that's where it has always been. > > > On Thurs

Re: [web2py] Re: I just fresh installed web2py on ubuntu 12.04, cannot find modules?

2013-05-02 Thread Alan Etkin
> > Ouch. I must have used old version of web2py than. > I always imported simplejson as "import simplejson as json" > I totally forgot to replicate my setup before terminating my linode server. > Maybe you had simplejson installed in your old o.s., so you could simply import it directly. You

Re: [web2py] Re: I just fresh installed web2py on ubuntu 12.04, cannot find modules?

2013-05-03 Thread Niphlod
a little correction. serializers.py in trunk now "inverts" the order of imports it tries simplejson (cause newer versions of simplejson as an external module are always faster than the standard json shipped with python from 2.6 on) then uses json then uses contrib.simplejson However, if you

Re: [web2py] Re: I just fresh installed web2py on ubuntu 12.04, cannot find modules?

2013-05-03 Thread Kenny Chung
Great to know! Thank you On Fri, May 3, 2013 at 1:31 PM, Niphlod wrote: > a little correction. serializers.py in trunk now "inverts" the order > of imports > it tries simplejson (cause newer versions of simplejson as an external > module are always faster than the standard json shipped with