[web2py] Re: web2py 1.99.3 is OUT

2011-12-10 Thread Simon Lukell
> We could not call it 1.100 because it would break the old automatic > upgrade mechanism (1 comes before 9, yikes). > Why not make the upgrade from old version a two-step process? Or is this too high a price to pay for being absolutely clear that the API not been broken? I know bumping major ve

[web2py] GAE - SQL cloud connection

2011-10-18 Thread Simon Ashley
Having an issues connecting to the SQL cloud. Have a simple application which works on SQLite. Able to deploy to GAE using the following: db = DAL('gae') However if its changed to: db = DAL('google:sql://cdmr01:csm/csmcel05',migrate_enabled=True) # cdmr01:csm is the sql cloud instance and c

[web2py] Re: web2py on gae

2011-10-18 Thread Simon Ashley
Are you able to post more details of the errors you get? Generally it works as expected (but with some caveats on the GAE side). We've currently going through that exercise, and noting that there could issues with SQL cloud which we haven't resolved yet (i.e. runs nosql OK but not mysql) On Oct 1

[web2py] Re: Google App Engine Launcher and Deployment

2011-10-15 Thread Simon Ashley
Thanks. Issue 474. On Oct 16, 12:47 am, Massimo Di Pierro wrote: > could be a bug in toolbar.  I never tried it in GAE. Open a ticket and > will fix it asap. > > On Oct 15, 2:05 am, Simon Ashley wrote: > > > > > > > > > Just a first time play with this.

[web2py] Google App Engine Launcher and Deployment

2011-10-15 Thread Simon Ashley
Just a first time play with this. (Environment: Python 25, current Web2Py nightly source {copied to the Python25 root} and fresh copy of the Google App Engine Launcher) App is working fine from a command line python25 call When run from the Launcher -> Browse, is fine with a static page, but when

[web2py] Re: SQLFORM.grid representation

2011-09-14 Thread Simon Ashley
7;, 'dog.owner'] >     table = SQLFORM.grid(db.dog, columns=columns) >     return dict(table=table) > > columns affect the grid column displaying only. Pass to column the field you > want to display, no need to put readable=False. > > 2011/9/14 Simon Ashley > > > > &g

[web2py] Re: SQLFORM.grid representation

2011-09-14 Thread Simon Ashley
t; your example and can reproduce your results.  But, if I go through > appadmin and list out my table the owner name does appear. > >      -Jim > > On 9/12/2011 9:51 PM, Simon Ashley wrote: > > > > > > > > > Have a Model as follows: > > >

[web2py] Re: SQLFORM.grid representation

2011-09-14 Thread Simon Ashley
ults.  But, if I go through > appadmin and list out my table the owner name does appear. > >      -Jim > > On 9/12/2011 9:51 PM, Simon Ashley wrote: > > > > > > > > > Have a Model as follows: > > > from gluon.tools import Auth > > auth=Auth(db

[web2py] SQLFORM.grid representation

2011-09-12 Thread Simon Ashley
Have a Model as follows: from gluon.tools import Auth auth=Auth(db) auth.define_tables() db.define_table('person',Field('name'),format='%(name)s') db.define_table('dog',Field('name'),Field('owner',db.person)) db.dog.owner.requires = IS_IN_DB(db, 'person.id', db.person._format) and a controller:

[web2py] Re: Windows Service Error

2011-05-20 Thread karl simon
y > > > > On Thursday, May 19, 2011 6:21:42 PM UTC-4, karl simon wrote: > > I am running web2py from source (version 1.90.6) in Windows XP.  I > > currently have win32 extensions for Python installed.  I was able to > > install the windows service successfully, howe

[web2py] Windows Service Error

2011-05-19 Thread karl simon
I am running web2py from source (version 1.90.6) in Windows XP. I currently have win32 extensions for Python installed. I was able to install the windows service successfully, however, when I go to start the windows service using "python web2py.py -W start", the service does not start. The Windo

[web2py] Re: Multiple tables: update/insert/delete: in one form

2011-05-16 Thread Simon Ashley
Vineet, We're doing the same in a different client server environment. Lots of business logic, 700+ tables, 10,000+ tasks to translate. We intend writing a high level tool as a web2py code generator, that will serve as a gateway between the 2. However we're probably at a lower level on the learnin

[web2py] Re: Multiple tables: update/insert/delete: in one form

2011-05-16 Thread Simon Ashley
Vineet, Agreed, the temp file should be in the DAL. I don't see at this stage why it would be break the logic. On May 17, 5:47 am, Vineet wrote: > Simon, > I thought on the idea of adding a MySQL temp table to manage insert/ > del/update on multiple tables. > But there would

[web2py] Re: Multiple tables: update/insert/delete: in one form

2011-05-16 Thread Simon Ashley
re looking at converting that would make anyone's mind spin). YMMV On May 16, 1:15 am, Vineet wrote: > Simon, > That is a good idea. > In fact, almost the same approach is being followed in VFP cursor > adaptor (the difference being that, data from MySQL tables is > reprodu

[web2py] Re: Multiple tables: update/insert/delete: in one form

2011-05-15 Thread Simon Ashley
Since no one has replied for a couple of days, I'll toss my 2 cents in. Don't how much value this could be, as we just evaluating web2py and python but in another environment we could have written data in the normalised records to a temporary record in a denormalised, virtual table, update and save

[web2py] Typo in Official Web2py book

2010-11-18 Thread karl simon
Not sure if this is the place to post this, but, I think there is a typo in the Official Web2py book in chapter 10: http://web2py.com/book/default/chapter/10 In the section labeled "The Ajax Function: {{extend 'layout.html'}} I believe id="name" should be name="name". I tried it with id="na

[web2py] Dynamic Onclick Button Based on Python Return Values

2010-11-04 Thread karl simon
Hello, I'm a new to web2py and web programming, so bear with me if this is a basic question. I'm trying to figure out how to dynamically update a button based on a return value from a python function. Here's a little more background on my project. I'm trying to create an instrument panel that h

<    1   2   3   4   5