[web2py:18568] Re: Multi Column Unique Key, how to code best in web2py?

2009-03-25 Thread johann . scheibelhofer
Can someone else help here? Thanks, Hans On 24 Mrz., 15:02, johann.scheibelho...@easytouch-edv.com wrote: > Yarko, > > thank you for your support on this. > I was obviously not good in describing the problem well. Sorry for > that. Let me try to rephrase it from an different point of view. > > L

[web2py:18569] Question about compile and performance

2009-03-25 Thread Iceberg
Hi Massimo, As one of my app becomes more complex, its controllers and views contains more and more code. So I assume it takes more time for web2py to parse them on the fly. Then I notice that if I compile my app, all controllers are in their pyc format, even all html views are translated into co

[web2py:18570] Re: Question about compile and performance

2009-03-25 Thread Douglas Soares de Andrade
Em Quarta-feira 25 Março 2009, às 07:38:45, Iceberg escreveu: > Hi Massimo, > > As one of my app becomes more complex, its controllers and views > contains more and more code. So I assume it takes more time for web2py > to parse them on the fly. Then I notice that if I compile my app, all > contro

[web2py:18571] Re: Why aren't we under our own domain yet?

2009-03-25 Thread Jonathan B
Hi Anand, On Mar 25, 6:37 am, Anand Vaidya wrote: > Also, the SSL cert problem does not look good. > I saw godaddy is offering a 3-year 256-bit strength SSL Cert for > I am willing to pay for it if the project would agree to use it. As far as I know, Massimo is underway with buying a new SSL

[web2py:18572] Re: Qusestion about the book?

2009-03-25 Thread Jonathan B
Hi Massimo, On Mar 24, 5:03 pm, mdipierro wrote: > I have the copyright on the book but I also have an understanding that > I would not give it away for free or it will go out of print. Creators > of other framework make their living by consulting. I make my living > in the academic. A publishe

[web2py:18573] Re: Change Control Process for web2py

2009-03-25 Thread Jonathan B
Adding web2py to Freshmeat was a great initiative, Anand! Kutos! :-) --Jonathan --~--~-~--~~~---~--~~ 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

[web2py:18574] Re: Change Control Process for web2py

2009-03-25 Thread Anand Vaidya
On Mar 25, 8:17 pm, Jonathan B wrote: > Adding web2py to Freshmeat was a great initiative, Anand!  Kutos! :-) Thanks Jonathan. > > --Jonathan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework"

[web2py:18575] PostgreSQL

2009-03-25 Thread ural
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - mdipierro To: web2py 09 March 2009 [web2py:17722] Sqlite disaster For a production site I suggest using postgresql. I have seen very bad failures of sqlite when for example you run out of disk space. Complete database corruption. -

[web2py:18576] Re: jquery jqGrid JSON url problem

2009-03-25 Thread Mike
Hi Ed... I'm no expert but here's what I'm doing for the URL, url: '../controller/function1' Here's a more complete example...I know there a several places where more web2py-esqe helpers or style would help but this is how I first mocked up jqGrid. myview.html == {{extend 'layout.html

[web2py:18577] Re: Simplest patch ever - view the view

2009-03-25 Thread mdipierro
Can you please email it to me as an attachment? Thanks. On Mar 24, 11:16 pm, "mr.freeze" wrote: > This just adds a convenience link to view the page when editing a > view.  It avoids some mousing around and clicking: > > Index: applications/admin/controllers/default.py >

[web2py:18578] Re: Looking for a FAST Developer in Web2Py

2009-03-25 Thread mdipierro
No time but I could use something like this as part of the conference management app. On Mar 24, 11:36 pm, Steve Shephed wrote: > Anyone interested in a small project to create an autoresponder like > aweber.com with a few mods and including an AJAX look and feel. > Let me know your development

[web2py:18580] Re: Multi Column Unique Key, how to code best in web2py?

2009-03-25 Thread mdipierro
My suggestion is use the validators for the drop box only, define def my_check(form): if db( (db.shapecolormonth.shapename==form.vars.shapename) & (db.shapecolormonth.shapecolor==form.vars.shapecolor) & (db.shapecolormonth.month==form.vars.month) ).count(): fo

[web2py:18579] Re: Possible bug: cron doesn't work when deploy in a directory name with space inside

2009-03-25 Thread AchipA
Ok, could you try replacing your web2py/gluon/contrib/cron.py with http://bazaar.launchpad.net/%7Eachipa/web2py/cron/download/head%3A/cron.py-20090112034952-715v6lgr679gwzuf-7/cron.py and report back if this makes any difference ? On Mar 25, 5:03 am, Iceberg wrote: > Sure. > > My crontab: > >

[web2py:18581] Re: Question about compile and performance

2009-03-25 Thread mdipierro
I will look into this On Mar 25, 6:11 am, Douglas Soares de Andrade wrote: > Em Quarta-feira 25 Março 2009, às 07:38:45, Iceberg escreveu: > > > > > Hi Massimo, > > > As one of my app becomes more complex, its controllers and views > > contains more and more code. So I assume it takes more time

[web2py:18582] Re: Qusestion about the book?

2009-03-25 Thread mdipierro
Yes, this is a good idea. any objections? On Mar 25, 7:08 am, Jonathan B wrote: > Hi Massimo, > > On Mar 24, 5:03 pm, mdipierro wrote: > > > I have the copyright on the book but I also have an understanding that > > I would not give it away for free or it will go out of print. Creators > > of o

[web2py:18583] Re: Change Control Process for web2py

2009-03-25 Thread mdipierro
I understand. Thanks Anand. On Mar 25, 7:39 am, Anand Vaidya wrote: > On Mar 25, 8:17 pm, Jonathan B wrote: > > > Adding web2py to Freshmeat was a great initiative, Anand!  Kutos! :-) > > Thanks Jonathan. > > > > > --Jonathan --~--~-~--~~~---~--~~ You received th

[web2py:18584] Re: Simplest patch ever - view the view

2009-03-25 Thread AchipA
A thought after this and watching your latest video and quite a bit of scrolling. You might want to put in some anchors into sessions, so you don't scroll as much after editing. When going somewhere from appadmin (edit a view, controller, test, whatever) it is likely you will want to do something

[web2py:18585] Re: PostgreSQL

2009-03-25 Thread mdipierro
sqlite is not a client server database this means: 1) the entire database is locked when a connection is open, has no concurrency whatsoever 2) it will become slow with large number of records 3) it gets corrupted if you run out of disk space 4) does not provide a way to backup the database when

[web2py:18586] Trouble with images

2009-03-25 Thread Doug Cuthbertson
Hi Folks, I'm new to web2py. I've worked through the recipe example in the cookbook and it worked like a champ! I really like being able to create all the parts of a web application via the browser. It means never having to open a console on the web server. Very nice. Next, I tried following the

[web2py:18587] Re: creating stand-alone apps of web2py

2009-03-25 Thread Iceberg
Hey Jude, don't be afraid... :-) I have been there and done that. In recent days I happened to work on how to build an app into a stand-alone setup.exe for Windows platform, by a single click. The work is mainly based on the free Inno Setup. I am posting the almost-finished work to Massimo for s

[web2py:18588] Re: Trouble with images

2009-03-25 Thread mdipierro
Can you access http://localhost:8000/TestBlog/static/image2.jpg is it either a typo or the image is not there. Massimo On Mar 25, 6:24 am, Doug Cuthbertson wrote: > Hi Folks, > I'm new to web2py. I've worked through the recipe example in the > cookbook and it worked like a champ! I really lik

[web2py:18589] Re: Trouble with images

2009-03-25 Thread Doug Cuthbertson
It looks like I've run into a bug. I found out that the "upload file" is corrupted. I manually copied the image (under a different name) to my TestBlog/static/ directory, updated hello.html to use the new image and everything worked. I then opened the uploaded image in GIMP. It failed to load and

[web2py:18590] Re: PostgreSQL

2009-03-25 Thread Timothy Farrell
It is true that it is not a client-server database. But it is far more powerful than the name hints. Also, it seems that some of Massimo's information is incomplete. I'll try to flesh it out a little more. 1) True. However, it is magnitudes times faster than MySQL and PostgreSQL which allo

[web2py:18591] Re: Trouble with images

2009-03-25 Thread Doug Cuthbertson
Massimo, Thanks for the reply. When I access http://localhost:8000/TestBlog/static/image2.jpg I get an image of the text "http://localhost:8000/TestBlog/static/ image2.jpg". When I try other images I either get a corrupted version of the original image, or I get an image of the URL text. When I o

[web2py:18592] Re: Question about compile and performance

2009-03-25 Thread Joe Barnhart
Looks like this is the core compiler: http://pypi.python.org/pypi/chameleon.core/1.0b24 The other files are personalities on top of the Chameleon core itself. Interesting. -- Joe B. On Mar 25, 6:58 am, mdipierro wrote: > I will look into this --~--~-~--~~~---~--~

[web2py:18593] Re: Qusestion about the book?

2009-03-25 Thread Joe Barnhart
+1 On Mar 25, 5:08 am, Jonathan B wrote: > Hence, it may be a good idea to consider releasing the Wiki > under the Creative Commons Attribution license, that way the Wiki > contents can be reused commercially and can be sold in a non-share- > alike way. Of course, the current authors would have

[web2py:18595] To Massimo et al , question regarding : excel, statistical analysis tools( including graphing) in web2py,T2 and T3

2009-03-25 Thread dbb
I am wondering whether it is possible to incorporate excel and statistical tools in web2py, T2 and T3. If so, can we get the drivers with instructions. Best Regards: Dbb --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

[web2py:18597] Re: To Massimo et al , question regarding : excel, statistical analysis tools( including graphing) in web2py,T2 and T3

2009-03-25 Thread Timothy Farrell
I'm pretty sure we're going to need more to go on. What statistics do you want? What tools do you have in mind to use? The answers to your questions are likely yes and "no one has coded it yet". More info please. =) -tim dbb wrote: > I am wondering whether it is possible to incorporate exc

[web2py:18594] To Massimo et al , question regarding : excel, statistical analysis tools( including graphing) in web2py,T2 and T3

2009-03-25 Thread dbb
I am wondering whether it is possible to incorporate excel and statistical tools in web2py, T2 and T3. If so, can we get the drivers with instructions. Best Regards: Dbb --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

[web2py:18596] Re: Question about compile and performance

2009-03-25 Thread Joe Barnhart
Another interesting blog post about Chameleon: http://philikon.wordpress.com/2008/10/22/chameleon-byte-compiler-for-zpt-and-genshi/ On Mar 25, 6:58 am, mdipierro wrote: > I will look into this --~--~-~--~~~---~--~~ You received this message because you are subsc

[web2py:18598] Feature Req: varialbes passed when editing view.

2009-03-25 Thread Jason Brower
Is there a way to show variables and there structure in a collapsible view when working in the views area? What I imagine is the ability to see the structure of the variables that I pass to that view. For example, I have a db.table that I pass to the page as... "stuff". Now stuff has all the colum

[web2py:18601] Re: Question about compile and performance

2009-03-25 Thread Timothy Farrell
I just took a look at this thread. > Chameleon is a generic byte-code compiler for attribute template languages This is not web2py templates. It supports Genshi and ZPT because they are "attribute template languages". By contrast, a web2py template is a "text template language". The diffe

[web2py:18599] Re: To Massimo et al , question regarding : excel, statistical analysis tools( including graphing) in web2py,T2 and T3

2009-03-25 Thread dbb
Let us start first with excel like spreadsheet, or if possible with the existing web2py tools to have some of the mathemtical functions excel can offer. If web2py has some of the mathematical functions similar to excel, then these functions need exposure so that one can find them easily.Instead o

[web2py:18602] Re: creating stand-alone apps of web2py

2009-03-25 Thread dbb
To iceberg: when do think you are going to finish the instructions how to create a standalone web2py application. Best regards: Dbb On Mar 24, 2:50 Ipm, mdipierro wrote: > I am not sure I understand what you want to do. > > If you name your app init, it will be the default app in web2py. > If

[web2py:18603] Database in web2py

2009-03-25 Thread dave_mcgee
Hi there. I have a MySQL database in my web2py environment. I wish for an external application to connect to it also to read data.. What parameters should I use? I assume localhost is one but I can't find any username/password information associated with my db --~--~-~--~~---

[web2py:18600] DB Introspection: Finding Referenced Tables

2009-03-25 Thread Kent Borg
I am wondering how to implement a more free-form search. For example, a search for "will" would get a direct hit on someone named "Robin Williams", but say I have a reference out to favorite movie in another table, I also want to find someone else who points to "Good Will Hunting" in that over ta

[web2py:18604] cache.ram Questions

2009-03-25 Thread Mark Larsen
Web2Pyers, What the appropriate way to use cache.ram? Let's say I want to cache an object (in my case its a cStringIO). In my controller function --> def makeMe(): x = cStringIO.StringIO() cache.ram("myObj", lambda: x, 5) def getMe(): x = cache.ram.storage['myObj'][1] response.headers[

[web2py:18605] Re: PostgreSQL

2009-03-25 Thread mdipierro
Thank you Tim for clarifying this. I have had some issues with 3 myself when the disk ran out of space. Massimo On Mar 25, 9:47 am, Timothy Farrell wrote: > It is true that it is not a client-server database.  But it is far more > powerful than the name hints.  Also, it seems that some of Mass

[web2py:18606] Re: Trouble with images

2009-03-25 Thread mdipierro
>From your email I assume you are uploading the images via the admin/ design page. Which version of web2py are you running? Which OS? binary or source? Which web server? Massimo On Mar 25, 10:20 am, Doug Cuthbertson wrote: > Massimo, > Thanks for the reply. When I > accesshttp://localhost:800

[web2py:18607] Re: Feature Req: varialbes passed when editing view.

2009-03-25 Thread mdipierro
Place this in the view {{=BEAUTIFY(response._vars)}} On Mar 25, 1:03 pm, Jason Brower wrote: > Is there a way to show variables and there structure in a collapsible > view when working in the views area? > What I imagine is the ability to see the structure of the variables that > I pass to that

[web2py:18608] appadmin query

2009-03-25 Thread chris
Hi, I was following along in the book with the images application and on page 58 I tried to filter the results using the query: db.image.title LIKE 'me%' it returns invalid query and no results. How can I use LIKE to search the database table of images? Chris --~--~-~--~~-

[web2py:18610] Re: DB Introspection: Finding Referenced Tables

2009-03-25 Thread mdipierro
yes. This should clarify it. if db.mytable.myfield.type[:10]='reference ': print db.mytable.myfield,'referenced',db.mytable.myfield.type[10:] for item in db.mytable.referenced_by: print db.mytable.id, 'referenced by field', item[1], 'in table', item[0] Massimo On Mar 25, 1:30 pm, Kent B

[web2py:18609] appadmin query

2009-03-25 Thread Chris
Hi, I was following along in the book (page 58) trying to filter a table using the query: db.image.title LIKE 'me%' That returns an error: Invalid Query. How can I use LIKE or a wildcard when searching a table? Thanks, Chris --~--~-~--~~~---~--~~ You received t

[web2py:18611] Re: Question about compile and performance

2009-03-25 Thread mdipierro
I agree with Tim. If you run the bytecode compiled version in production there is no parsing overhead. On Mar 25, 1:37 pm, Timothy Farrell wrote: > I just took a look at this thread. > >  > Chameleon is a generic byte-code compiler for attribute template > languages > > This is not web2py templ

[web2py:18612] Re: Multi Column Unique Key, how to code best in web2py?

2009-03-25 Thread johann . scheibelhofer
Massimo, thanks to your code example I managed to get this somehow into the model side of things. Reason is because for later maintenance I think that multi column unique keys should be set/managed on database/model layer. 1) I had to 'exclude' the checking of the current record - hence only che

[web2py:18613] Re: cache.ram Questions

2009-03-25 Thread mdipierro
You should never access the cache internals like x = cache.ram.storage['myObj'][1] # DON'T because it is not thread safe. You should have something like: def makeMe(): return cStringIO.StringIO() def getMe(): x = cache.ram("myObj", lambda:makeMe(), 5) response.headers['Content-Ty

[web2py:18614] Re: appadmin query

2009-03-25 Thread mdipierro
rows=db(db.image.title.like('me%')).select() On Mar 25, 1:20 pm, Chris wrote: > Hi, > > I was following along in the book (page 58) trying to filter a table > using the query: db.image.title LIKE 'me%' > > That returns an error: Invalid Query. How can I use LIKE or a wildcard > when searching a

[web2py:18615] Re: Multi Column Unique Key, how to code best in web2py?

2009-03-25 Thread mdipierro
oops. I was wrong. not > SQLFORM(,onvalidation=my_check) but form.accepts(request.vars,session,onvalidation=my_check) Massimo On Mar 25, 8:56 am, mdipierro wrote: > My suggestion is use the validators for the drop box only, define > > def my_check(form): >     if db( (db.shap

[web2py:18616] Re: Database in web2py

2009-03-25 Thread Vidul Petrov
You should use SQLDB to create a database connection. In your model (models/db.py most probably): SQLDB('mysql://username:passw...@localhost:3306/the_name_of_the_db') On Mar 25, 8:53 pm, dave_mcgee wrote: > Hi there. > > I have a MySQL database in my web2py environment. > > I wish for an exter

[web2py:18617] Re: Multi Column Unique Key, how to code best in web2py?

2009-03-25 Thread mdipierro
Thanks for the code you posted. Yes, something like this should be included in web2py. Let me give it some more thought. Validators are not applied by import_from_csv_file because the CSV format is not the same as the forms. Massimo On Mar 25, 2:44 pm, johann.scheibelho...@easytouch-edv.com wro

[web2py:18618] Re: Trouble with images

2009-03-25 Thread Doug Cuthbertson
Massimo, Yes, I'm uploading from the admin/default/design/TestBlog page. Here's what I've tried: web2py: versions 1.58 and 1.59 binary and I even downloaded the source from SVN this afternoon and ran from that with no difference. OS: Windows XP SP3 Home Edition, and W2K3 SP2. I normally run fro

[web2py:18619] Re: appadmin query

2009-03-25 Thread Chris
Great. Thanks. On Mar 25, 3:54 pm, mdipierro wrote: > rows=db(db.image.title.like('me%')).select() > > On Mar 25, 1:20 pm, Chris wrote: > > > Hi, > > > I was following along in the book (page 58) trying to filter a table > > using the query: db.image.title LIKE 'me%' > > > That returns an error

[web2py:18620] Re: Multi Column Unique Key, how to code best in web2py?

2009-03-25 Thread johann . scheibelhofer
Thanks Massimo! Forgive me my ignorance but I thought that the data definition (including validators) in the model layer is the default way the framework defines and validates the data before sending it to the associated database. Like the model defines data + data validators while forms and othe

[web2py:18621] web2py daemon script for archlinux

2009-03-25 Thread mgbeli...@gmail.com
Hello all, I'm a web developer just getting my feet wet with web2py. I just wrote my own daemon for web2py for the archlinux distribution which I am using, so I though I'd share it in hopes that you'd bundle it with the whole package. It's not tested on any other distro besides archlinux, but

[web2py:18622] link with image

2009-03-25 Thread LordMax
Hi to all I'm absolutely new to web2py and I'm in front of a little problem. I need to make a list of image, every image is a link to another page of the app. I've tried this: {{=A('', _href=URL(r=request, f='but1'}} where "but1" is my controlles on the default.py page Where I'm wrong? Can you

[web2py:18623] Re: web2py daemon script for archlinux

2009-03-25 Thread Boris Manojlovic
Hi Matt, first and most important problem is; your starting web2py with root privileges which is no no :), second on slackware if my memory serves me well it's support for SYSV type of script was very bad (long time ago...) third stat_busy and other functions are not portable between distributions

[web2py:18624] Re: Registration email on GAE

2009-03-25 Thread murray3
I have spent a some time looking into this and accordingly found there is an ongoing bug with GAE dev_appserver.py (SDK) that prevents python from sending emails using smtp. The alternative is to use sendmail or MTA compatible. Trouble is I am developing on winXP and the only sendmail clones are v

[web2py:18625] Re: link with image

2009-03-25 Thread _oluseun
Try this: {{=TD(A(IMG(_src=URL(r=request,c='static',f='but1.gif')),_href=URL (r=request,f='but1')))}} or {{=A(IMG(_src=URL(r=request,c='static',f='images/1f2.jpg')),_href=URL (r=request,f='contact'))}} --~--~-~--~~~---~--~~ You received this message because you

[web2py:18626] Re: link with image

2009-03-25 Thread _oluseun
Try this: {{=TD(A(IMG(_src=URL(r=request,c='static',f='but1.gif')),_href=URL (r=request,f='but1')))}} or {{=A(IMG(_src=URL(r=request,c='static',f='images/1f2.jpg')),_href=URL (r=request,f='contact'))}} You mentioned a list of images. If you plan on iterating over a list of image urls (associ

[web2py:18627] Re: link with image

2009-03-25 Thread _engenheiro
Try this: {{=TD(A(IMG(_src=URL(r=request,c='static',f='but1.gif')),_href=URL (r=request,f='but1')))}} or {{=A(IMG(_src=URL(r=request,c='static',f='images/1f2.jpg')),_href=URL (r=request,f='contact'))}} You mentioned a list of images. If you plan on iterating over a list of image urls (associ

[web2py:18628] Re: Simplest patch ever - view the view

2009-03-25 Thread mr.freeze
That's funny, I thought of the patch after watching the same video. Are you talking about tracking the actual caret position of the textarea in the session then scrolling to that position when the user re-visits the same page? That could be handy. On Mar 25, 9:03 am, AchipA wrote: > A thought af

[web2py:18629] Re: web2py daemon script for archlinux

2009-03-25 Thread Vidul Petrov
Hello Matt, I allowed myself some changes, mostly related to portability (the script is supposed to be "/usr/bin/web2py.py" or somewhere else in $PATH): #!/bin/bash prog=`basename $0` cd `pwd` chmod +x $prog function web2py_start { nohup ./$prog -a "" 2>/dev/null & if [ ! -z "`pgrep $pr

[web2py:18630] Re: Question about compile and performance

2009-03-25 Thread Iceberg
Thanks very much for your general guidelines about performance, Tim and Massimo! On Mar26, 3:39am, mdipierro wrote: > I agree with Tim. If you run the bytecode compiled version in > production there is no parsing overhead. > > On Mar 25, 1:37 pm, Timothy Farrell wrote: > > > @Iceberg: I suggest

[web2py:18631] Re: jquery jqGrid JSON url problem

2009-03-25 Thread ed
Hi Mike, I would like to thank you for the example source code. The first web2py & jqGrid integration source code. This a great help for those who are interested in this JQuery plugin. Regards, Ed On Mar 25, 9:46 pm, Mike wrote: > Hi Ed... > > I'm no expert but here's what I'm doing for the URL,

[web2py:18632] Re: Trouble with images

2009-03-25 Thread mdipierro
Which browser? Have you tried more than one? Massimo On Mar 25, 3:22 pm, Doug Cuthbertson wrote: > Massimo, > Yes, I'm uploading from the admin/default/design/TestBlog page. Here's > what I've tried: > > web2py: versions 1.58 and 1.59 binary and I even downloaded the source > from SVN this afte

[web2py:18633] Re: Multi Column Unique Key, how to code best in web2py?

2009-03-25 Thread mdipierro
There are various reasons: Consider the case of a date. The data coming from a form depends on the user's locale and therefore the validator needs to know the format IS_DATE(format='%m/%d/%Y) etc. Instead the data stored in a CSV has to be independent on the locale and must follow a convention (f

[web2py:18634] Re: Registration email on GAE

2009-03-25 Thread mdipierro
just comment auth.settings.mailer=mailer when on dev_appserver On Mar 25, 6:07 pm, murray3 wrote: > I have spent a some time looking into this and accordingly found there > is an ongoing > bug with GAE dev_appserver.py (SDK) that prevents python from sending > emails using > smtp. The alternat

[web2py:18635] Re: web2py daemon script for archlinux

2009-03-25 Thread mdipierro
can you please email it to me. Thanks. On Mar 25, 8:38 pm, Vidul Petrov wrote: > Hello Matt, > > I allowed myself some changes, mostly related to portability (the > script is supposed to be "/usr/bin/web2py.py" or somewhere else in > $PATH): > > #!/bin/bash > > prog=`basename $0` > > cd `pwd` >

[web2py:18636] Re: creating stand-alone apps of web2py

2009-03-25 Thread Iceberg
I have sent my current progress, a little web2py plugin, to Massimo for a review. It might take a couple days I think. The plugin can work now. But I am looking forward to simplify it further, if Massimo agrees to let web2py_win.zip has a native "web2py- no-console.exe" together with the current

[web2py:18637] Re: Feature Req: varialbes passed when editing view.

2009-03-25 Thread Jason Brower
I suppose that works. I knew that before, I just thought it would be nice to have in the interface. Another way to do it would be to have it in the auto-complete of amy editor, if that's possible. Regards, Jason Brower On Wed, 2009-03-25 at 12:32 -0700, mdipierro wrote: > Place this in the view

[web2py:18638] Re: cache.ram Questions

2009-03-25 Thread Iceberg
On Mar26, 2:56am, Mark Larsen wrote: > > Also is the cache object unique for each session?  Does Web2py have any > concept of a shared cache for all sessons? > I share what I just test, and what I do not know, and hope some expert can confirm them. Cache object seems unique for each session. I

[web2py:18639] Re: cache.ram Questions

2009-03-25 Thread Vidul Petrov
Hi Iceberg, >From what I saw, the cache object is not unique, it's that the samle has "time_expire=5" and most probably you've loaded the page on the 2nd browser for more than 5 seconds. In addition a test made on two boxes with something like: def mycache(): import time t=cache.ram(

[web2py:18640] Re: cache.ram Questions

2009-03-25 Thread Iceberg
Shame on me~~~ for my stupid typo. Actually I did exactly same test as Petrov did, on my local machine, before my last post. Yes, cache object looks NOT unique for each session. Thanks Petrov. *^_^* Still, I am not sure whether the cache object is unique for each application. It seems it is uniqu