[web2py] Database migration problem

2015-06-05 Thread Julien Courteau
Hello, (1) I use sqlite (2) In development I made the following change to a given table: db.define_table(... Field('description', 'text'), ... ) becomes: db.define_table(... Field('description_en', 'text'), Field('description_fr', 'text'), ... ) Everything went well. (3) Then I tri

Re: [web2py] Unable to acces admin app in production

2014-01-28 Thread Julien Courteau
ou migrate from which version... > > If you search the list there is a post from me about all the app files > that should be update on web2py update... > > Richard > > > On Fri, Jan 24, 2014 at 8:48 PM, Julien Courteau > > > wrote: > >> After I tried to

[web2py] Unable to acces admin app in production

2014-01-24 Thread Julien Courteau
After I tried to upgrade to version 2.8.2-stable 2013.11.23 13.54.07 from the admin application (the upgrade button), I no longer have access to the admin app: the ticket produced refer to an "import error" concerning gluon.tools.Config from the admin/default.py controller. I tried to upgrade "ma

[web2py] Re: Unable to create Auth tables

2013-11-26 Thread Julien Courteau
databases folder (they store the migration > information for each table). > > Anthony > > On Monday, November 25, 2013 9:22:58 PM UTC-5, Julien Courteau wrote: >> >> (a) I did: drop table ; == ["auth_user", >> "auth_group", etc...] in a sqlite3 she

[web2py] Unable to create Auth tables

2013-11-25 Thread Julien Courteau
(a) I did: drop table ; == ["auth_user", "auth_group", etc...] in a sqlite3 shell; (b) I refresh my index page: web2py execute the auth.define_table() silently but no tables had been created (sql.log contains no create table). I tried to figure out what's happening without success. It did the

[web2py] Re: @auth.requires_login() does not work and how to debug gluon modules?

2013-11-25 Thread Julien Courteau
On Sunday, November 24, 2013 11:52:46 PM UTC-5, Julien Courteau wrote: > > Environment: web2py 2.3.2, ubuntu 13.10, firefox / chrome > > From a new app @auth.requires_login() works fine. > But with my current application the requires_login redirect me silently to > my def

[web2py] @auth.requires_login() does not work and how to debug gluon modules?

2013-11-24 Thread Julien Courteau
Environment: web2py 2.3.2, ubuntu 13.10, firefox / chrome >From a new app @auth.requires_login() works fine. But with my current application the requires_login redirect me silently to my default/index page without presenting me the login page. I tried to set breakpoints (using pdb or dbg) into

[web2py] Passing parameters to web2py using apache/mod_wsgi

2013-03-13 Thread Julien Courteau
How to pass command line parameters to web2py (such as -K) when using apache and mod_wsgi. -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubsc

[web2py] Re: The book updates and status

2012-12-20 Thread Julien Courteau
I'm in for proof reading of the 5th edition. --

[web2py] Re: New error after installing 2.2.1 version

2012-11-14 Thread Julien Courteau
Hello Massimo! I send you the complete traceback (see the attach file). Thanks a lot for web2py and your kindness for taking the time to look at that strange problem! -- web2py™ administrative interface Site Edit About Errors Versioning Logout Debug Help E

[web2py] New error after installing 2.2.1 version

2012-11-12 Thread Julien Courteau
Hello All, After converting to 2.2.1 I've got the following error message: " format requires a mapping" when I try to log on for accessing an action that requires authentification / authaurization such as: @auth.requires_membership('admin') def f(): ... Here is an extract of the traceback:

[web2py] Re: Images not laoded

2012-11-10 Thread Julien Courteau
_src=URL('static','logo.png'), _alt="My Logo") > > or > > > > > On Friday, November 9, 2012 7:20:03 PM UTC-8, Julien Courteau wrote: >> >> Hello All, >> >> The images of my home page didn't load if I try to access it with

[web2py] Images not laoded

2012-11-09 Thread Julien Courteau
Hello All, The images of my home page didn't load if I try to access it with the following URLs: "localhost:8000/" "localhost:8000/mm/" but loaded fine with: "localhost:8000/mm/default/" or "localhost:8000/mm/default/index/" the name of my application being, of course, "mm" a

[web2py] DAl connection through a mysql socket

2012-10-30 Thread Julien Courteau
Hello, I need to access a mysql db through a socket file from DAL. What is the connection string I should use. The socket file is: "/tmp/mysql5.sock". Should I use something like that: db = DAL('mysql://username:password@localhost:/tmp/mysql5.sock')? Thanks. --