Re: [web2py] Re: web2py on hostmonster

2010-03-11 Thread Vasile Ermicioi
No progress, now I am seeking for other hosting, if you have any progress please tell me -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to

Re: [web2py] Re: Caching at DAL level

2010-03-11 Thread Kuba Kucharski
you could probably use cache.disk with tmpfs(ram-disk) and this will result in caching in ram up to limited size using tmpfs is described here: http://www.web2py.com/AlterEgo/default/show/223 -- Kuba -- You received this message because you are subscribed to the Google Groups web2py-users

[web2py] Re: IS_IN_DB with auth.accessible_query

2010-03-11 Thread vihang
Thanks Mr. Freeze... I feel dumb after seeing this solution.. I haven't tried this yet, but can already see it working... On Mar 11, 4:00 am, mr.freeze nat...@freezable.com wrote: db.define_table('address',                 Field('id_client', db.client)) if auth.is_logged_in():

[web2py] Re: db select cache.ram.clear() and apache2 + wsgi not working

2010-03-11 Thread szimszon
Hm... After time I see that cache.disk.clear() isn't working with my wsgi setup too :( WSGIDaemonProcess web2py user=www-data group=www-data home=/usr/local/ web2py/ processes=5 maximum-requests=1 Need more testing to allocate the problem :-o On febr. 26, 09:10, mdipierro

[web2py] Re: trunkeylinux help

2010-03-11 Thread Mark Breedveld
I,ve tried to run the patch, but it stops on the following error. + echo 'downloading, installing and starting web2py' downloading, installing and starting web2py + echo === === + cd /home + mkdir www-data + cd

[web2py] Re: Web2py Plugin IRC Chat

2010-03-11 Thread Christopher Steel
Works on OS X + Firefox..C On Mar 10, 10:27 am, mr.freeze nat...@freezable.com wrote: Works for me. On Mar 10, 9:08 am, Thadeus Burgess thade...@thadeusb.com wrote: Odd, working for me. Anyone else having issues -Thadeus On Wed, Mar 10, 2010 at 3:52 AM, Tiago Almeida

[web2py] Wiki was down

2010-03-11 Thread Álvaro Justen [Turicas]
Hi people, yesterday I was notified via IRC that http://wiki.web2py.com/ was down. I fixed the error (yesterday) that was happening in my server and it is ok. I'm going to adding some features and creating a roadpmap to this app. If you could help or if you notice that wiki is down or there is

Re: [web2py] Wiki was down

2010-03-11 Thread Mariano Reingart
On Thu, Mar 11, 2010 at 9:51 AM, Álvaro Justen [Turicas] alvarojus...@gmail.com wrote: Hi people, yesterday I was notified via IRC that http://wiki.web2py.com/ was down. I fixed the error (yesterday) that was happening in my server and it is ok. I'm going to adding some features and creating

[web2py] Re: Caching at DAL level

2010-03-11 Thread mdipierro
Nice! On Mar 11, 2:58 am, Kuba Kucharski kuba.kuchar...@gmail.com wrote: you could probably use cache.disk with tmpfs(ram-disk) and this will result in caching in ram up to limited size using tmpfs is described here:http://www.web2py.com/AlterEgo/default/show/223 -- Kuba -- You received

[web2py] Re: db select cache.ram.clear() and apache2 + wsgi not working

2010-03-11 Thread mdipierro
very odd. This is the function gluon/cache.py that is supposed to do the clearing: def clear(self, regex=None): locker = open(self.locker_name,'a') portalocker.lock(locker, portalocker.LOCK_EX) storage = shelve.open(self.shelve_name) if regex == None:

[web2py] Re: session.forget() on GAE

2010-03-11 Thread chris p
What is the best way to do that (and keep it compatible for not GAE deployments)? On Mar 10, 11:40 am, mdipierro mdipie...@cs.depaul.edu wrote: session.forget() does not remove the session record on GAE because it is created in order to get a session_id. It just prevents the write of the data

[web2py] Re: trunkeylinux help

2010-03-11 Thread mdipierro
http://groups.google.com/group/web2py/browse_thread/thread/930f29b5e363d93c# You need to run this from a turnkey instance because of the pam settings. You also need to apply it using the turnkey patch command. On Mar 11, 6:20 am, Mark Breedveld m.breedv...@solcon.nl wrote: I,ve tried to run the

[web2py] Re: Caching at DAL level

2010-03-11 Thread mdipierro
On a second read. Most of it is useful but probably the last line is not what users want. The effect would not be to cache db(...).select(cache=), instead the effect would be to store the entire database in RAM. If the server goes down the data is lost. Web2py already provides this

[web2py] Re: web2py.com is down !!?!

2010-03-11 Thread mr.freeze
I confirmed with our network admin that it is not being blocked outbound here. On Mar 9, 9:24 am, mdipierro mdipie...@cs.depaul.edu wrote: I thought I did fix that and I added you to the whitelist. I will take a second look. Massimo On Mar 9, 9:10 am, mr.freeze nat...@freezable.com wrote:

[web2py] Re: An SQL Query Question for DAL

2010-03-11 Thread Mengu
Anyone has any other way for writing that query? Massimo, wouldn't you accept this as a patch? -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send

Re: [web2py] Re: Caching at DAL level

2010-03-11 Thread Thadeus Burgess
Too bad we can specify to cache.disk where we want it to store... -Thadeus On Thu, Mar 11, 2010 at 9:14 AM, mdipierro mdipie...@cs.depaul.edu wrote: On a second read. Most of it is useful but probably the last line is not what users want. The effect would not be to cache

Re: [web2py] Re: An SQL Query Question for DAL

2010-03-11 Thread Thadeus Burgess
I like it, much cleaner, and what I would expect. -Thadeus On Thu, Mar 11, 2010 at 9:18 AM, Mengu whalb...@gmail.com wrote: Anyone has any other way for writing that query? Massimo, wouldn't you accept this as a patch? -- You received this message because you are subscribed to the

[web2py] Re: turnkeylinux help

2010-03-11 Thread Mark Breedveld
I have an Turnkey instance ready and try it as soon as possible. greetings, Mark, On 11 mrt, 16:07, Massimo Di Pierro mdipie...@cs.depaul.edu wrote: Try this  web2py_patch.zip 3KWeergevenDownloaden -- You received this message because you are subscribed to the Google Groups

[web2py] Re: An SQL Query Question for DAL

2010-03-11 Thread mr.freeze
I like this too. Could we go one step further and add an 'as' to Field class? db.table.field.as('t') On Mar 11, 9:35 am, Thadeus Burgess thade...@thadeusb.com wrote: I like it, much cleaner, and what I would expect. -Thadeus On Thu, Mar 11, 2010 at 9:18 AM, Mengu whalb...@gmail.com wrote:

[web2py] no more cherrypy wsgiserver

2010-03-11 Thread mdipierro
We moved from cherrypy wsgiserver to Rocket, by Timothy Farrell. I included an older version, need to include the latest one. It needs to be tested but let's wait I post the latest version before we do so. Why? @Tim, you made a very convincing case to me some time ago. Can you share your

[web2py] Re: Caching at DAL level

2010-03-11 Thread mdipierro
posting to trunk On Mar 11, 9:34 am, Thadeus Burgess thade...@thadeusb.com wrote: Too bad we can specify to cache.disk where we want it to store... -Thadeus On Thu, Mar 11, 2010 at 9:14 AM, mdipierro mdipie...@cs.depaul.edu wrote: On a second read. Most of it is useful but probably the

[web2py] Re: An SQL Query Question for DAL

2010-03-11 Thread mdipierro
as is a reserved keyword in Python. We need to use with_alias instead (we do it for Table already). I'd take a patch but this needs to be tested, I am not sure what it may break. Also we need to patch both sql.py and dal.py and they are different. Massimo On Mar 11, 10:08 am, mr.freeze

Re: [web2py] no more cherrypy wsgiserver

2010-03-11 Thread Timothy Farrell
The code has changed since version 0.1, Let me re-run some benchmarks. I'll have time to tomorrow. For those curious, the basic difference is that Rocket handles a few concurrent connections as fast as wsgiserver and many concurrent connections much much faster. It's also smaller, with

[web2py] Re: turnkeylinux help

2010-03-11 Thread mdipierro
keep us posted. I had some problems with the one I posted: 1) the apt-get install get stuck and I have to restart a few times 2) it is supposed to use the PAM user password for admin but PAM does not seem to allow the app to login as root 3) I am using the LAPP appliance and phpPgAdmin does not

Re: [web2py] no more cherrypy wsgiserver

2010-03-11 Thread Albert Abril
Is Rocket a port of CherryPy? Or is made from zero? isn't 0.2 an earlier release yet? What's the principal difference from CherryPy? cleaner code, smaller.. and more? I'm questioning just for info of us the users, doesn't know so much about it. Thanks for all. Regatds!! On Thu, Mar 11, 2010 at

[web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread mdipierro
Tim can add more but here is my impression. Cherrypy has a pluses, it is fast and has been tested a lot, but has some minuses too, it is hard to read, does not work with python 3.0 and requires OpenSSL. I tried to rewrite with gluon/sneaky, which also was 2x faster than cherrypy's but did not

Re: [web2py] no more cherrypy wsgiserver

2010-03-11 Thread Timothy Farrell
One at a time: Is Rocket a port of CherryPy? Or is made from zero? No, it's my own code from the ground up. I did consult wsgiserver code in some areas, but I think that anyone who would examine the code would be satisfied to say it is not a derivative work. isn't 0.2 an earlier release

Re: [web2py] Re: Caching at DAL level

2010-03-11 Thread Kuba Kucharski
Thx, Massimo, this is exactly what I was trying to say.. I didn't know about 'memory:' when writing my entry, so I will try to edit this alterego, I tried to cover both cases in alterego and in my reply to this thread I was pointing only one of them, that is where confusion came from On 11 Mar

[web2py] Re: Caching at DAL level

2010-03-11 Thread mdipierro
Anyway, in trunk you can do from gluon.cache import CacheOnDisk cache.disk = CacheOnDisk(folder='/the/memory/mapped/folder') On Mar 11, 11:06 am, Kuba Kucharski kuba.kuchar...@gmail.com wrote: Thx, Massimo, this is exactly what I was trying to say.. I didn't know about 'memory:' when writing

[web2py] Re: web2py.com is down !!?! No. but the firewall is blocking some users.

2010-03-11 Thread mdipierro
just changing subject title... ... while I look on firewall settings. On Mar 11, 9:17 am, mr.freeze nat...@freezable.com wrote: I confirmed with our network admin that it is not being blocked outbound here. On Mar 9, 9:24 am, mdipierro mdipie...@cs.depaul.edu wrote: I thought I did fix

[web2py] web2py at Flourish

2010-03-11 Thread mdipierro
http://www.flourishconf.com/flourish2010/node/7#web2py we are also planning a sprint for the afternoon to write code for a non-profit (suggestions appreciated). if you are around Chicago you are welcome to participate to both workshop and sprint. Flourish is a free conference organized by

Re: [web2py] no more cherrypy wsgiserver

2010-03-11 Thread Jonathan Lundell
On Mar 11, 2010, at 8:59 AM, Timothy Farrell wrote: One at a time: Is Rocket a port of CherryPy? Or is made from zero? No, it's my own code from the ground up. I did consult wsgiserver code in some areas, but I think that anyone who would examine the code would be satisfied to say it

Re: [web2py] Re: Caching at DAL level

2010-03-11 Thread Kuba Kucharski
Neat. On 11 Mar 2010 18:13, mdipierro mdipie...@cs.depaul.edu wrote: Anyway, in trunk you can do from gluon.cache import CacheOnDisk cache.disk = CacheOnDisk(folder='/the/memory/mapped/folder') On Mar 11, 11:06 am, Kuba Kucharski kuba.kuchar...@gmail.com wrote: Thx, Massimo, this is exa...

[web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread mdipierro
He explained it partially here: https://launchpad.net/rocket/+announcements We will stress-test it with different browsers anyway. Massimo On Mar 11, 11:28 am, Jonathan Lundell jlund...@pobox.com wrote: On Mar 11, 2010, at 8:59 AM, Timothy Farrell wrote: One at a time: Is Rocket a

[web2py] Re: auth expiring sessions too fast

2010-03-11 Thread Ted G
I'm seeing this behaviour as well (on GAE live but not SDK). In my case sessions are in memcache not db. Can't pinpoint when it started but noticed it earlier this week. Haven't updated web2py in quite some time (I've been running 1.65.11). On Mar 10, 4:47 pm, Richard richar...@gmail.com wrote:

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread Jonathan Lundell
On Mar 11, 2010, at 9:50 AM, mdipierro wrote: He explained it partially here: https://launchpad.net/rocket/+announcements We will stress-test it with different browsers anyway. I'm personally not that concerned. My point is that saying 0.x raises all sorts of red flags for

Re: [web2py] no more cherrypy wsgiserver

2010-03-11 Thread Timothy Farrell
snip For a production system, I'm more interested in stability than performance. And despite the admitted arbitrariness of version-numbering choices, it's hard to make the case to management that moving to an 0.x server is safe. What do *you* mean by labeling Rocket 0.x? That's a fair

[web2py] Re: auth expiring sessions too fast

2010-03-11 Thread mdipierro
How are you doing this? web2py does not provide an API to store sessions in memcache. If you have implemented it perhaps we should include it in web2py so I can help debug it if there is a problem. On Mar 11, 12:04 pm, Ted G tedg...@gmail.com wrote: I'm seeing this behaviour as well (on GAE live

Re: [web2py] Re: Caching at DAL level

2010-03-11 Thread Kuba Kucharski
How do I get my security code for editing an alterego? -- Kuba On Thu, Mar 11, 2010 at 6:33 PM, Kuba Kucharski kuba.kuchar...@gmail.com wrote: Neat. On 11 Mar 2010 18:13, mdipierro mdipie...@cs.depaul.edu wrote: Anyway, in trunk you can do from gluon.cache import CacheOnDisk

[web2py] Re: Caching at DAL level

2010-03-11 Thread mdipierro
I emailed it to you On Mar 11, 12:38 pm, Kuba Kucharski kuba.kuchar...@gmail.com wrote: How do I get my security code for editing an alterego? -- Kuba On Thu, Mar 11, 2010 at 6:33 PM, Kuba Kucharski kuba.kuchar...@gmail.com wrote: Neat. On 11 Mar 2010 18:13, mdipierro

[web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread mdipierro
Rocket 0.3.1 is IN. Please download from trunk and start testing. Use this code db.define_table('image',Field('upload')) Please test upload and download of a large files via appadmin into image table. Please let us know which browser you tested and whether it worked or you experience any

[web2py] problem customizing auth

2010-03-11 Thread kike
I need customice a auth tables and send me a ticket when I do that here is the code I wrote and the ticket send to my by web2py: from gluon.tools import * auth=Auth(globals(),db) # authentication/ authorization

[web2py] Re: problem customizing auth

2010-03-11 Thread mdipierro
db.define_table( auth.settings.table_user_name, not auth.define_tables ( auth.settings.table_user_name, On Mar 11, 12:40 pm, kike eacarm...@estudiantes.uci.cu wrote: I need customice a auth tables and send me a ticket when I do that here is the code I wrote and the ticket send to my by

[web2py] need help with mercurial configuration - apache/ hgweb/ static files

2010-03-11 Thread snfctech
I've got mercurial set up and working with ScriptAlias /hg /var/www/ cgi-bin/hgweb.cgi, which generates HTML that looks for static files in /hg/static - which I assume is passing static/... to the CGI script for handling, right? I'm getting 403/permission errors for the hgweb stylesheets - so

[web2py] IS_DATE bug introduced with rev.242

2010-03-11 Thread DenesL
The changes made to IS_DATE in rev.242 (workaround to problem with year1900) are buggy. Example: requires=IS_DATE(format=%A) with today's date will show 'Saturday' instead of 'Thursday' because the formatter is changing the year to 2000. Denes. -- You received this message because you are

[web2py] Should IS_TIME accept format?

2010-03-11 Thread DenesL
Currently IS_TIME does not a accept a format parameter, unlike IS_DATE or IS_DATETIME. This can be worked around in some cases by setting formatter to a lambda for example, but was this an omission? Should it have format? I could create a patch later. Denes. -- You received this message

[web2py] Re: IS_DATE bug introduced with rev.242

2010-03-11 Thread mdipierro
Ouch. fixed in trunk for year1900. The week-day will be wrong before that. it should be easy to fix in general but we need a algorithm that tells me which year between 2000 and 2006 has the same week-days as the year1900. The calendar was reformed in 1582 so I am not sure we should support dates

[web2py] Re: Should IS_TIME accept format?

2010-03-11 Thread mdipierro
I do not know. The problem is that the JS may not work with other formats. On Mar 11, 2:03 pm, DenesL denes1...@yahoo.ca wrote: Currently IS_TIME does not a accept a format parameter, unlike IS_DATE or IS_DATETIME. This can be worked around in some cases by setting formatter to a lambda for

[web2py] Re: problem customizing auth

2010-03-11 Thread kike
I do that but don't work, now send this ticket web2py and I cant resolve: Traceback (most recent call last): File /home/kike/prueba/web2py lin/gluon/restricted.py, line 173, in restricted exec ccode in environment File /home/kike/prueba/web2py lin/applications/SBDV/models/db.py, line 33,

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread Timothy Farrell
Slight correction: db.define_table('image',Field('upload', 'upload')) I have successfully up- and downloaded files as large as 480MB and apps as large as 160MB (any larger apps crashed on unzipping). In all cases I was testing over HTTPS. -tim On 3/11/2010 1:04 PM, mdipierro wrote:

[web2py] Re: problem customizing auth

2010-03-11 Thread mdipierro
db.define_table( auth.settings.table_user_name, Not db.define_tables( auth.settings.table_user_name, On Mar 11, 2:17 pm, kike eacarm...@estudiantes.uci.cu wrote: I do that but don't work, now send this ticket web2py and I cant resolve: Traceback (most recent call last):   File

Re: [web2py] Re: Caching at DAL level

2010-03-11 Thread Kuba Kucharski
I had edited AlterEgo though slices are so much better nowadays http://www.web2pyslices.com/main/slices/take_slice/73 -- Kuba On Thu, Mar 11, 2010 at 8:01 PM, mdipierro mdipie...@cs.depaul.edu wrote: I emailed it to you On Mar 11, 12:38 pm, Kuba Kucharski kuba.kuchar...@gmail.com wrote:

[web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread mdipierro
Which browsers? The problem with cherrypy 3.x was for example that different browser treated in different ways the server delay and some browser truncated files on download. I want to make sure that all common browsers are tested. Massimo On Mar 11, 2:18 pm, Timothy Farrell tfarr...@swgen.com

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread Timothy Farrell
I tried larger files (2GB - 4.5GB) but Firefox wouldn't let me submit the form. Something about DVD images I suppose ;-) On 3/11/2010 2:18 PM, Timothy Farrell wrote: Slight correction: db.define_table('image',Field('upload', 'upload')) I have successfully up- and downloaded files as

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread Timothy Farrell
That was FF 3.6 on Win7. I'm going to try some less well behaved browsers (IE 5.5+ via IEtester) next. On 3/11/2010 2:21 PM, mdipierro wrote: Which browsers? The problem with cherrypy 3.x was for example that different browser treated in different ways the server delay and some browser

[web2py] Re: Caching at DAL level

2010-03-11 Thread mdipierro
I agree On Mar 11, 2:19 pm, Kuba Kucharski kuba.kuchar...@gmail.com wrote: I had edited AlterEgo though slices are so much better nowadays http://www.web2pyslices.com/main/slices/take_slice/73 -- Kuba On Thu, Mar 11, 2010 at 8:01 PM, mdipierro mdipie...@cs.depaul.edu wrote: I emailed it

Re: [web2py] no more cherrypy wsgiserver

2010-03-11 Thread Jonathan Lundell
On Mar 11, 2010, at 10:24 AM, Timothy Farrell wrote: For a production system, I'm more interested in stability than performance. And despite the admitted arbitrariness of version-numbering choices, it's hard to make the case to management that moving to an 0.x server is safe. What do

[web2py] Re: An SQL Query Question for DAL

2010-03-11 Thread mr.freeze
Mengu, one made one small change to your code for backwards compatibility (putting the value back into _extra). Other than that, I added a with_alias method to Expression so you can do: rows = db(db.stuff.id0).select(db.stuff.value.count().with_alias('mycount')) print rows.first().mycount I

[web2py] Re: An SQL Query Question for DAL

2010-03-11 Thread Mengu
hi mr. freeze, please go with it, i didn't start doing anything. :) On 11 Mart, 22:52, mr.freeze nat...@freezable.com wrote: Mengu, one made one small change to your code for backwards compatibility (putting the value back into _extra).  Other than that, I added a with_alias method to

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread Álvaro Justen [Turicas]
What about testing this with Selenium[1]? You can use many browsers as plugins (IE, Safari, Firefox etc.). There is a Python wrapper[2]. There is a project made by brazilians (at Globo.com) that translates natural language to Selenium commands, called pyccuracy[3] - it could help too. [1]

[web2py] Re: web2py on hostmonster

2010-03-11 Thread Jesse
I don't know if it will help you or not but I just went through this with Dreamhost. I summarized most of it at: http://wiki.dreamhost.com/Web2py My thread of questions are at:

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread Timothy Farrell
So I was testing with IE 5.5+. and I hit a bug uploading...but the bug is in IE. It kept failing on uploading very large files and I couldn't figure it out. Turns out, IE was sending this http header: Content-Length: -556031510 Oops. This is in IE 5.5 all the way to IE 8. I suspect that

[web2py] Google Checkout plugin

2010-03-11 Thread mat --
Hi It was mentioned last month that there is a new Google Checkout plugin under development. Is the new plugin the one available at http://web2py.com/appliances/default/show/43 ? http://web2py.com/appliances/default/show/43Thanks -- Mat -- You received this message because you are

[web2py] Re: need help with mercurial configuration - apache/ hgweb/ static files

2010-03-11 Thread snfctech
Nevermind. This wound up being a port issue. I'm serving my app on 8000 so I used http://myip:8000/hg to access hgweb. Using http://myip/hg allowed apache to read the static files. Don't know why http://myip:8000/hg didn't work, though. On Mar 11, 11:44 am, snfctech tschm...@sacfoodcoop.com

[web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread mdipierro
That is good enough. Don't we all love IE? When we discover bugs in our won code we can think of IE and feel better about ourselves. Massimo On Mar 11, 3:14 pm, Timothy Farrell tfarr...@swgen.com wrote: So I was testing with IE 5.5+. and I hit a bug uploading...but the bug is in IE.  It kept

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread Albert Abril
well we shouln't worry a lot about IE 5.5, no? 5.5!! let me link this: http://farm4.static.flickr.com/3609/3629069606_3d1a1cd8fb_b.jpg On Thu, Mar 11, 2010 at 10:39 PM, mdipierro mdipie...@cs.depaul.edu wrote: That is good enough. Don't we all love IE? When we discover bugs in our won code

[web2py] Re: Google Checkout plugin

2010-03-11 Thread mdipierro
No. but the one posted there works. The new one is here http://web2py.com/plugins/static/plugins/web2py.plugin.google_checkout.w2p It is supposed to be much easier to use but needs some testing. Massimo On Mar 11, 3:15 pm, mat -- mat...@gmail.com wrote: Hi It was mentioned last month that

[web2py] KeyError while submitting a form

2010-03-11 Thread MarKco
Hi to everyone, I know this issue probably is not so fresh and new, but please take a look anyway. I searched for the solution a lot in the newsgroup, the wiki, the book and some tutorials but couldn't find the place where I went wrong. The situation is the following: I have a web page

[web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread mdipierro
LOL. The problem Tim reported, as he indicates, also exists for subsequent IE version. I am sure cherrypy chokes on that too so this is not an issue. On Mar 11, 3:51 pm, Albert Abril albert.ab...@gmail.com wrote: well we shouln't worry a  lot about IE 5.5, no?  5.5!! let me link

[web2py] Re: Should IS_TIME accept format?

2010-03-11 Thread DenesL
On a related note. It is easy to change formatter for requires whose fields come from tables that were defined in a model but I tried to set the formatter of a field created with SQLFORM.factory and it did not have any effect. I wonder why. On Mar 11, 3:10 pm, mdipierro mdipie...@cs.depaul.edu

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread Jonathan Lundell
On Mar 11, 2010, at 9:50 AM, mdipierro wrote: He explained it partially here: https://launchpad.net/rocket/+announcements We will stress-test it with different browsers anyway. Not just browsers, right, but backending other servers and server variations? (mod_wsgi, mod_proxy, nginx,

[web2py] Bug in DocTests?

2010-03-11 Thread Joschua
As example, when you look in the examples app in simple_examples.py and you execute the doctest, the docstrings in the controller hello4, hello5 and hello6 are recognized as doctests and passed. I think this is a bug (or is the doctest / web2py not able to check that, ?) -- You received this

Re: [web2py] Re: Google Checkout plugin

2010-03-11 Thread mat --
Thanks, Massimo. Will try to do some testing. On Thu, Mar 11, 2010 at 11:52 PM, mdipierro mdipie...@cs.depaul.edu wrote: No. but the one posted there works. The new one is here http://web2py.com/plugins/static/plugins/web2py.plugin.google_checkout.w2p It is supposed to be much easier to

[web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread mdipierro
mod_proxy yes. The other servers options do not use it. They do not use wsgiserver now. On Mar 11, 4:02 pm, Jonathan Lundell jlund...@pobox.com wrote: On Mar 11, 2010, at 9:50 AM, mdipierro wrote: He explained it partially here:    https://launchpad.net/rocket/+announcements We will

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread Jonathan Lundell
On Mar 11, 2010, at 2:07 PM, mdipierro wrote: mod_proxy yes. The other servers options do not use it. They do not use wsgiserver now. Right, thanks. On Mar 11, 4:02 pm, Jonathan Lundell jlund...@pobox.com wrote: On Mar 11, 2010, at 9:50 AM, mdipierro wrote: He explained it partially

[web2py] Re: Bug in DocTests?

2010-03-11 Thread mdipierro
I think that's doctest doing. If there is no actual test but there is a docstring, it is assumed pass. It may be web2py's too. I need to check. On Mar 11, 4:05 pm, Joschua cit_corperat...@gmx.net wrote: As example, when you look in the examples app in simple_examples.py and you execute the

[web2py] problem with apache2+mod_wsgi+debian+web2py

2010-03-11 Thread kike
I have some trouble to mount a web2py with apache2 and mod_wsgi in debian. -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to

[web2py] problem with apache2+mod_wsgi+debian+web2py

2010-03-11 Thread kike
I have some trouble to mount a web2py with apache2 and mod_wsgi in debian. -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to

[web2py] Re: Should IS_TIME accept format?

2010-03-11 Thread mdipierro
can you show an example and I will try? On Mar 11, 4:00 pm, DenesL denes1...@yahoo.ca wrote: On a related note. It is easy to change formatter for requires whose fields come from tables that were defined in a model but I tried to set the formatter of a field created with SQLFORM.factory and

[web2py] Re: KeyError while submitting a form

2010-03-11 Thread mdipierro
You have an old verison of sqlhtml but you discovered a bug and the bug persists in newer version. Can you try replace record_id = dict([(k,request_vars[k]) for k in self.table._primarykey]) with record_id = dict([(k,request_vars.get(k,None)) for k in self.table._primarykey]) Let us know if

Re: [web2py] Re: Google Checkout plugin

2010-03-11 Thread Thadeus Burgess
404 -Thadeus On Thu, Mar 11, 2010 at 3:52 PM, mdipierro mdipie...@cs.depaul.edu wrote: No. but the one posted there works. The new one is here http://web2py.com/plugins/static/plugins/web2py.plugin.google_checkout.w2p It is supposed to be much easier to use but needs some testing.

Re: [web2py] Re: Google Checkout plugin

2010-03-11 Thread Thadeus Burgess
http://web2py.com/plugins/static/web2py.plugin.google_checkout.w2p -Thadeus On Thu, Mar 11, 2010 at 6:13 PM, Thadeus Burgess thade...@thadeusb.com wrote: 404 -Thadeus On Thu, Mar 11, 2010 at 3:52 PM, mdipierro mdipie...@cs.depaul.edu wrote: No. but the one posted there works. The

Re: [web2py] Re: web2py.com is down !!?! No. but the firewall is blocking some users.

2010-03-11 Thread Alex Fanjul
Massimo might you share your blocking/firewall script with us? I was precisely hardening my VPS. Are you using it in VPS? Thanks Alex El 11/03/2010 18:15, mdipierro escribió: just changing subject title... ... while I look on firewall settings. On Mar 11, 9:17 am,

[web2py] Re: web2py.com is down !!?!

2010-03-11 Thread mr.freeze
Massimo has a script that blocks IPs of things it interprets as denial of service attacks, including crawling content without obeying robots.txt. I am building an experimental search engine at work and accidentally bypassed robots.txt on one of the debug runs. I've been blocked ever since. Works

[web2py] Web2py Plugin IRC Chat Comments

2010-03-11 Thread Alex Fanjul
Very interesting and constructive IRC meeting, congrats to all. After reading all text I have some comments: - Most of the meeting (50% at least) was concerning about *how many and what databases should plugins have access to*...it seems the most headache for all, BUT, I'm pretty sure that

[web2py] two plugin approachs

2010-03-11 Thread Alex Fanjul
Hi Thadeus, For me, its much more clear to understand and code this one approach: http://code.google.com/p/blogitizor/source/browse/src/models/plugin_comments.py than this one: http://code.google.com/p/blogitizor/source/browse/src/modules/plugin_comments.py Maybe it's beacuse Im not a hard

[web2py] Re: Web2py Plugin IRC Chat Comments

2010-03-11 Thread mr.freeze
Personally, my more general concern was how to control which resources are available to plugins. I use web2py at work everyday in a true 'enterprise' setting. It is wired to several mission critical databases. The table schemas cannot be altered by plugins. These databases are separate from auth

[web2py] Re: code builder - kinda

2010-03-11 Thread Wes James
On Thu, Mar 11, 2010 at 9:13 PM, Wes James compte...@gmail.com wrote: I've been trying to figure out an easier way to have all web2py API's etc. at a coders finger tips.  I added some pieces to edit_area so that you can right-click in the edit_area text box and get a popup that you can select

[web2py] Re: Web2py Plugin IRC Chat Comments

2010-03-11 Thread mdipierro
I agree with most of what you say. 99.99% of apps use a single database and so will plugins. This is because they needs auth to do anything meaningful. I do not think it is a good idea to have plugins that depend on each other. dependencies are a mess to manage. In any language and any OS I ever

[web2py] Re: code builder - kinda

2010-03-11 Thread mr.freeze
Nice! One potential problem is that it interferes with other right- click functions (copy,paste,etc). Maybe it should be attached to a key combination instead? Anyway, very cool. On Mar 11, 10:21 pm, Wes James compte...@gmail.com wrote: On Thu, Mar 11, 2010 at 9:13 PM, Wes James

Re: [web2py] two plugin approachs

2010-03-11 Thread Thadeus Burgess
I will define the model approach as A and the modules approach as B. They both have pros and cons. file A follows more along the web2py idioms, in being implicit, your functions are just there, but on this same token you have namespace pollution, and a functional programming style. file B is

Re: [web2py] Re: web2py on hostmonster

2010-03-11 Thread Vasile Ermicioi
I am trying dreamhost now, on dreamhost it works. :) -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to