[web2py] Re: Newby, can't connect to a Postgresl database

2013-09-08 Thread Matheus Cardoso
This is odd. Normally, web2py flushes a html error saying that he tried to connect five times (i guess) but with no success. Have you tried to look the sql.log? And try check the params that Dragan described to you. Em domingo, 8 de setembro de 2013 12h47min38s UTC-3, Sartglider escreveu: > >

[web2py] thread._local' object has no ANY attribute

2013-10-10 Thread Matheus Cardoso
Hi guys, Sorry if the following question was already answered, but I could not find nothing like this in this list, stack or in others lists. Here is the thing: I wrote some tests that already was working. I got back to the code, after some time, and then: 'thread._local' object has no attribu

[web2py] Re: thread._local' object has no ANY attribute

2013-10-10 Thread Matheus Cardoso
:25:39 AM UTC-3, Matheus Cardoso wrote: > > Hi guys, > > Sorry if the following question was already answered, but I could not > find nothing like this in this list, stack or in others lists. Here is the > thing: I wrote some tests that already was working. I got back to the c

[web2py] Re: thread._local' object has no ANY attribute

2013-10-10 Thread Matheus Cardoso
stockister = Stockist() stockister.register_product_input(item) #error occurs here, cuz calls module method that uses corrent.db (...) # fetch db again to assert if item was registered and ends test unit On Thursday, October 10, 2013 11:25:39 AM UTC-3, Matheus

[web2py] Re: thread._local' object has no ANY attribute

2013-10-14 Thread Matheus Cardoso
. Thanks a lot, Massimo. On Thursday, October 10, 2013 11:25:39 AM UTC-3, Matheus Cardoso wrote: > > Hi guys, > > Sorry if the following question was already answered, but I could not > find nothing like this in this list, stack or in others lists. Here is the > thing: I wro

[web2py] Openshift + Bitbucket + git submodules

2016-07-22 Thread Matheus Cardoso
Hi, Have anyone used a web2py app as a git submodule in Openshift? I used this repo to deploy web2py to Openshift. Then I added my project into applications folder as a git submodule. However, Openshift tries to updates all submodules when I push mo

[web2py] Re: web3py status

2016-09-05 Thread Matheus Cardoso
I think the name is the least of our problems. We should debate about what is missing to achieve this "web3py", how many people its demands to accomplish this new framework, main features, such as test environment (!!!), server side rendering or not, etc. On Friday, October 25, 2013 at 11:26:3

[web2py] Re: Update on multiple tables with one form

2013-12-26 Thread Matheus Cardoso
Hi guys, sorry about reopen this conversation, but I got stuck in a similar situation. My code is almost equal to Annet's code, except that I'm using a custom form and I have to pass session=None and formname to form.process(). However, I have a field that has to be unique. So, form.process() do

[web2py] Re: Update on multiple tables with one form

2013-12-27 Thread Matheus Cardoso
I've tried the Anthony's idea and it worked, with one difference, though: the id could not be any value. It just worked putting the id with the same value of request.arg(0). I think that has some relation with the hidden input in custom forms where you have to put the id of the instance that are

[web2py] Re: DAL read and variables

2014-01-17 Thread Matheus Cardoso
I did not follow you right, but I'll try to help you where I did understand. In 1. where you say "i want to get a link with the text "Hier kann man Daten eingeben." and a link to "eingeben"". You could use the A() helper . As the following: A("Hier kann man Daten eingeben.",_href=URL('eingeben'

[web2py] Re: Important New Year News: Edison Award

2014-01-18 Thread Matheus Cardoso
You deserve it, Massimo. I wish the best for you and to the awesome web2py! On Saturday, January 4, 2014 1:08:38 AM UTC-3, Massimo Di Pierro wrote: > > Web2py/me have been nominated for the Edison Award. Please wish web2py > (and me) good luck. :-) > > -- Resources: - http://web2py.com - http:/

[web2py] Re: Paypal Recurring Payments? Any experience? Any alternatives?

2014-03-31 Thread Matheus Cardoso
For sure, using Stripe is way more easier than I ever seen or used. However, it seems that it is a paid service. So you can do with Requests, for instance, and for free (at least the development part). I did something like that

[web2py] Re: Paypal Recurring Payments? Any experience? Any alternatives?

2014-04-01 Thread Matheus Cardoso
So, if someone uses Stripe, he will pay only the fee from Stripe and this will cover the PayPal's tax? On Monday, March 31, 2014 6:57:14 AM UTC-3, Mika Sjöman wrote: > > Hi > > I wonder if anyone here has implemented recurring payments with Paypal > here with Web2py? Any experience with this an

[web2py] Re: web2py resources

2015-12-07 Thread Matheus Cardoso
Is there a place to gather all this stuff to centralize and make easy to be found for anyone? Sometimes, the original documentation e even the source (no "Luke" for you) can't help at all, specially for newcomers. If the answer is no, I think a github repository would be easy to create and main

[web2py] Re: web2py resources

2015-12-07 Thread Matheus Cardoso
So, I just created this: https://github.com/matheuscas/web2py-resources. Shall we? On Monday, April 30, 2012 at 4:49:41 PM UTC-3, Anthony wrote: > > Most web2py resources can be found on web2py.com, but here are some > Google Groups topics identifying additional resources: > > web2py help & reso

[web2py] Re: web2py resources

2015-12-09 Thread Matheus Cardoso
I just asked if there was one place to gather resources about web2py and when Richard shared some similiar thoughts, I did a search on github and a quick search on Google and couldn't nothing related (web2slices I already know, but I'll get there), even www.web2pyref.com. So I created a reposit

[web2py] Re: web3py

2016-01-15 Thread Matheus Cardoso
I vote option 2, but with up votes to previous points about web2py does not need to stick with 100% backward compatibility and maintain "bad code". As Carlos Cesar pointed out, 90% of compatibility is a good level and with a good migration guide it would not be a harsh. Python 3 already showed i

[web2py] E2E Automated Tests

2016-04-21 Thread Matheus Cardoso
What do you guys use as a "solution" to E2E tests? I think this is a weak part of web2py. I know WebClient solution, but it's still uses the same "db" defined in db.py and prevents me to use Selenium, for instance. Let me give a example: in Django, one can write a test.py in an app, define some

[web2py] Re: E2E Automated Tests

2016-04-22 Thread Matheus Cardoso
l 21, 2016 at 4:08:13 AM UTC-3, Matheus Cardoso wrote: > > What do you guys use as a "solution" to E2E tests? I think this is a weak > part of web2py. I know WebClient solution, but it's still uses the same > "db" defined in db.py and prevents me to use Seleniu

[web2py] Re: how to Consume external NetTcp SOAP service in Web2Py

2014-07-09 Thread Matheus Cardoso
There are some examples in the web2py's book and lots of more in pysimplesoap repository , as Massimo said. Besides, I just created a WS and a SOAP client with basic authentication and I used

[web2py] Re: JSON-RPC calls within controller functions

2014-07-09 Thread Matheus Cardoso
There is any authentication on that? If yes, you should try something like this: server = ServerProxy('http://'+ ws_user + ':' + ws_pass + ' @127.0.0.1:8000/app22/default/call/jsonrpc ') And If you created by yourself the WS through web2py, make

[web2py] Re: Creating a 5 page PDF file to teach web2py -- What should I focus on?

2014-08-02 Thread Matheus Cardoso
It could be a good ideia to create a github repository to allow the community collaborates with you. Then, you can control this by issues and, who knows, accept some pull requests. On Thursday, July 31, 2014 11:05:59 PM UTC-3, LoveWeb2py wrote: > > Hello, > > I'm creating a 5 page PDF to get us

[web2py] Re: SOAP API authentication

2014-08-31 Thread Matheus Cardoso
You can find your answer here: http://web2py.com/books/default/chapter/29/09/#markmin_basic_authentication And was working like a charm. ;) On Sunday, August 31, 2014 9:41:01 AM UTC-3, Stefan van den Eertwegh wrote: > > Hi, > > Does anyone know how to set authentication to a web2py SOAP API? >

[web2py] Re: Semantic UI instead of bootstap

2014-10-14 Thread Matheus Cardoso
I do like the idea behind Semantic-UI. But still lacks some documentation. However seems promissor and more easy to learn and develop. On Monday, October 13, 2014 11:19:34 AM UTC-3, Ramos wrote: > > is semantic UI a good frontend ? > > http://semantic-ui.com/ > > Regards > -- Resources: - http:

[web2py] Re: IMPORTANT - DO NOT POST ISSUE ON GOOGLE CODE

2015-01-27 Thread Matheus Cardoso
Really nice job. I particularly liked the issues division between the whole web2py and the dal. On Monday, January 26, 2015 at 12:08:15 PM UTC-3, Massimo Di Pierro wrote: > > We have a migration in process and we will be moving all the open issues > form googlecode to gihub (thanks Niphlod for h

[web2py] Re: web2py framework as iOS app backend

2015-02-25 Thread Matheus Cardoso
Web2py by itself it is a very easy tool to implement a API REST. However, you should attempt to multiple requests to your API, therefore you should to look after to your scalability's API. See this subsection in web2py's book: http://www.web2py.com/books/default/chapter/29/13/deployment-recipes

[web2py] Web2py is "Badly designed framework" and "Does not scale"

2015-07-15 Thread Matheus Cardoso
In Slant.com we have some Python Frameworks under criticism. One of them is web2py. But I got stunned when I saw two great cons: - Badly designed framework -

[web2py] Re: Web2py Restfull API Token authentication

2015-08-26 Thread Matheus Cardoso
Stefan, If I'm not wrong you can do the following with Angular: .factory('API', ['$resource', function($resource){ return $resource("api/product/id/:id", {id: '@id'}); }]); Am I right? On Tuesday, August 25, 2015 at 10:37:15 AM UTC-3, Stefan van den Eertwegh wrote: > > Hi everyone, > > If

[web2py] Re: Web2py Restfull API Token authentication

2015-08-27 Thread Matheus Cardoso
Actually with this declaration, you can do "update, delete, get, query et cetera", because Angular knows what to do in each case. However, you r right about not stripping "/id", hence it would not works with web2py API. But I'll make a long shot guess: considering that you can override controll

[web2py] Re: Web2py Developer Jobs

2015-09-06 Thread Matheus Cardoso
Congrats, dude. You also reminded to me to ask to community if we have any channel about web2py jobs. Have we? We all know that Django and Flask took over the python market and I think it would be nice to broadcast such news to community. On Sunday, September 6, 2015 at 1:55:30 AM UTC-3, Lane

[web2py] Re: Submissão Python Brasil 11

2015-11-03 Thread Matheus Cardoso
5K? Eu achei que tinha isso no mundo. :P Eu sempre achei que, no Brasil, o web2py é um framework de nicho. E esse nicho somos...Nós. :) O que eu vejo é a predominância da dicotomia Flask vs Django (um flameware em cada esquina), com o bottle e o pyramid aparecendo uma vez ou outra - e nada do w

[web2py] Re: Submissão Python Brasil 11

2015-11-04 Thread Matheus Cardoso
Ari613, o que chamo de framework de nicho é devido a natureza do web2py, embora ele tenha influências pesadas de outros frameworks Python, como o próprio Django. Mas se você parar para olhar, o web2py tem características que o diferenciam bastante de outros frameworks full stack, começando pelo