[web2py] Re: problem with PostgreSQL database

2016-01-12 Thread Júlia Rizza
I'm using psycopg2 v2.4.5. Em terça-feira, 12 de janeiro de 2016 03:02:55 UTC-2, Massimo Di Pierro escreveu: > > very strange. ConnectionWrapper is not a web2py/dal object. which version > of psycopg2 are you using? > > On Monday, 11 January 2016 21:27:24 UTC-6, Júlia Rizza

[web2py] problem with PostgreSQL database

2016-01-11 Thread Júlia Rizza
I have an web2py app connected with a PostgreSQL database and it's raising the following error: must be psycopg2._psycopg.connection, not ConnectionWrapper I couldn't figure it out. This is the traceback: Traceback (most recent call last): File "/var/www/web2py/gluon/restricted.py", line

[web2py] Re: Migrating Passwords

2015-03-17 Thread Júlia Rizza
sonal choice. Em segunda-feira, 16 de março de 2015 23:35:44 UTC-3, JorgeH escreveu: > > why did you choose to migrate to flask? > > On Monday, March 16, 2015 at 4:38:40 PM UTC-5, Júlia Rizza wrote: >> >> Hello, >> >> I'm migrating an app from web2py to Fl

[web2py] Re: Migrating Passwords

2015-03-17 Thread Júlia Rizza
Thank you for your help. I'll think in a better way to check the passwords then, maybe using the web2py version as an API until most of the users changed their passwords. Em segunda-feira, 16 de março de 2015 19:45:40 UTC-3, Niphlod escreveu: > > uhm. web2py's format means 1000 iterations and 20

[web2py] Migrating Passwords

2015-03-16 Thread Júlia Rizza
Hello, I'm migrating an app from web2py to Flask and I want to use Werkzeug Security to manage the users passwords, but there is a conflict between the passwords hashes of web2py and Werkzeug. Werzeug hash: pbkdf2:sha512:1000$salt$hash Web2py hash: pbkdf2(1000, 20, sha512)$salt$hash I can't

[web2py] Re: scheduler isn't starting

2014-10-15 Thread Júlia Rizza
behaviour. > > On Wednesday, October 15, 2014 5:45:04 PM UTC+2, Júlia Rizza wrote: >> >> yeah, I forgot to tell that I "cloned" the app into a new one, with other >> name, but I'm using the right name in the parameter anyway. >> >> Em quarta-fei

[web2py] Re: scheduler isn't starting

2014-10-15 Thread Júlia Rizza
ket4service, while > your parameter to start the scheduler is python web2py.py -K test ... > should be python web2py.py -K ticket4service > > On Wednesday, October 15, 2014 3:00:46 PM UTC+2, Júlia Rizza wrote: >> >> Actually, stop_time is a day after start_time. Anyway,

[web2py] Re: scheduler isn't starting

2014-10-15 Thread Júlia Rizza
Actually, stop_time is a day after start_time. Anyway, nothing happens if I don't define a stop_time. Em quarta-feira, 15 de outubro de 2014 09h52min13s UTC-3, Niphlod escreveu: > > meaning. stop_time isn't there in the video, and shouldn't be there in > your record. It means "please don't p

[web2py] Re: scheduler isn't starting

2014-10-14 Thread Júlia Rizza
0-14%2B20%3A45%3A54.png> Em terça-feira, 14 de outubro de 2014 18h29min33s UTC-3, Niphlod escreveu: > > the tutorial is 3 years old can you please post your scheduler_task > record so we see what's going on with that task ? > > Thanks! > > On Tuesday, October 1

[web2py] Re: scheduler isn't starting

2014-10-14 Thread Júlia Rizza
reveu: > > what are you expecting to see ? Scheduler is running fine. It's meant to > be an external process in an ever-ending loop waiting for tasks to be > processed. > > On Tuesday, October 14, 2014 6:12:07 PM UTC+2, Júlia Rizza wrote: >> >> Ok, now this is the return

[web2py] Re: scheduler isn't starting

2014-10-14 Thread Júlia Rizza
ogging if you need > more details > > On Tuesday, October 14, 2014 3:29:12 PM UTC+2, Júlia Rizza wrote: >> >> Hey guys :) >> >> I was following this video (http://vimeo.com/27478796) to run the >> scheduler, but whenever I try to run it in my app called *tes

[web2py] scheduler isn't starting

2014-10-14 Thread Júlia Rizza
Hey guys :) I was following this video (http://vimeo.com/27478796) to run the scheduler, but whenever I try to run it in my app called *test*: python web2py.py -K test it only returns starting single-scheduler for "test"... and never change or start anything. Not even show an error. I am using

[web2py] translate AJAX null type into NoneType

2014-08-14 Thread Júlia Rizza
Hello, When I save something on a page, it sends an AJAX with all the info I need to record in the database. It seems much like this: {type: "cover", title: "test", description: null, tags: null} But the null types, when received by the controller, become string types. I need them to become

[web2py] problem with request_reset_password routes on server

2014-07-17 Thread Júlia Rizza
Hello, I have a controller called 'painel.py' and the following config in my *db.py* file: ## configure auth policy auth.settings.mailer=mail auth.settings.controller = 'painel' auth.settings.actions_disabled.append('register') auth.settings.registration_requires_verification = False auth.setting

[web2py] Re: random lambda error

2014-07-10 Thread Júlia Rizza
URL('painel', 'index') > > However, if you do define a lambda (or any callable), it should accept an > argument. > > Anthony > > On Wednesday, July 9, 2014 9:31:17 PM UTC-4, Júlia Rizza wrote: >> >> I've completely forgot about the on_failed_authent

[web2py] Re: random lambda error

2014-07-09 Thread Júlia Rizza
reveu: > > Did you change auth.settings.on_failed_authentication from its default > value? > > On Wednesday, July 9, 2014 8:11:25 PM UTC-4, Júlia Rizza wrote: >> >> Hello, >> >> I have an app runing in production on Apache and sometimes when >> navigating over i

[web2py] random lambda error

2014-07-09 Thread Júlia Rizza
Hello, I have an app runing in production on Apache and sometimes when navigating over it I receive a ticket with a lambda error. It happens ramdomly in a way that I wasn't able to predict what was causing it: already ocurred in a function called dashboard, in another called invite and some oth

[web2py] Re: routing problem

2014-06-10 Thread Júlia Rizza
Any ideias? Em quinta-feira, 5 de junho de 2014 16h37min55s UTC-3, Júlia Rizza escreveu: > > Hello everybody, > > I have an app with app specific routes and I have a function that allows > any user to see a project by passing the project's owner username and the > pr

[web2py] routing problem

2014-06-05 Thread Júlia Rizza
Hello everybody, I have an app with app specific routes and I have a function that allows any user to see a project by passing the project's owner username and the project's slug as args. I want the user to access the project just by www.domain.com/username/slug, not showing the function name,

[web2py] URL arguments problem

2014-06-02 Thread Júlia Rizza
Hello, My app have a controller that shows a project, since it receives the project owner username and the project id by the URL arguments. It would be like: myapp.com/projects/juliarizza/1234 But, I would like this URL to be myapp.com/juliarizza/1234, not showing the controller name. It return

[web2py] Re: Multiple tables select

2014-04-06 Thread Júlia Rizza
ed_on). Something like that " Em sábado, 5 de abril de 2014 11h33min36s UTC-3, Júlia Rizza escreveu: > > So I have this tables: > > if not "board" in db.tables: > db.define_table("board", > Field("title", label=T('Title')), > Field(&qu

[web2py] Multiple tables select

2014-04-05 Thread Júlia Rizza
So I have this tables: if not "board" in db.tables: db.define_table("board", Field("title", label=T('Title')), Field("description", 'text', label=T('Description')), auth.signature, format = "%(title)s" ) if not "text_type" in db.tables: db.define_table("text_type", Field("title", label=T('Title')

[web2py] Re: routes_app

2013-06-15 Thread Júlia Rizza
*- coding: utf-8 -*- > routes_in = ( > (r'/', r'/app1/default/index'), > (r'/images', r'/app1/images/images_list'), > (r'/contact', r'/app1/default/contact_form'), > ) > > routes_out = [(x, y) for (y, x) in

[web2py] routes_app

2013-06-13 Thread Júlia Rizza
I was reading about the specific routes of applications in the booksection Application-Specific URL rewrite, but didn't understand well how it works. Could someone explain for me how routes_app create a routes.py specific in ea

[web2py] Re: friendly URL for user profile

2013-05-21 Thread Júlia Rizza
, > # do other stuff > (r'.*http://otherdomain.com.* /app/ctr(?P.*)', r'\g'), > (r'/app(?P.*)', r'\g'), > # restore the BASE prefix > ('/kolaborativa/default/user_info/$username', BASE+'/$username'),

[web2py] friendly URL for user profile

2013-05-21 Thread Júlia Rizza
So I have this on my *routes.py*: routers = dict( BASE = dict( default_application = 'kolaborativa', default_controller = 'default', default_function = 'index' ), ) routes_in = ( # do not reroute admin unless you want to disable it (BASE + '/admin',