[web2py:25534] Re: Cancel button

2009-07-02 Thread weheh
It goes right after the form=SQLFORM(...). Nice one, Mr. Freeze. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscrib

[web2py:25533] Re: Cancel button

2009-07-02 Thread annet
Where did you put this line of code; > form[0][-1][1].append(INPUT > (_type='button',_value='Cancel',_onclick="window.location='%s';"%URL > (r=request,f='index'))) Kind regards, Annet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[web2py:25532] Re: need an ajax spreadsheet

2009-07-02 Thread mdipierro
yes say cell=sheet['cell_name'] when the cell is modified cell.onchange is called so you can point it to a lambda that takes an action like storing it in the db. For example: cell.onchange=lambda cell=cell: db(db.cells.name==cell.name).update (value=cell.computed_value) Caveat: you must reset c

[web2py:25531] Re: need an ajax spreadsheet? Here is one

2009-07-02 Thread Francois (Jersey)
tried to install the spreadsheet application, but I have the following error message: unable to install application spreadsheet. It is possible to download the file, but I believe file is corrupt --~--~-~--~~~---~--~~ You received this message because you are subs

[web2py:25530] Re: need an ajax spreadsheet

2009-07-02 Thread Álvaro Justen [Turicas]
On Thu, Jul 2, 2009 at 23:16, mdipierro wrote: > Do you need to embed an ajax spreadsheet in you app. Now you have it: > > http://www.vimeo.com/5432441 > http://www.web2py.com/appliances/default/show/53 > > Please let know about bugs Cool! Are there options to save values that user entered (maybe

[web2py:25529] Re: need an ajax spreadsheet? Here is one

2009-07-02 Thread Álvaro Justen [Turicas]
On Fri, Jul 3, 2009 at 00:53, Hans Donner wrote: > "Sorry, there is no page with that URL. Perhaps you meant to type > something similar?" There are two URLs: http://www.vimeo.com/5432441 http://www.web2py.com/appliances/default/show/53 -- Álvaro Justen Peta5 - Telecomunicações e Software Li

[web2py:25528] Re: need an ajax spreadsheet

2009-07-02 Thread Hans Donner
but these work On Fri, Jul 3, 2009 at 4:16 AM, mdipierro wrote: > > Do you need to embed an ajax spreadsheet in you app. Now you have it: > > http://www.vimeo.com/5432441 > http://www.web2py.com/appliances/default/show/53 > > Please let know about bugs > > Massimo > > > --~--~-~--~~-

[web2py:25527] Re: need an ajax spreadsheet? Here is one

2009-07-02 Thread Hans Donner
"Sorry, there is no page with that URL. Perhaps you meant to type something similar?" On Fri, Jul 3, 2009 at 4:43 AM, mdipierro wrote: > > > > On Jul 2, 9:16 pm, mdipierro wrote: >> Do you need to embed an ajax spreadsheet in you app. Now you have it: >> >> http://www.vimeo.com/5432441http://www

[web2py:25526] Re: need an ajax spreadsheet? Here is one

2009-07-02 Thread mdipierro
On Jul 2, 9:16 pm, mdipierro wrote: > Do you need to embed an ajax spreadsheet in you app. Now you have it: > > http://www.vimeo.com/5432441http://www.web2py.com/appliances/default/show/53 > > Please let know about bugs > > Massimo --~--~-~--~~~---~--~~ You recei

[web2py:25525] need an ajax spreadsheet

2009-07-02 Thread mdipierro
Do you need to embed an ajax spreadsheet in you app. Now you have it: http://www.vimeo.com/5432441 http://www.web2py.com/appliances/default/show/53 Please let know about bugs Massimo --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

[web2py:25524] Re: Model Problem with web2py 1.65.0

2009-07-02 Thread mdipierro
Could you post the entire model? Massimo On Jul 2, 9:08 pm, Yarko Tymciurak wrote: > Massimo refers to this: > >  File "C:\Python25\Lib\site-packages\MySQLdb\connections.py", line > 35, in defaulterrorhandler >    raise errorclass, errorvalue > ProgrammingError: (1146, "Table 'happo.auth_user'

[web2py:25523] Re: Model Problem with web2py 1.65.0

2009-07-02 Thread Yarko Tymciurak
Massimo refers to this: File "C:\Python25\Lib\site-packages\MySQLdb\connections.py", line 35, in defaulterrorhandler raise errorclass, errorvalue ProgrammingError: (1146, "Table 'happo.auth_user' doesn't exist") when he says "...somewhere in a validator..." - he is guessing at what might be w

[web2py:25522] The TAO of Key-Value DBs "NoSQL" (V. Good List of NoSQL DBs)

2009-07-02 Thread gluegl
I compiled a list of top Key-Value Store (NoSQL) http://code.google.com/p/scalaris/ * http://couchdb.apache.org/ * http://labs.mudynamics.com/wp-content/uploads/2009/04/icouch.html interactive online tutorial http://hadoop.apache.org/hbase/ ** http://project-voldemort.com/ * htt

[web2py:25521] Re: Model Problem with web2py 1.65.0

2009-07-02 Thread Mico Siahaan
What do you mean by a validator? I did not create new validator. It was my first db.py. For your info, the code work well in SQLite but not in MySQL. Powered by Telkomsel BlackBerry® -Original Message- From: mdipierro Date: Thu, 2 Jul 2009 17:54:48 To: web2py Web Framework Subject: [

[web2py:25520] Re: Model Problem with web2py 1.65.0

2009-07-02 Thread mdipierro
I do not think so. check if you have a 'happo' somewhere in a validator. It does not belong there. On Jul 2, 5:46 pm, Mico Siahaan wrote: > Hai all, > > I am learning web2py. In db.py I activate/create auth_user tables. But > it seemed that web2py failed to generate needed tables. > > Here is my

[web2py:25519] Re: XForms version of SQLFORM

2009-07-02 Thread mdipierro
of but I'd change if 'IS_IN_SET' in str(table[field].requires): with if hasattr(table[field].requires,'options') or something like it On Jul 2, 5:29 pm, Fran wrote: > On Jul 2, 2:07 am, mdipierro wrote: > > > This is not so really up to me. I like the idea of XFORM and home one > > of you

[web2py:25518] Model Problem with web2py 1.65.0

2009-07-02 Thread Mico Siahaan
Hai all, I am learning web2py. In db.py I activate/create auth_user tables. But it seemed that web2py failed to generate needed tables. Here is my db.py if request.env.web2py_runtime_gae: # if running on Google App Engine from gluon.contrib.gql import * ### connect to Google BigTable

[web2py:25517] Re: XForms version of SQLFORM

2009-07-02 Thread Fran
On Jul 2, 2:07 am, mdipierro wrote: > This is not so really up to me. I like the idea of XFORM and home one > of you will take the lean and the task of building it. ok, here's a 1st cut for feedback on approach. Controller: http://paste.pocoo.org/show/126409/ View: http://paste.pocoo.org/show/

[web2py:25516] Re: DAL Validators and Widgets confusion

2009-07-02 Thread mdipierro
I am not sure the problem is in one place. cetrainly in sqlhtml.py but I cannot exclude that html.py needs to be modified too. Massimo On Jul 2, 1:41 pm, Vidul Petrov wrote: > Thank you, Massimo! > > Is the problem in sqlhtml.py (class OptionsWidget) ? > > On Jul 2, 8:55 pm, mdipierro wrote: >

[web2py:25515] Re: Feature IDEA: Auto Deploy Web2py Apps

2009-07-02 Thread Yarko Tymciurak
I also did it this way on PyCon server - from a PC (for rsync, I installed cygwin - I couldn't stand to be without shell and basic utilities when I still _had_ to use a windows box). the "script" is rather simple in this sense: $ rsync -n -exclude-from rsync.deploy.ignore -avup source destinatio

[web2py:25514] Re: DAL Validators and Widgets confusion

2009-07-02 Thread Vidul Petrov
Thank you, Massimo! Is the problem in sqlhtml.py (class OptionsWidget) ? On Jul 2, 8:55 pm, mdipierro wrote: > Yes there is a problem. This will probably not be fixed today but > within the week. > > Massimo > > On Jul 2, 11:21 am, Vidul Petrov wrote: > > > > > My point is that the widgets by

[web2py:25513] Re: SQLFORM not generating SELECT

2009-07-02 Thread mdipierro
That is a feature, although one those that I wish I had tought through better when I designed validators. On Jul 2, 12:18 pm, MikeEllis wrote: > That fixed it. Thanks Massimo. > Is that behavior a design feature or just a quirk of > implementation? :-) > Mike > > On Jul 2, 11:39 am, mdipierro w

[web2py:25512] Re: Report in pdf format

2009-07-02 Thread mdipierro
Mind that this is not thread safe. You want to generate a random filename and delete the file when done. On Jul 2, 11:45 am, __Kyo__ wrote: > It would be > > def makepdf(): > from reportlab.pdfgen import canvas > import gluon.contrib.pyrtf as q > print ('--') > c=canvas.Canvas("p

[web2py:25511] Re: DAL Validators and Widgets confusion

2009-07-02 Thread mdipierro
Yes there is a problem. This will probably not be fixed today but within the week. Massimo On Jul 2, 11:21 am, Vidul Petrov wrote: > My point is that the widgets bypass the validators. > > On Jul 2, 6:53 pm, Fran wrote: > > > On Jul 2, 3:29 pm, Vidul Petrov wrote: > > > > db.person.gender.req

[web2py:25510] Re: Cancel button

2009-07-02 Thread mr.freeze
This works for me: form[0][-1][1].append(INPUT (_type='button',_value='Cancel',_onclick="window.location='%s';"%URL (r=request,f='index'))) On Jul 2, 12:26 pm, annet wrote: > I would like to append a cancel button to the forms returned by some > of the functions in tools.py > > I tried adding t

[web2py:25509] Cancel button

2009-07-02 Thread annet
I would like to append a cancel button to the forms returned by some of the functions in tools.py I tried adding this: form[0][1][1].append(INPUT (_type='button',_value='Cancel',_onclick="window.location='%s';"%URL (r=request,f='index'))) ... to the login function, but that does not work. Wha

[web2py:25508] Re: SQLFORM not generating SELECT

2009-07-02 Thread MikeEllis
That fixed it. Thanks Massimo. Is that behavior a design feature or just a quirk of implementation? :-) Mike On Jul 2, 11:39 am, mdipierro wrote: > field.requires = [IS_IN_DB(db,'%s.%s'%(tbname,fname))] > > no select > > field.requires = IS_IN_DB(db,'%s.%s'%(tbname,fname)) > > select > > On Jul

[web2py:25507] Re: Report in pdf format

2009-07-02 Thread __Kyo__
It would be def makepdf(): from reportlab.pdfgen import canvas import gluon.contrib.pyrtf as q print ('--') c=canvas.Canvas("primer.pdf") c.drawString(150,400, "REPORTLAB") c.showPage() c.save() response.headers['Content-Type']='application/pdf' response.header

[web2py:25506] FirePython - python debugger for firefox.

2009-07-02 Thread ceej
Hey all, Thought you might be interested in a python debugger for firefox, it's like FirePHP http://firepython.binaryage.com/ maybe we could integrate this into web2py? There is already a way for django :) --~--~-~--~~~---~--~~ You received this message because yo

[web2py:25505] Re: DAL Validators and Widgets confusion

2009-07-02 Thread Vidul Petrov
My point is that the widgets bypass the validators. On Jul 2, 6:53 pm, Fran wrote: > On Jul 2, 3:29 pm, Vidul Petrov wrote: > > > db.person.gender.requires   = IS_IN_SET(("Male","Female")) > > IS_IN_SET(['Male', 'Female']) > > F --~--~-~--~~~---~--~~ You received

[web2py:25504] Re: External Libraries...

2009-07-02 Thread JohnMc
Yarko, Read your discussion with Xie. I have come to realize my situation is a little different. lxml is a package not a module. Hence there is no lxml.py to discover. Looking at the situation there is a directory -- .../site-packages/lxml-2.2.2-py2.5-i686.egg/... and this directory is in the p

[web2py:25503] Re: DAL Validators and Widgets confusion

2009-07-02 Thread Vidul Petrov
Thank you, Fran, The same result - it does not matter if the argument is a list or a tuple. The problem is that I cannot make the validation work when no element is chosen. On Jul 2, 6:53 pm, Fran wrote: > On Jul 2, 3:29 pm, Vidul Petrov wrote: > > > db.person.gender.requires   = IS_IN_SET(("

[web2py:25502] Re: DAL Validators and Widgets confusion

2009-07-02 Thread Fran
On Jul 2, 3:29 pm, Vidul Petrov wrote: > db.person.gender.requires   = IS_IN_SET(("Male","Female")) IS_IN_SET(['Male', 'Female']) F --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To p

[web2py:25501] Re: PyCow

2009-07-02 Thread lkcl
On Jul 1, 2:17 am, Jason Brower wrote: > Looks very fun! looks very basic. it's where pyjamas was, approximately two years ago, minus the widget-set infrastructure. it's quite easy to write a python-to-javascript translator: pyjs.py was 1200 lines of code (is now 2400 thanks to six months o

[web2py:25500] Re: Isn't there this feature in auth now?

2009-07-02 Thread Álvaro Justen [Turicas]
On Thu, Jul 2, 2009 at 12:45, Jason Brower wrote: > Isn't there a way to redirect to a page after a successful login? > Regards, > Jason >From Auth class we have: def login( self, next=DEFAULT, onvalidation=DEFAULT, onaccept=DEFAULT, log=DEFAULT,

[web2py:25499] Re: Feature IDEA: Auto Deploy Web2py Apps

2009-07-02 Thread Jason Brower
meeh, I don't know :) Regards, Jason On Thu, 2009-07-02 at 08:05 -0700, AchipA wrote: > Great tip ! How would you go about handling tickets/errors ? > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web

[web2py:25498] Isn't there this feature in auth now?

2009-07-02 Thread Jason Brower
Isn't there a way to redirect to a page after a successful login? Regards, Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroup

[web2py:25497] Re: Feature IDEA: Auto Deploy Web2py Apps

2009-07-02 Thread Jonathan Lundell
On Jul 2, 2009, at 7:30 AM, Speedbird wrote: > Just my 2 cents here, I personally update my apps via rsync/ssh from > my own PC at home to my external server miles away, rsync will only > copy differences and ignore certain files/directories, etc (all is > configurable), perfect for me for produc

[web2py:25496] Re: SQLFORM not generating SELECT

2009-07-02 Thread mdipierro
field.requires = [IS_IN_DB(db,'%s.%s'%(tbname,fname))] no select field.requires = IS_IN_DB(db,'%s.%s'%(tbname,fname)) select On Jul 2, 9:46 am, MikeEllis wrote: > (Note: there's a thread from last year on this subject, but for some > reason it's only providing links to reply to author and not

[web2py:25495] Re: Report in pdf format

2009-07-02 Thread Álvaro Justen [Turicas]
On Thu, Jul 2, 2009 at 11:55, __Kyo__ wrote: > thanks, and here it is a part of my code, i do not know what to write > in to me return. Try this: > def makepdf(): >    from reportlab.pdfgen import canvas >    import gluon.contrib.pyrtf as q filename = "/home/.../primer.pdf" #we do not reco

[web2py:25494] Re: External Libraries...

2009-07-02 Thread JohnMc
Yarko, Read your reply to Xie. I come to realize the situation I am experiencing is a little different. lxml is loaded as a package not a module. There is a python egg directory .../site-packages/lxml-2.2.2-py2.5-linux-686.egg/... contained in that directory is .../lxml/__init__.py. There is no

[web2py:25493] Re: Feature IDEA: Auto Deploy Web2py Apps

2009-07-02 Thread AchipA
Great tip ! How would you go about handling tickets/errors ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe fr

[web2py:25492] Re: Report in pdf format

2009-07-02 Thread __Kyo__
thanks, and here it is a part of my code, i do not know what to write in to me return. def makepdf(): from reportlab.pdfgen import canvas import gluon.contrib.pyrtf as q c=canvas.Canvas("/home/.../primer.pdf") c.drawString(150,400, "REPORTLAB") c.showPage() c.save()

[web2py:25491] SQLFORM not generating SELECT

2009-07-02 Thread MikeEllis
(Note: there's a thread from last year on this subject, but for some reason it's only providing links to reply to author and not to the group) The following model code is working correctly except that the generated SQLFORM has INPUT elements instead of select elements even though I've specifed an

[web2py:25490] Re: Feature IDEA: Auto Deploy Web2py Apps

2009-07-02 Thread Speedbird
Just my 2 cents here, I personally update my apps via rsync/ssh from my own PC at home to my external server miles away, rsync will only copy differences and ignore certain files/directories, etc (all is configurable), perfect for me for production deployment, I'd be happy to share the shell scrip

[web2py:25489] DAL Validators and Widgets confusion

2009-07-02 Thread Vidul Petrov
Hi, While testing some of the exmaples from the latest manual, the IS_IN_SET() validator confused me: db.define_table("person", SQLField("gender", notnull=True), SQLField("desserts", notnull=True)) db.person.gender.requires = IS_IN_SET(("Male","Female")) db.person.gender.widge

[web2py:25488] Re: select something as other from this

2009-07-02 Thread mdipierro
yes in rows=db().select(db.mytable.date,db.mytable.clicks.sum (),db.mytable.impressions.sum(),groupby=db.mytable.date) for row in rows: print row._extra[db.mytable.clicks.sum()] Massimo On Jul 2, 6:22 am, "Sebastian E. Ovide" wrote: > is there any way to access to the sum column ? in th

[web2py:25487] Re: Adding extensions to markdown2

2009-07-02 Thread mdipierro
If you find out let me know I need this too. On Jul 2, 6:06 am, Carl wrote: > hi, > > Is there a document/guideline detailing how one can extend markdown2? > I want to add my own handlers (line handling and perhaps block > handling) > > thanks > > Carl --~--~-~--~~~--

[web2py:25486] Re: confusion about web2py's MVC namespace

2009-07-02 Thread mdipierro
exec('from applications.%s.modules.util import *' % request.application) assuming util.py is under modules On Jul 2, 3:55 am, Yarko Tymciurak wrote: > On Thu, Jul 2, 2009 at 2:19 AM, 小谢 wrote: > > > On Jul 2, 2:30 am, Yarko Tymciurak wrote: > > > On Wed, Jul 1, 2009 at 9:19 AM, Сл wrote: > >

[web2py:25485] Re: Feature IDEA: Auto Deploy Web2py Apps

2009-07-02 Thread mdipierro
Almost all admin funcionality is available form command line but from web2py command line python web2py.py -S admin >>> import gluon.admin >>> help(gluon.admin) On Jul 2, 2:46 am, AchipA wrote: > I would also kind of like more admin functionality available from the > command line. Web is cool a

[web2py:25484] Re: _extra returns string instead of date

2009-07-02 Thread Sebastian E. Ovide
following up from another thread http://groups.google.com/group/web2py/browse_frm/thread/aac58263328d9e8f/96af57e862484949 rows.colnames=["date","id","clicks","impressions"] for rename the cols and row._extra["date"] for acceding the field =- On Thu, Jul 2, 2009 at 8:08 PM, Hans Donner wr

[web2py:25483] Re: _extra returns string instead of date

2009-07-02 Thread Hans Donner
"I have renamed a query columns setting colnames." Could you be more precise what you did, eg by showing us some code? As it looks now you did something that you shouldn't have. On Thu, Jul 2, 2009 at 1:38 PM, Sebastian E. Ovide wrote: > Hi Massimo > > I have renamed a query columns setting coln

[web2py:25482] _extra returns string instead of date

2009-07-02 Thread Sebastian E. Ovide
Hi Massimo I have renamed a query columns setting colnames. For some reason the _extra operator is returning a string for a field that is date. In another server running the same web2py version _extra is returning datetime for the same field (instead of date) Version 1.64.1 (2009-06-11 15:48

[web2py:25481] Re: select something as other from this

2009-07-02 Thread Sebastian E. Ovide
is there any way to access to the sum column ? in this way we would not need to rename that column On Sat, Jun 20, 2009 at 6:43 AM, mdipierro wrote: > > Changing colnames that have the form "table.field" is a NO NO. That is > what I was referring to. > colnames that refer to aggregates can

[web2py:25480] Adding extensions to markdown2

2009-07-02 Thread Carl
hi, Is there a document/guideline detailing how one can extend markdown2? I want to add my own handlers (line handling and perhaps block handling) thanks Carl --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py

[web2py:25479] Re: confusion about web2py's MVC namespace

2009-07-02 Thread 小谢
On Jul 2, 5:11 pm, Yarko Tymciurak wrote: > 2009/7/2 小谢 > > > > > > > On Jul 2, 4:55 pm, Yarko Tymciurak wrote: > > > On Thu, Jul 2, 2009 at 2:19 AM, 小谢 wrote: > > > > > On Jul 2, 2:30 am, Yarko Tymciurak wrote: > > > > > On Wed, Jul 1, 2009 at 9:19 AM, Сл wrote: > > > > > > .. > > > >

[web2py:25478] Re: Feature IDEA: Auto Deploy Web2py Apps

2009-07-02 Thread Alexei Vinidiktov
On Thu, Jul 2, 2009 at 11:41 AM, Joe Barnhart wrote: > > I don't know exactly what you're asking for, but I have to say that MY > server won't ever expose FTP on an open port.  And restarting my > server is a *big* deal since it terminates all processes (of which web > server is only one) so I tr

[web2py:25477] Re: confusion about web2py's MVC namespace

2009-07-02 Thread Yarko Tymciurak
2009/7/2 小谢 > > > > On Jul 2, 4:55 pm, Yarko Tymciurak wrote: > > On Thu, Jul 2, 2009 at 2:19 AM, 小谢 wrote: > > > > > On Jul 2, 2:30 am, Yarko Tymciurak wrote: > > > > On Wed, Jul 1, 2009 at 9:19 AM, Сл wrote: > > > > > > .. > > > > > > > Thanks. It really helped. It's lucky that the proj

[web2py:25476] Re: confusion about web2py's MVC namespace

2009-07-02 Thread 小谢
On Jul 2, 4:55 pm, Yarko Tymciurak wrote: > On Thu, Jul 2, 2009 at 2:19 AM, 小谢 wrote: > > > On Jul 2, 2:30 am, Yarko Tymciurak wrote: > > > On Wed, Jul 1, 2009 at 9:19 AM, Сл wrote: > > > > .. > > > > > Thanks. It really helped. It's lucky that the project is still in its > > > > early s

[web2py:25475] Re: confusion about web2py's MVC namespace

2009-07-02 Thread Yarko Tymciurak
On Thu, Jul 2, 2009 at 2:19 AM, 小谢 wrote: > > On Jul 2, 2:30 am, Yarko Tymciurak wrote: > > On Wed, Jul 1, 2009 at 9:19 AM, Сл wrote: > > > > .. > > > > > Thanks. It really helped. It's lucky that the project is still in its > > > early stage and we'll be refactoring the existing code with

[web2py:25474] Re: routes.py question

2009-07-02 Thread Yarko Tymciurak
well, there is a simpler thing: if you go to http://myserver/ web2py tries - in order - to start an app called "init"; if it doesn't exist, it looks for an app called "welcome". The first level, most simple solution is to just call your app "init". You can use routes, then, for less trivial th

[web2py:25473] Re: Feature IDEA: Auto Deploy Web2py Apps

2009-07-02 Thread AchipA
I would also kind of like more admin functionality available from the command line. Web is cool and all, but if your web2py install has no https (or maybe even http if it's an intranet install) and you only can access it via ssh and lynx which is dead in the water because of JS in web2py... a pyth

[web2py:25472] Multilingual database content

2009-07-02 Thread dotoree
Hello, Is there anything for multilingual database content? I want to store in the database content for multiple languages (not static text translation). I came up to this: # Languages db.define_table("cultures", SQLField("culture","string",length=20,notnull=True,default="")) # My table ! d

[web2py:25471] Re: confusion about web2py's MVC namespace

2009-07-02 Thread 小谢
On Jul 2, 2:30 am, Yarko Tymciurak wrote: > On Wed, Jul 1, 2009 at 9:19 AM, Сл wrote: > > .. > > > Thanks. It really helped. It's lucky that the project is still in its > > early stage and we'll be refactoring the existing code with respect to > > web2py's conventions. > > Glad it helped.

[web2py:25470] Re: Feature IDEA: Auto Deploy Web2py Apps

2009-07-02 Thread Alexandre Andrade
If I understand your idea: 1. besides you can generate a .w2p package and upload using a browser (what web2py already do) you want a option to deploy it putting it in the server and web2py 'magically' install it? Maybe it can be interesting for big aplications, that don't fit so well to upload in

[web2py:25469] Re: Exception: cursor already closed

2009-07-02 Thread 小谢
On Jul 2, 2:57 pm, Сл wrote: > Hi everyone > > I'm encapsulating a couple of classes into a file under myapp/modules > and initialize some of them with "db" object. The weired thing is that > after one successful query I got "cursor already closed" exception > later on. Any suggestions? Oh, th