[web2py] Re: Oracle drivers.

2015-11-23 Thread Cássio Botaro
Do you already tried sudo dnf install python-pip sudo pip install cx_Oracle ? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message

[web2py] Re: Compute and requires

2015-08-20 Thread Cássio Botaro
Maybe I found the solution, i will test later. http://stackoverflow.com/questions/8054665/multi-column-unique-constraint-with-web2py/8055987#8055987 https://groups.google.com/forum/#!searchin/web2py/validate$20computed$20fields/web2py/PNHApjBSKOQ/ZJh6RsrIZIsJ -- Resources: - http://web2py.com -

[web2py] Compute and requires

2015-08-13 Thread Cássio Botaro
Is there a wat to validate(with validators) if the computed permalink is unique? https://gist.github.com/cassiobotaro/0b763eda836ad4a3231f -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/we

[web2py] Re: Logout redirect

2015-07-27 Thread Cássio Botaro
Whats happening? Whats the problem? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Gro

[web2py] Re: web2py-mongodb-engine

2015-05-05 Thread Cássio Botaro
Actually DAL have experimental mongodb support. You can see http://www.web2pyslices.com/slice/show/1580/save-the-earth-from-a-total-data-mess-with-mongodbadapter -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://

[web2py] Re: Sublime Text web2py plugin

2015-05-05 Thread Cássio Botaro
Nice! I will test and update my_enviroment(https://github.com/cassiobotaro/my_environment ) Thanks to share. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues

[web2py] Re: grid and field_id

2015-05-05 Thread Cássio Botaro
I try to reproduce in 2.10.4 and i have two errors: first - Field('myfield) should be Field('myfield'), but i think it is only a typo. second - SQLFORM.grid(db.myview, field_id=db.mytable.id) should be SQLFORM.grid(db.myview, field_id=db.view.id ) No more errors at all

[web2py] Re: Use DAL as standalone

2015-02-20 Thread Cássio Botaro
Do you clone the repository or use stable version? I dont have problems here running Version 2.9.12-stable+timestamp.2015.02.13.23.31.09 in linux ubuntu 14.04 -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://cod

[web2py] Re: web2py pagination

2015-01-26 Thread Cássio Botaro
An example: http://mindbending.org/pt/paginando-consultas-web2py unfortunately in portuguese, but the code is clear. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report

[web2py] Re: crash - session_pickled = pickle.dumps(self, pickle.HIGHEST_PROTOCOL) on 2.9.11

2015-01-16 Thread Cássio Botaro
move your app to a fresh web2py 2.9.11 and say if the same problem occurs. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message becau

[web2py] Re: Problem using grid after crud

2015-01-12 Thread Cássio Botaro
> > Grid when you click on add record or other function you call > this: http://127.0.0.1:8000/teste/default/test_bug/new/t_test > when you do this, the request.args(0) is new then the crud fails. grid uses vars keywords = "query here" example: keywords=id="1" -- Resources: - http:/

[web2py] Re: [solved] Weird 'Row' object has no attribute 'id' and Ñ error

2015-01-12 Thread Cássio Botaro
Show us your model. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-use

[web2py] Re: Problem using grid after crud

2015-01-09 Thread Cássio Botaro
First, crud is deprecated. it exists only for backyard compatibility. Second, what you want to do? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You re

[web2py] Re: web2py and Sublime Text

2015-01-05 Thread Cássio Botaro
We back with improvements and better descriptions! http://cassiobotaro.github.io/my_environment/ -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You rec

[web2py] Re: web2py and Sublime Text

2015-01-05 Thread Cássio Botaro
Sorry, i delete the repository but until wednesday will return with improvements. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this messa

[web2py] Re: Changing delimiters not working

2014-12-31 Thread Cássio Botaro
inside layout.html we have {{include 'web2py_ajax.html'}}. you have to do the same in this file. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You rec

[web2py] Re: Changing delimiters not working

2014-12-31 Thread Cássio Botaro
> > Explain more about your problem. > Maybe change delimiters is not the right choice. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received thi

[web2py] Re: Changing delimiters not working

2014-12-31 Thread Cássio Botaro
> > If you change delimiters at controller, when you extend layout, extend > html should have the same delimiter. > example: {%='auth' in globals() and auth.navbar(mode="dropdown") or ''%} just change in layout.html and it works! -- Resources: - http://web2py.com - http://web2py.com/book (Docu

[web2py] Re: request.is_local is false?

2014-05-02 Thread Cássio Botaro
> > One alternative is : > if request.is_local or request.env.cmd_options.shell: # developer configuration else: # production configuration -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.goog

[web2py] Re: request.is_local is false?

2014-04-30 Thread Cássio Botaro
I try to use request.is_local to divide production enviroment and development. But with this behaviour, it fail when i go to shell. Is ' request.env.remote_addr ' the solution? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

[web2py] Re: request.is_local is false?

2014-04-30 Thread Cássio Botaro
> > Nice explanation Anthony. Thank you. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Go

[web2py] request.is_local is false?

2014-04-29 Thread Cássio Botaro
When i do request.is_local in shell, result is False but i'm at localhost. Whats's the explanation? The correct don't be True? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list

Re: [web2py] Social Login

2013-12-06 Thread Cássio Botaro
I made chages but doesn't work. Look the error: https://drive.google.com/file/d/0B8vO2VBhd7XVeF9WOW9aRlZ4Y28/edit?usp=sharing -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list

Re: [web2py] Social Login

2013-12-06 Thread Cássio Botaro
> > I've got the same error. Maybe it's because of callback url in > application. In a local application what i put in there? > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/li

[web2py] Social Login

2013-12-04 Thread Cássio Botaro
What's the way to do login with twitter without using janrain? I've tried this solution but only works with facebook. https://github.com/r4bugento/web2social After authorization, I've been redirected to http://127.0.0.1:8000/web2social/default/user/login and show me this message: "This webpag