[web2py:31577] web shell interface buggy

2009-09-23 Thread Richard
self._db._execute(query) File "/home/web2py/gluon/sql.py", line 770, in self._execute = lambda *a, **b: self._cursor.execute(*a, **b) InterfaceError: cursor already closed Has anyone else experienced these kind of problems? In case it matters, my web2py instance is hosted with Apache and

[web2py:31578] Re: export database timeout error

2009-09-23 Thread Richard
specifically, using "python web2py.py --import_models --no-cron -- shell=myapp" Then making an expensive database query to export the database. On Sep 18, 10:02 am, Richard wrote: > no - from command line. > > On Sep 16, 2:37 pm, mdipierro wrote: > > > You are not

[web2py:31582] Re: web shell interface buggy

2009-09-23 Thread Richard
yeah, that session was with postgres. On Sep 24, 11:59 am, mdipierro wrote: > Yes. It is buggy. I have not got to the bottom of it. Have you tried > it with anything other than sqlite? > > Massimo > > On Sep 23, 7:59 pm, Richard wrote: > > > I tried using the web s

[web2py:31654] Re: How personalize submit button?

2009-09-24 Thread Richard
bmit', _value='new submit label') ) Have you got the manual to check out the examples in chapter 7? If not you can view it online: http://www.scribd.com/doc/19211452/Web2py-Manual Richard On Sep 25, 1:31 pm, Alexandre Andrade wrote: > I cant figure how to do it with > form =

[web2py:31655] Re: How personalize submit button?

2009-09-24 Thread Richard
I somehow missed the custom form section in the manual - thanks for the example. On Sep 25, 2:16 pm, weheh wrote: > I do this with factory: > > #view > {{=form.custom.begin}} > {{=INPUT(_type='image',value='submit',_src=URL > (r=request,c='static',f='image.gif')}} > > {{=form.custom.end}} > >

[web2py:31735] migrating to GAE questions

2009-09-26 Thread Richard
ine/docs/python/urlfetch/overview.html#Fetching_URLs_in_Python Also is there anything preventing web2py.com migrating to GAE? As I write this web2py.com is down... Richard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

[web2py:31745] Re: migrating to GAE questions

2009-09-27 Thread Richard
On Sep 27, 3:01 pm, mdipierro wrote: > > I changed my belongs statements like this: > > db(db.test.id.belongs(test_ids)).select() - > [db.test[id] for id in > > test_ids] > > Is there a better way? > > db(db.test.id.belongs(test_ids)).select(orderby=db.test.id) are you sure "belongs" works on GA

[web2py:31746] Re: migrating to GAE questions

2009-09-27 Thread Richard
AE has added batch get/put/delete operations that could be > implemented. insert/update is already supported on GAE, so what would get/put add? Richard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users

[web2py:31769] Re: migrating to GAE questions

2009-09-27 Thread Richard
> > for a standard database (eg postgres) "belongs" would be faster, > > right? Because I am using this same code for both GAE and a Linux box. > > Yes a relational database can do this in 1 query, GAE would require N > queries or 1 batch get by id. exactly. To get optimized code on both platform

[web2py:31821] Re: Logging module

2009-09-28 Thread Richard
I have found that logging is effected by the server you are using. For the builtin web2py server my logging works, but for Apache with WSGI the logging gets redirected to standard error. Is the logging being redirected to your server error/output log files? Richard On Sep 28, 10:32 pm, Roar

[web2py:31822] Re: Web2py on Sharedhost

2009-09-28 Thread Richard
hi Chris, I also ran into this belongs annoyance and have opened a ticket for it: http://code.google.com/p/web2py/issues/detail?id=56 Richard On Sep 29, 7:23 am, Chris S wrote: > Would this be the same for FastCGI?  Simply rename and add a > handler? > I've been trying GAE an

[web2py:31823] Re: Web2py on Sharedhost

2009-09-28 Thread Richard
> Other hosts, such as webfaction, and mediatemple.net are good, but because of > the price, I wouldn't go with them until you know for sure thats what your > app needs. are you sure? Dreamhost is $8.95/month, and Webfaction is $8.50/month on a year plan or $5.50/month for long term. On Sep 2

[web2py:31835] Re: Web2py on Sharedhost

2009-09-28 Thread Richard
Dreamhost is $10.95/month if you pay monthly (+ $49.95 setup fee), so you should probably use that figure when comparing to other companies monthly rates... My main problem is memory use (rather than bandwidth or disk space) - do you know how much memory you can use on that plan? Richard On

[web2py:31844] Re: Web2py on Sharedhost

2009-09-28 Thread Richard
I wouldn't go with them until you know for sure thats what your app needs. what did you mean "because of the price"? - Webfaction is cheaper than Dreamhost. Richard On Sep 29, 11:57 am, Thadeus Burgess wrote: > Unlimited memory usage, however they will kill your process if

[web2py:31897] Re: pay on-line

2009-09-29 Thread Richard
I am looking at the Django attempt: http://github.com/johnboxall/django-paypal This project has an active forum so it looks promising. If anyone wants to collaborate getting a decent paypal solution for web2py, please contact me. Richard On Sep 30, 2:42 am, Sophie wrote: > Hi, i have to pay

[web2py:31967] Re: app engine data model best practices

2009-09-30 Thread Richard
to be locked into GAE if their service plans change for the worse. Richard On Oct 1, 8:55 am, AndrewLoot wrote: > Developers in the two different paradigms SQL vs GAE have different > concerns. I have no knowledge of all the things that the web2py DAL > does but it seems to me it has

[web2py:32068] Re: Javascript in one file

2009-10-01 Thread Richard
you can also offload some of the javascript by loading jquery from google: http://code.google.com/apis/ajaxlibs/documentation/index.html#jquery http://encosia.com/2008/12/10/3-reasons-why-you-should-let-google-host-jquery-for-you/ Richard On Oct 2, 12:51 am, Pynthon Pynthon wrote: > He

[web2py:32097] Re: Proposal for plugin system in web2py - RFC

2009-10-02 Thread Richard
I think this is great. I often need to reuse components and currently am using a very crude IFRAME system. On Oct 1, 5:09 am, Massimo Di Pierro wrote: > Here is a video explaining the proposal > >      http://vimeo.com/6836681 > > Attached is a document containing the proposal, the code, and  

[web2py:32098] Re: Proposal for plugin system in web2py - RFC

2009-10-02 Thread Richard
perhaps to address plugins polluting the rest of the codebase, the admin interface could support adding and removing of plugins. On Oct 2, 2:41 am, Yarko Tymciurak wrote: > I generally like the concept, but am uncomfortable with the structure (or > lack of) of the plugin. > > For example -  plu

[web2py:32180] Re: web2py + pyjamas desktop = a desktop framework?

2009-10-04 Thread Richard
I previously embedded web2py in a desktop app. But I wanted a more professional container than the users default web browser (with bookmarks, extensions, etc), so I ran it through webkit with pyqt. On Oct 3, 2:40 am, don wrote: > Please excuse my ignorance if this is a stupid question ... > > G

[web2py:32181] Re: anybody seen this?

2009-10-04 Thread Richard
yeah saw it on HN last week. Very polished - even the drop down menus are about the best I've seen. On Oct 4, 9:54 am, mdipierro wrote: > http://desktop.sonspring.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[web2py:32223] Re: file upload

2009-10-04 Thread Richard
thought I should point out that this functionality now exists: http://groups.google.com/group/web2py/browse_thread/thread/112e9a5e420db439 On Sep 15, 6:11 pm, Viablepanic wrote: > I have been looking for a similar feature. Pretty much the way weheh > describes it, and much for the same reason.

[web2py:32272] Re: drupal hooks

2009-10-05 Thread Richard
I agree Drupal modules work well - simple to install/use/uninstall and cover a wide range of functionality. Also Firefox extensions do a good job. On Oct 6, 7:32 am, mdipierro wrote: > I am not suggesting we implement hooks. > > I am pointing web2py users to a place where people have actually b

[web2py:32275] Re: newbie looking for style advice

2009-10-05 Thread Richard
ass temporary data in vars than store in session. Richard On Oct 6, 5:26 am, devnull wrote: > Below is the difficulty I was having getting request.vars to the > target of the redirect. [add] redirects to [add_2], and when it does, > request.vars doesn't have .x and .y ... ins

[web2py:32276] Re: anti spam, anti porn strategy?

2009-10-05 Thread Richard
I've used the recaptcha built in to auth_user registration and it worked well. Is it easy to integrate with other forms? On Oct 6, 1:34 am, david bain wrote: > implementing a captcha or recaptcha based system should help. > > On Mon, Oct 5, 2009 at 9:27 AM, Web2py-SuperFan wrote: > > > Hi all,

[web2py:32331] Re: help on sending email on gae

2009-10-06 Thread Richard
It's not documented in the manual, but I think you need: mail.settings.server = 'gae' Also make sure the sender email is your gmail account, because GAE has restriction on the from address: http://code.google.com/appengine/docs/python/mail/emailmessagefields.html On Oct 6, 5:01 pm, vneve wrot

[web2py:32333] Re: anti spam, anti porn strategy?

2009-10-06 Thread Richard
rds, > Jason > > On Oct 6, 7:17 am, Richard wrote: > > > I've used the recaptcha built in to auth_user registration and it > > worked well. Is it easy to integrate with other forms? > > > On Oct 6, 1:34 am, david bain wrote: > > > > implementing a captch

[web2py:32335] Re: Try out admin editor

2009-10-06 Thread Richard
I found the autosave feature often fails, but when I manually click the save button it usually succeeds. On Oct 6, 11:30 pm, Kuba Kucharski wrote: > Still the main problem with admin editor is this > wrong-refreshing/wrong-displaying trauma - never solved or did I miss smth ? > > On Oct 5, 2009

[web2py:32358] Re: anti spam, anti porn strategy?

2009-10-06 Thread Richard
oh, because of the keyword "p*rn" in the title! haha On Oct 7, 10:13 am, Richard wrote: > what do you mean? > > On Oct 6, 6:44 pm, encompass wrote: > > > Just as a side note, I wanted to inform you that web2py groups is now > > on the ban list of my business.

[web2py:32440] Re: advice on the routes py and database queries.

2009-10-07 Thread Richard
is that the proper way to do it, having a separate controller for each operation? The routes approach sounds more flexible. Richard On Oct 7, 12:23 pm, Mengu wrote: > massimo, > > actually this wasn't what i am asking, but thank you for showing > another way for it. i have my

[web2py:32467] Re: web2py wiki

2009-10-08 Thread Richard
w the edit link through the _pages list view. And when I click on the edit link I get a Redirect Loop error - "Firefox has detected that the server is redirecting the request for this address in a way that will never complete." Richard On Oct 8, 12:57 pm, Álvaro Justen [Turicas] wrote: &

[web2py:32470] Re: Mac Theme

2009-10-08 Thread Richard
nice - I prefer it to the default theme. On Oct 8, 9:50 am, Alex Fanjul wrote: > Yes of course. > Here it is. > > Alex F > > El 07/10/2009 20:50, mdipierro escribió: > > > > > Could you email it to me as a zip? I have problems with rar. sorry. > > > On Oct 7, 11:55 am, Alex Fanjul  wrote: > > >

[web2py:32527] Re: web2py wiki

2009-10-08 Thread Richard
> I really don't know much about GAE. > Can you help in this issue? yeah sure, I'll have a look. On Oct 9, 7:28 am, Álvaro Justen [Turicas] wrote: > On Thu, Oct 8, 2009 at 09:27, Richard wrote: > > > It's great when people from the community take ownershi

[web2py:32528] how to determine whether file was uploaded

2009-10-08 Thread Richard
use it will still be True when no file is uploaded. Can anyone else confirm whether this is broken? My current work around is: try: request.vars.filename = request.vars.image.filename except AttributeError: pass Richard --~--~-~--~~~---~--~~ You receive

[web2py:32587] Re: web2py wiki

2009-10-09 Thread Richard
uploaded to GAE here: http://web2py-wiki.appspot.com/wiki The first page I accessed threw an error but worked on a refresh. How do I create a developer user, apart from using appadmin? On Oct 9, 9:36 am, Richard wrote: > > I really don't know much about GAE. > > Can you h

[web2py:32694] Re: please check trunks

2009-10-11 Thread Richard
cached uploads with progress bar - sounds useful. Are there any examples available how to use it? Richard On Oct 12, 8:52 am, Alex Fanjul wrote: > You are forgetting plugin support (even its not completed at all), I > tried with Ajax=true and it worked Massimo. > Alex F > > E

[web2py:32695] Re: hg and google

2009-10-11 Thread Richard
is web2py going to move to mercurial on Google Code? There was talk about this a few months back. On Oct 11, 3:16 am, mdipierro wrote: > http://googlecode.blogspot.com/2009/10/mercurial-server-side-clone-su... --~--~-~--~~~---~--~~ You received this message becau

[web2py:32773] Re: please check trunks

2009-10-12 Thread Richard
found it: http://groups.google.com/group/web2py/browse_thread/thread/e5e38fca6fa3f378 On Oct 12, 10:09 am, mdipierro wrote: > Yes there is a recent thread on that although I cannot find it right > now. > > On Oct 11, 5:51 pm, Richard wrote: > > > cached uploads with

[web2py:32817] Re: FYI: Ext JS Designer Preview

2009-10-13 Thread Richard
very promising. Looks like it has been inspired by Qt Designer. Is there anything equivalent for JQuery? Richard On Oct 14, 4:31 am, mikech wrote: > Looks > interesting:http://www.extjs.com/blog/2009/10/08/ext-js-designer-preview/ --~--~-~--~~~---~--~---

[web2py:32818] Re: Interesting Javascript Project

2009-10-13 Thread Richard
if they could support the basic Python language and then use pypy for the standard libraries, this could be really awesome. On Oct 12, 5:40 pm, Thadeus Burgess wrote: > It's python, with a javascript compiler! So you can write python client side > code. > > I just thought this was a very intere

[web2py:32819] Re: hg and google

2009-10-13 Thread Richard
ly I would prefer Google Code because I am used to it and know it works. Richard On Oct 13, 12:13 pm, Yarko Tymciurak wrote: > can you be more specific?  There is no review process in place the likes of > code review on google, and that would go a LONG way to our being able to > take i

[web2py:32828] incoming email on GAE

2009-10-13 Thread Richard
The new GAE supports incoming email: http://googleappengine.blogspot.com/2009/10/app-engine-sdk-126-released-with.html Would support for this be possible/practical through web2py, or is it too domain specific? Richard --~--~-~--~~~---~--~~ You received this

[web2py:32919] Re: Field functions

2009-10-14 Thread Richard
yeah I agree. Currently when I want functions like average I have to write it in Python anyway, so it would be good to use the database when possible. Richard On Oct 14, 2:34 pm, Thadeus Burgess wrote: > Could we write python wrappers around the functions that are not supported > fo

[web2py:32920] Re: FYI: Ext JS Designer Preview

2009-10-14 Thread Richard
does jquery ui have an IDE for drag and drop? That's what I'm after. On Oct 14, 1:15 pm, Thadeus Burgess wrote: > I would say query ui would be the closest thing as of right now. > > -Thadeus > > On Tue, Oct 13, 2009 at 6:29 PM, Richard wrote: > > > very

[web2py:32921] Re: A simple patch to provide upload progress

2009-10-14 Thread Richard
hello, I noticed copystream_progress() in trunk. Is there an example how to use it? Richard On Oct 11, 6:43 am, mdipierro wrote: > @AndCycle > > I rearranged the code in trunk a bit. Could you check it still works? > Thanks again. > > Massimo > > On Oct 8,

[web2py:32931] Re: A simple patch to provide upload progress

2009-10-14 Thread Richard
is this it? http://pastebin.com/f69e7b008 On Oct 15, 11:55 am, mdipierro wrote: > I remember the author of the patch posted an example but I cannot find > it. I hope he will step in and point us to it. > > Massimo > > On Oct 14, 7:43 pm, Richard wrote: > >

[web2py:32973] website creator app

2009-10-15 Thread Richard
nough flexibility when editing the theme. And I find too much overhead with typical CMSs like Joomla/Drupal/etc. What do you recommend - is there anything available that I could build on? regards, Richard --~--~-~--~~~---~--~~ You received this message because yo

[web2py:32984] Re: website creator app

2009-10-15 Thread Richard
hmm that looks interesting. Is there a plan for t3? I haven't heard much about it lately. Richard On Oct 16, 12:03 pm, mdipierro wrote: > look into web2py.appspot.com/t3 > > On Oct 15, 7:23 pm, Richard wrote: > > > hello, > > > I am after a simple website crea

[web2py:32988] vim for the admin editor

2009-10-15 Thread Richard
Might be a nice extension for the admin editor: http://gpl.internetconnection.net/vi/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.co

[web2py:32989] Re: website creator app

2009-10-15 Thread Richard
awesome! I can wait a bit before needing to roll my own, so do you have any expected dates for a stable API? Richard On Oct 16, 2:08 pm, mdipierro wrote: > For me t3 is dead because it does not the new Mail/Auth/Sevice/Crud > but my plan to graw t4: > > http://www.mail-archiv

[web2py:/] Re: vim for the admin editor

2009-10-18 Thread Richard
ir liking, > > and at the least of cases use "It's all text" or something similar to > > edit things in their favourite editor. > > > Don't get me wrong, I'd love to have it there, its just that if I have > > to choose between someone putting their effort

[web2py:33112] Re: A simple patch to provide upload progress

2009-10-18 Thread Richard
t.json necessary? It will use generic.json by default. Richard On Oct 17, 3:59 am, AndCycle wrote: > http://www.web2pyslices.com/main/slices/take_slice/10 > > anyway, I have done the sample, any comment? :~ > > On Oct 16, 11:39 pm, AndCycle wrote: > > > would y

[web2py:33176] more specific IS_INT_IN_RANGE / IS_FLOAT_IN_RANGE error message

2009-10-19 Thread Richard
hello, I find the validator error "too small or too large" too general. Ideally they should return "not a number" if the int/float cast fails, or "too big" / "too small" when out of range. Would this work with the current API, or does each validator need

[web2py:33177] Re: belongs() in GAE

2009-10-19 Thread Richard
it's harder than it looks to implement a BELONGS wrapper properly for GAE. For instance the sorting would have to be done in Python. But I'd be happy with basic BELONGS support on GAE without these frills. Richard On Oct 19, 5:26 pm, william wang <7be...@gmail.com> wrote: > Hi ev

[web2py:33178] Re: A simple patch to provide upload progress

2009-10-19 Thread Richard
No, nothing is uploaded. The progress bar shows NaN (divide by zero error), then the page submits but the file is not uploaded. I'll check the uploaded example - thanks for that. Richard On Oct 20, 6:32 am, mdipierro wrote: > does upload work? This assumes cache.ram is working so it w

[web2py:33184] Re: more specific IS_INT_IN_RANGE / IS_FLOAT_IN_RANGE error message

2009-10-19 Thread Richard
thanks - that is a neat work around Massimo. On Oct 20, 3:53 pm, mdipierro wrote: > True but than one would need to pass two error messages. You can pipe > two validators > > [IS_MATCH('\-?\d+',error_message='not a number'),IS_INT_IN_RANGE > (0,100)] >

[web2py:33185] Re: more specific IS_INT_IN_RANGE / IS_FLOAT_IN_RANGE error message

2009-10-19 Thread Richard
I agree, "Please input a number between %(min)s and %(max)s" is an improvement over the current default. On Oct 20, 4:38 pm, Iceberg wrote: > > On Oct 19, 11:00 pm, Richard wrote: > > > > hello, > > > > I find the validator error "too small or too

[web2py:33237] Re: Komodo IDE web2py Setup

2009-10-20 Thread Richard
Komodo is my main editor for web2py, so thanks for the tip. I don't like putting that in all my files though... Have asked how to do this properly on their forum: http://community.activestate.com/forum/implicit-python-code-completion Richard On Oct 21, 3:57 am, rondevu wrote: > Well

[web2py:33238] Re: another plea for help

2009-10-20 Thread Richard
given w2p file plugin. If the plugin already exists it will be overwritten. """ ... And do you also need remove_plugin(plugin_name)? Richard On Oct 20, 4:53 am, mdipierro wrote: > We really need a method to pack and unpack plugins, i.e. all files in > "youa

[web2py:33278] Re: another plea for help

2009-10-20 Thread Richard
> even better if w2p_filepath unambiguously define the plugin_name That would be good, but people will likely distributed plugins with filenames like "myplugin_v0.1.w2p" (like apps currently are). In such a case would it be more sensible to generate "myplugin" or "m

[web2py:33371] pure python solution to convert well formed XHTML to PDF

2009-10-21 Thread Richard
o PDF? thanks, Richard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to

[web2py:33372] Re: Autoretry Datastore Timeout Exceptions on GAE

2009-10-21 Thread Richard
sounds great! All my GAE web2py apps have low access rates so I haven't experienced these kind of problems. Have you faced other challenges? Richard On Oct 22, 9:05 am, Robin B wrote: > If you have been running an application on GAE in production, and you > inspect your logs, you

[web2py:33379] Re: pure python solution to convert well formed XHTML to PDF

2009-10-21 Thread Richard
y,  you could ask them to simply print to PDF and save > it themselves. There are several free PDF printer drivers and we have > used this easy solution very effectively internally.  I just > circulated a few instructions and our users got on with it -- saved me > a headache! > >

[web2py:33380] Re: pure python solution to convert well formed XHTML to PDF

2009-10-21 Thread Richard
ou can write a mapper and I would > be suprised if somebody has not already made one. > > On Oct 21, 7:11 pm, Richard wrote: > > > hello, > > > I am after a pure Python solution (for the GAE) to convert web pages > > to PDF. > > > I had a look at reportlab

[web2py:33389] Re: pure python solution to convert well formed XHTML to PDF

2009-10-21 Thread Richard
) etc." Sounds like just what I am after. On Oct 22, 1:20 pm, mdipierro wrote: > It only relies on PIL you need to import images into documents. > It has some optional c modules for speed buth works without those. > > On Oct 21, 8:42 pm, Richard wrote: > > > Is reportla

[web2py:33391] Re: Komodo IDE web2py Setup

2009-10-21 Thread Richard
hey Ranjeev, I got web2py autocompletion working! Just waiting for feedback from Todd and a place to put it. There is a Google Code project for Django integration with Komodo: http://code.google.com/p/django-komodo-kit/ Maybe it's worth starting one for web2py too... Richard On Oct 21,

[web2py:33392] Re: A simple patch to provide upload progress

2009-10-21 Thread Richard
I got the same problem with the example from AndCycle, using the builtin web2py server. Can anyone else get it working? If so what setup do you have? Richard On Oct 20, 3:40 pm, Richard wrote: > No, nothing is uploaded. Theprogressbar shows NaN (divide by zero > error), then the page s

[web2py:33405] Re: A simple patch to provide upload progress

2009-10-22 Thread Richard
my file is just a few MB. That's interesting about the browser limitation... Has anyone got this to work on Linux? As you suggest, I'll try debugging deeper into gluon to see what is going on. Richard On Oct 22, 8:30 pm, AndCycle wrote: > found a article about this,http://ww

[web2py:33468] Re: Komodo IDE web2py Setup

2009-10-22 Thread Richard
I have uploaded my web2py extension file to that thread (http:// community.activestate.com/files/codeintel_web2py.py_.txt). Let me know if you have problems getting it working - so far I have only tested it on my own Linux box. Richard On Oct 22, 5:11 pm, Richard wrote: > hey Ranjeev, &g

[web2py:33475] Re: Komodo IDE web2py Setup

2009-10-22 Thread Richard
good idea - I have updated and tested it. I have been using web2py in Komodo for a year now without autocompletion, so this feels so cool! Can you think of other ways to improve productivity with web2py in Komodo? Richard On Oct 23, 12:24 pm, rondevu wrote: > Thank you very much. This

[web2py:33476] Re: Komodo IDE web2py Setup

2009-10-22 Thread Richard
(btw you need to refresh the URL to see updates) On Oct 23, 12:42 pm, Richard wrote: > good idea - I have updated and tested it. > I have been using web2py in Komodo for a year now without > autocompletion, so this feels so cool! > > Can you think of other ways to improve pr

[web2py:33487] Re: difference between fields= [] and Fields = []

2009-10-22 Thread Richard
he "Fields" argument is not part of the API so will be ignored. Richard On Oct 23, 1:57 pm, "hamdy.a.farag" wrote: > Hi, > > supposing I've a function in my controller as follows > > def new_recipe(): >     form = SQLFORM(db.recipe, fields= ['title'

[web2py:33499] Re: Komodo IDE web2py Setup

2009-10-23 Thread Richard
formed, try to sendit again as attachement to be sure. > thanks for your inputs, > alex f > > El 23/10/2009 3:43, Richard escribió: > > > > > (btw you need to refresh the URL to see updates) > > > On Oct 23, 12:42 pm, Richard  wrote: > > >> good

[web2py:33665] my-sticky-note

2009-10-25 Thread Richard
hello, I came across http://my-sticky-note.appspot.com, which is a web2py app that uses some nice effects to manage sticky notes. The code is available here: http://code.google.com/p/my-sticky-note/ Are the people behind it here? Richard

[web2py:33677] Re: my-sticky-note

2009-10-25 Thread Richard
thanks - the google group search is terrible... On Oct 26, 10:42 am, "mr.freeze" wrote: > Yes, here is the original > post:http://groups.google.com/group/web2py/browse_thread/thread/7ab15bb8e6... > > On Oct 25, 6:33 pm, Richard wrote: > > > hello, >

[web2py:33682] Re: A simple patch to provide upload progress

2009-10-25 Thread Richard
it better to update the controller/view to avoid NaN? Richard On Oct 22, 11:52 pm, Richard wrote: > my file is just a few MB. That's interesting about the browser > limitation... > > Has anyone got this to work on Linux? > > As you suggest, I'll try debugging d

[web2py:33689] Re: web2py certificates RFC

2009-10-25 Thread Richard
kownledge -> knowledge Does contributing to web2py mean submitting accepted patches, or more general? Richard On Oct 26, 3:26 pm, mdipierro wrote: > A user asked for a web2py certificate. So I thought about this: > > https://web2py.com/certificate/default/contributor/1https:

[web2py:33690] GAE caching

2009-10-25 Thread Richard
setting "migrate=False"? thanks, Richard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this

[web2py:33782] Re: gae "like" operator

2009-10-26 Thread Richard
g u"\ufffd" represents the largest possible Unicode character. When the property values are sorted in an index, the values that fall in this range are all of the values that begin with the given prefix. """ How does the DAL support LIKE on GAE? Richard On Oct 26, 10:11 pm,

[web2py:33855] Google Groups is Dead

2009-10-27 Thread Richard
Interesting article from John Resig of JQuery fame: http://ejohn.org/blog/google-groups-is-dead/ Is it really this bad Massimo? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this gr

[web2py:33857] Re: GAE caching

2009-10-27 Thread Richard
is it possible to get web2py on GAE as responsive as Slicehost? (See Thadeus' app: surrenderthebooty.thadeusb.com) On Oct 26, 4:42 pm, Richard wrote: > I noticed my GAE app is slow for the first webpage I load, but snappy > for subsequent webpages. > So it seems there is a

[web2py:33886] Re: GAE caching

2009-10-27 Thread Richard
2009 at 6:57 PM, mdipierro wrote: > > > I do not know. > > > On Oct 27, 6:51 pm, Richard wrote: > > > is it possible to get web2py on GAE as responsive as Slicehost? (See > > > Thadeus' app: surrenderthebooty.thadeusb.com) > > > > On Oct 26, 4:42

[web2py:33901] GAE "DALRef" error

2009-10-28 Thread Richard
se) File "/web2py/gluon/globals.py", line 347, in _try_store_in_db record_id = table.insert(**dd) File "/web2py/gluon/contrib/gql.py", line 250, in insert rid = DALRef(tmp.key().id()) NameError: global name 'DALRef' is not defined Richard --~--~-~-

[web2py:33902] Re: image manipulation

2009-10-28 Thread Richard
in the upload part of the controller you could create different sized images with PIL. On Oct 28, 6:55 pm, Pepe wrote: > Hello! > > somebody know how to make versions of images upon upload? something > like "full-image", "medium-image" and "thumbnail" ?? > > thanks! --~--~-~--~~

[web2py:33904] Re: GAE caching

2009-10-28 Thread Richard
that's really useful - thanks Robin! if Python handlers last ~15 seconds then wouldn't cron be fast enough (at 1/sec)? Task queue is labelled experimental so I am wary to use it at the moment. Richard On Oct 28, 4:13 pm, Robin B wrote: > > How long does it stay cached? >

[web2py:33993] Re: Google Groups is Dead

2009-10-28 Thread Richard
I > > > > wouldn't > > > > > > "throw > > > > > > > > > the baby out with the bathwater". I find mailing lists to be > > > > > > > > > very > > > > > > > > valuable. &

[web2py:33994] Re: GAE caching

2009-10-28 Thread Richard
The docs say a task will run when resources are free. In your experience do the tasks generally run on time? Also how would you make a task run periodically? My understanding is they are for one off events and cron is for periodic. Richard On Oct 28, 11:23 pm, Robin B wrote: > Oops typo

[web2py:33996] Re: new web2py book in the works?

2009-10-28 Thread Richard
yep I can confirm it - I got the 2nd edition (PDF) for free On Oct 29, 9:07 am, Jason Brower wrote: > If you buy the book once, you get the "upgrades" for free. :P > Jason Brower > > On Wed, 2009-10-28 at 15:05 -0700, Nick wrote: > > Thanks Massimo, with the frequency of new releases, it seems

[web2py:33997] Re: yet more stuff in trunk

2009-10-28 Thread Richard
> row.b='xxx' > row.update_record() ### no arguments! nice On Oct 29, 2:32 am, mdipierro wrote: > You are right and it is still changing. Correction on previous post: > > ### given: > db=DAL('sqlite://storage') > db.define_table('a',Field('b')) > db.a.insert(b='aaa') > db.a.insert(b='aab') >

[web2py:34021] Re: GAE caching

2009-10-28 Thread Richard
neat - now I get it. That's a nice hack! Did you find that out from the Google App Engine group, or thought of it yourself? Richard On Oct 29, 10:29 am, Robin B wrote: > > The docs say a task will run when resources are free. In your > > experience do the tasks generally run

[web2py:34022] with_alias() name restrictions

2009-10-29 Thread Richard
y must be conflicting. What restrictions does the with_alias() argument have? Richard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegro

[web2py:34299] job board app

2009-10-31 Thread Richard
Hello, I am after a job board app. I remember discussion a few months back about creating a website for web2p jobs - did that get anywhere? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group

[web2py:34371] slider widget for integer input in form

2009-11-01 Thread Richard
? Can I somehow override the rendering of the integer input box to use a DIV instead? Thanks, Richard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email

[web2py:34377] Re: Multiple Requires criteria

2009-11-01 Thread Richard
I came across the same problem. I want the user to choose 1 or more items from the set. If I choose multiple=True it allows 0 or more selected, but if I add IS_NOT_EMPTY() then the drop down list is not used. Do I need to handle this use case explicitly in the controller? On Oct 14, 12:34 am,

[web2py:34537] Re: slider widget for integer input in form

2009-11-03 Thread Richard
need a value 0-100, but what about for an arbitrary range? The slider would need to take "min:0, max:10" arguments - could those values come from IS_INT_IN_RANGE()? On Nov 4, 9:35 am, "mr.freeze" wrote: > A little of both :) > > On Nov 3, 4:34 pm, Richard wrote

[web2py:34528] Multiple forms double submission

2009-11-03 Thread Richard
ent double submission with multiple forms. Thanks, Richard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe f

[web2py:34532] Re: slider widget for integer input in form

2009-11-03 Thread Richard
t; On Mon, Nov 2, 2009 at 5:41 AM, mr.freeze wrote: > > > > You can create a widget that has the slider div ,a hidden input, and a > > > script that puts the value of the slider in the input during the > > > slidestop event on the slider. > > > > On Nov 1, 7

[web2py:34531] Re: Multiple Requires criteria

2009-11-03 Thread Richard
> > On Nov 1, 9:40 pm, Richard wrote: > > > I came across the same problem. > > > I want the user to choose 1 or more items from the set. > > If I choose multiple=True it allows 0 or more selected, but if I add > > IS_NOT_EMPTY() then the drop down list

[web2py:34637] Re: Join web2py wave

2009-11-04 Thread Richard
I would invite you but it seems Google has temporarily disabled inviting: http://www.google.com/support/wave/bin/answer.py?hl=en&answer=162237 On Nov 5, 4:38 am, Thadeus Burgess wrote: > I would love to as well if I had an invitation. > > -Thadeus > > On Wed, Nov 4, 2009 at 9:58 AM, hcvst wrot

[web2py:34695] Re: Multiple forms double submission

2009-11-05 Thread Richard
That's good to hear. If session is not needed to prevent double submission then what does it do for a single form? Richard On Nov 6, 1:49 am, mdipierro wrote: > That is no longer an issue. > > On Nov 5, 6:07 am, Markus Gritsch wrote: > > > Some time ago I had the impr

<    1   2   3   4   5   6   7   8   9   10   >