[web2py] Re: web2py 2.14.1 beta

2016-03-22 Thread Jack Kuan
I assume these print statements(in *gluon/sqlhtml.py*), probably added while debugging, will be removed in the 2.14.1? print dbset.query print tablenames print tables Thanks On Monday, March 21, 2016 at 6:38:16 PM UTC-4, Massimo Di Pierro wrote: > > Please help

[web2py] PyCharm license for web2py dev - who wants?

2015-10-15 Thread Jack Kuan
+1 Would love to give it a try. Thanks! -- 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

[web2py] Re: Modifying web2py JS files -- best practices?

2015-08-08 Thread Jack Kuan
, Jack Kuan wrote: Often the starting point of making a web2py app is to copy the welcome app and base your repo on it. But as you add/modify/delete files from your repo that's based on the welcome app to suit your need, you then face the problem of merging updates to the welcome app back

[web2py] Re: web2py 1.12.1 is out

2015-08-07 Thread Jack Kuan
surely you meant 2.12.1 ? -- 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] Re: Modifying web2py JS files -- best practices?

2015-08-06 Thread Jack Kuan
Often the starting point of making a web2py app is to copy the welcome app and base your repo on it. But as you add/modify/delete files from your repo that's based on the welcome app to suit your need, you then face the problem of merging updates to the welcome app back to your repo. I did

[web2py] Re: Can we disable moderation in the group?

2015-03-12 Thread Jack Kuan
I too have a feeling that all my posts have been moderated because whenever I make a new post, I have to wait for hours or a day for it to show up in the group. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Can we disable moderation in the group?

2015-03-06 Thread Jack Kuan
I don't see the need and think it can be off putting for new comers. -- 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

[web2py] Weird problems with scheduler on OSX

2015-03-06 Thread Jack Kuan
I have had a similar problem with the scheduler on OS X. Try search scheduler os x urllib in this group, and see if my post helps. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Weird problems with scheduler on OSX

2015-03-06 Thread Jack Kuan
not use urllib to begin with. Too bad, I thought I'd found a workaround! Now I'll have to do some heavy lifting and help Niphlod find the problem... -- Joe On Friday, March 6, 2015 at 6:12:30 PM UTC-8, Jack Kuan wrote: I have had a similar problem with the scheduler on OS X. Try search

[web2py] Running scheduler on OS X - problem with urllib.getproxies() and multiprocessing

2014-11-28 Thread Jack Kuan
Hi, I'm just wondering if anyone has experienced the same problem or not. Basically, I get a segmentation fault (scheduler process killed by signal 11) if I try to start more than one scheduler under OS X. The problem can be reproduced with the built-in welcome app by adding a

[web2py] SQLFORM.grid search: how to show only a subset of available search fields?

2014-10-26 Thread Jack Kuan
Answering my own question: my solution is to massage the returned grid object, removing duplicate options and other unwanted html elements. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] SQLFORM.grid search: how to show only a subset of available search fields?

2014-10-22 Thread Jack Kuan
Hi, I'm using left=[...] when creating a searchable SQLFORM.grid. My problem is that the drop-down menu for choosing which fields to build the search query contains ALL the fields in the search result. Is there a way to limit it to only a subset of the fields like what the 'fields' argument of

[web2py] Re: question about db.mytable.update_or_insert()

2014-08-13 Thread Jack Kuan
How does one usually deal with such conflict? (two identical(except for id's) inserts causing a violation of an unique constraint) Isolating the insert into its own transaction and then do a db.commit(), catch any exception and then ignore? Thanks On Wednesday, August 13, 2014 10:57:13 AM

[web2py] Record versioning without duplicate archive records?

2014-08-12 Thread Jack Kuan
Hi, just starting out with web2py. Given a table with record versioning enabled, I find that for every successful update operation a row will be inserted in the archive table. I'm using update_or_insert(), is it possible to make web2py only copy an old row into the archive table when there's a

[web2py] question about db.mytable.update_or_insert()

2014-08-12 Thread Jack Kuan
Hi, When using update_or_insert(), say for example: db.mytable.update_or_insert(q, name='test') Let's say the query, q, results in not finding any row in mytable, is it possible that in another transaction in another request that when the same update_or_insert(...) is called that it also