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
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
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
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
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
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
>
> 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
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
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
9 matches
Mail list logo