Re: [web2py] Re: One last thing

2011-02-21 Thread Anthony
On Monday, February 21, 2011 6:14:21 PM UTC-5, Jack315 wrote: > > Plumo- > > Web2Py is using 2.5.1, I have 2.7 on my computer. > If you want to use the Python 2.7 on your computer with web2py, you can run web2py from source instead of the binary (the binary automaticaly uses the 2.5 interpret

Re: [web2py] Re: One last thing

2011-02-21 Thread Jonathan Lundell
On Feb 21, 2011, at 3:19 PM, Jack Lyons wrote: > That fixed that problem, but I am now back to my original error: "No > supported JSON Module Found" Then try making it gluon.contrib.simplejson instead. > > On Mon, Feb 21, 2011 at 6:16 PM, Jonathan Lundell wrote: > On Feb 21, 2011, at 3:13 PM,

Re: [web2py] Re: One last thing

2011-02-21 Thread Jonathan Lundell
On Feb 21, 2011, at 3:12 PM, Plumo wrote: > What Python version are you using? The json module was introduced in 2.5. 2.6, unfortunately. > simplejson can be downloaded here: https://github.com/simplejson/simplejson >

Re: [web2py] Re: One last thing

2011-02-21 Thread Jack Lyons
That fixed that problem, but I am now back to my original error: "No supported JSON Module Found" On Mon, Feb 21, 2011 at 6:16 PM, Jonathan Lundell wrote: > On Feb 21, 2011, at 3:13 PM, Jack Lyons wrote: > > When I tried to put that in my script, I got this error message: > > > > Traceback (most

Re: [web2py] Re: One last thing

2011-02-21 Thread Jonathan Lundell
On Feb 21, 2011, at 3:13 PM, Jack Lyons wrote: > When I tried to put that in my script, I got this error message: > > Traceback (most recent call last): > > > > File "gluon/restricted.py", line 188, in restricted > > > File > "/Users/jacklyons/Downloads/web2py/web2py.app/Contents/Resourc

Re: [web2py] Re: One last thing

2011-02-21 Thread Jack Lyons
Plumo- Web2Py is using 2.5.1, I have 2.7 on my computer. On Mon, Feb 21, 2011 at 6:13 PM, Jack Lyons wrote: > Jonathan- > > When I tried to put that in my script, I got this error message: > > > Traceback (most recent call last): > > > File "gluon/restricted.py", line 188, in restricted > >

Re: [web2py] Re: One last thing

2011-02-21 Thread Jack Lyons
Jonathan- When I tried to put that in my script, I got this error message: Traceback (most recent call last): File "gluon/restricted.py", line 188, in restricted File "/Users/jacklyons/Downloads/web2py/web2py.app/Contents/Resources/applications/Stalker/models/anyjson.py"

Re: [web2py] Re: One last thing

2011-02-21 Thread Plumo
What Python version are you using? The json module was introduced in 2.5. simplejson can be downloaded here: https://github.com/simplejson/simplejson try: import simplejson as json except ImportError: import json

Re: [web2py] Re: One last thing

2011-02-21 Thread Jonathan Lundell
On Feb 21, 2011, at 2:57 PM, Jack Lyons wrote: > List of known json modules, and the names of their serialize/unserialize > methods, as well as the exception they throw. Exception can be either > an exception class or a string. > """ > _modules = [("cjson", "encode", "EncodeError", "dec

Re: [web2py] Re: One last thing

2011-02-21 Thread Anthony
Note, the simplejson module the comes with web2py is in gluon/contrib/ -- maybe anyjson isn't able to find it there. Anthony

Re: [web2py] Re: One last thing

2011-02-21 Thread Jack Lyons
Error: Traceback (most recent call last): File "gluon/restricted.py", line 188, in restricted File "/Users/jacklyons/Downloads/web2py/web2py.app/Contents/Resources/applications/Stalker/models/anyjson.py" , line 115, in Im

[web2py] Re: One last thing

2011-02-21 Thread DenesL
Posting the actual error and the related code might help. On Feb 21, 5:08 pm, Jack315 wrote: > Please respond soon, this is urgent! > > On Feb 21, 4:15 pm, Jack315 wrote: > > > Hello, > > > I have what will most likely be my last question relating to my > > current project. I have set up a twit

[web2py] Re: One last thing

2011-02-21 Thread Jack315
Please respond soon, this is urgent! On Feb 21, 4:15 pm, Jack315 wrote: > Hello, > > I have what will most likely be my last question relating to my > current project. I have set up a twitter stream that uses anyjson, but > when I try to run my application, I get a ticket saying that there is > n