Re: [web2py] need syntax help

2013-09-03 Thread Ivo
after strugeling to get find a way on how to access the console I used this method: since I'm working on ubuntu web2py is located at /usr/share/web2py, however if you start web2py with the desktop shortcut and you create an app it is located in the ~/web2py/applications folder. so copied it over

Re: [web2py] need syntax help

2013-09-02 Thread Vinicius Assef
On Mon, Sep 2, 2013 at 5:19 AM, Ivo wrote: > > > I don't know how to see what the response is is I get. A simple way is using print. So your print will be in the console window. -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscr

Re: [web2py] need syntax help

2013-09-02 Thread Ivo
Thank you for the response, I removed the initial paste from the post. here is the pay.py: http://pastebin.com/B8FyD9Md he is the default.py: http://pastebin.com/Sc1DQijh I also tried a different way to receive the data which also failed; index2(). anyway the error for index is the following:

Re: [web2py] need syntax help

2013-08-31 Thread Vinicius Assef
First things, first. 1) Paste your code in a pastebin service, like pastebin.com and tell us the url. In python, indentation is important. 2) Paste all your error, telling in which line the error occurred. 3) If your message says "no JSON object could be decoded", probably you didn't get a string

[web2py] need syntax help

2013-08-31 Thread Ivo
hi all, I need some syntax help. I need to talk to a remote server, post a request adn receive the answer. I thought I would use the Stipe.py as a basis because it almost suits my needs. I need an equivalent of this curl statement to receive a list of my invoices the 8e7659 is the api of my