[web2py] Re: couchdb support again

2010-12-22 Thread David Marko
Also how can get the original CouchDB connection object so I can use CouchDB driver methods directly like attachment download/upload etc. Thank you, David

[web2py] Re: couchdb support again

2010-12-22 Thread David Marko
I have Couchdb 0.9dev-py-2.7 in windows and still have the same issue: VERSIONweb2py™Version 1.91.4 (2010-12-22 17:31:23)PythonPython 2.7.1: c:\python27\python.exeTRACEBACK 1. 2. 3. 4. 5. 6. 7. 8. 9. Traceback (most recent call last): File "c:\java\web2py\gluon\main.py", line 437, in wsgibase

[web2py] Re: The stability of web2py releases

2010-12-22 Thread Álvaro J . Iradier
Given the pace of quick adoption for new versions of web2py, I think it would be good enough to mark a new release (except if it's just a bug fix release) like "latest" or "edge release", and just keep the previous one as "recommended". After some days (for example one week), without new releases,

Re: [web2py] Re: use of 'timedelta' as a field

2010-12-22 Thread Sahil Arora
k thanks On Wed, Dec 22, 2010 at 11:06 PM, Luther Goh Lu Feng wrote: > Instead of using 3 fields, you could store everything in 1 field using > the lowest denomination of time that you will use, eg seconds. Then > use a function to convert the value of `seconds` to days, minutes, > hours. > > On

[web2py] Re: couchdb support again

2010-12-22 Thread mdipierro
h I think we do not have the same driver. Mine is called CouchDB-0.9dev-py2.5 On Dec 23, 1:05 am, ron_m wrote: > I copied the welcome application and put the above code into > models/couch_test.py and removed all other model files so there would be no > conflicts. This is in a clone of t

Re: [web2py] Re: form.accepts = False. How to find out why

2010-12-22 Thread Johann Spies
On 22 December 2010 22:36, Jonathan Lundell wrote: > > When accepts() returns False, look at form.errors. It's a dict (Storage, > actually, but you can treat it as a dict) that is keyed, typically, by field > names, with error messages as values. > > (accepts() will also return False before the f

Re: [web2py] Merry Christmas

2010-12-22 Thread ⎝⏠⏝⏠⎠ Kuldeep Singh PHP FreeLancer Web Develo per , SEO Services
Marry Christmas to all of you ...From Kaysellers.com On 23 December 2010 12:40, ma...@rockiger.com wrote: > Merry Christmas and a happy new your to all you web2py-contributors. > > You do an awesome work - everyone. > > > Marco > -- Kuldeep Singh... WebDeveloper And Freelancer Kay Sellers, Ow

Re: [web2py] Merry Christmas

2010-12-22 Thread Johann Spies
+1 Johann -- "For unto you is born this day in the city of David a Saviour, which is Christ the Lord."Luke 2:8-11

[web2py] Merry Christmas

2010-12-22 Thread ma...@rockiger.com
Merry Christmas and a happy new your to all you web2py-contributors. You do an awesome work - everyone. Marco

[web2py] Re: couchdb support again

2010-12-22 Thread ron_m
I copied the welcome application and put the above code into models/couch_test.py and removed all other model files so there would be no conflicts. This is in a clone of trunk updated by hg pull and hg update a few minutes ago. I get this traceback camcent...@dev64:~/Dev/web2py_hg$ python web2

[web2py] Re: Sharing sessions and authentication

2010-12-22 Thread mdipierro
Yes if they are providing registration/login/change password. If only one app provides registration/login/change password than it does not need to be the same. On Dec 23, 12:31 am, ron_m wrote: > Would this key have to be the same in all applications? > > auth.settings.hmac_key = 'sha512:63f0a5e7

[web2py] Re: Great summary of web2py

2010-12-22 Thread mdipierro
+1 I think we should go after PHP, ASP, JSP On Dec 22, 9:16 pm, VP wrote: > I've supported web2py for a long time.  But I think it's time to > rethink about PR. Frankly, I think this Flask/Django business is a > distraction.  I think Massimo should completely ignore and do not say > anything abo

Re: [web2py] Re: Sharing sessions and authentication

2010-12-22 Thread ron_m
Would this key have to be the same in all applications? from my last post doesn't read correctly. I mean the same hmac_key in your set of shared applications. Sorry the deleted posts showed up as duplicates, the web app was showing error #316 post failed and saying try again but then they were

Re: [web2py] Re: Sharing sessions and authentication

2010-12-22 Thread ron_m
Would this key have to be the same in all applications in your case? auth.settings.hmac_key = 'sha512:63f0a5e7-e395-4a28-8488-cf072a0464b6' # before define_tables() not the same as this particular one but consistent across all of the applications you have since you are sharing your auth_user

Re: [web2py] Re: uWSGI + Cherokee + web2py - a howto.

2010-12-22 Thread pbreit
I added instructions for SSL: http://web2pyslices.com/main/slices/take_slice/110 Seems to work OK.

[web2py] syntax checker won't let me save this

2010-12-22 Thread rāma
I tried to construct a validator: db.sender.keywords.requires = IS_IN_DB(db( db.auth_user.id=user_id ), db.userkeywords.keyword) I was able to do this in previous versions. Please help.

Re: [web2py] Re: The stability of web2py releases

2010-12-22 Thread Jonathan Lundell
On Dec 22, 2010, at 8:01 PM, Luther Goh Lu Feng wrote: > > To clarify, what I am saying is, no change to current release system, > except to label stable and testing branches. It's a little like the > branches of Debian Linux > http://wiki.linuxquestions.org/wiki/Debian#Stable.2C_Testing.2C_Unsta

[web2py] Re: The stability of web2py releases

2010-12-22 Thread Luther Goh Lu Feng
To clarify, what I am saying is, no change to current release system, except to label stable and testing branches. It's a little like the branches of Debian Linux http://wiki.linuxquestions.org/wiki/Debian#Stable.2C_Testing.2C_Unstable.2C_and_Experimental web2py probably don't need so many branch

[web2py] Re: The stability of web2py releases

2010-12-22 Thread Luther Goh Lu Feng
I think the suggested versioning works great What I suggest is perhaps label the latest release as the testing branch eg 1.91 is the testing branch. 1.90 will be the stable branch. These will of course increment by 0.01 in the next web2py release. In the admin panel, have the option for the user

[web2py] Re: Encountering problem with a computer field

2010-12-22 Thread Magnitus
Ah, ok. So basically, because the computed field is stored and updated during writes, it will get re-computed at every input (even if its dependencies are not changed) and expects its dependencies to be present in the input (ie, won't read the fields in the DB for missing values). I guess I shoul

[web2py] Re: Great summary of web2py

2010-12-22 Thread VP
I've supported web2py for a long time. But I think it's time to rethink about PR. Frankly, I think this Flask/Django business is a distraction. I think Massimo should completely ignore and do not say anything about Flask or Django.

[web2py] Re: The stability of web2py releases

2010-12-22 Thread VP
In my humble opinion, the word "Enterprise" demands a more systematic approach to dealing with this issue. I think the simplest way is perhaps has a numbering scheme that is understood by everyone. For example, increment the third number (e.g. from 1.90.2 to 1.90.3) only for bug fixes, and increm

[web2py] staging setup with apache2 and directive?

2010-12-22 Thread czamb
Hello web2py universe, does anybody have experience with a staging setup through apache mod_auth_basic or mod_auth_digest? I want to have some beta testers run a prototype. After entering username and password they should be able to use the app just as normal with internal authentication and so on

[web2py] Re: database query

2010-12-22 Thread czamb
Massimo, thanks for the quick reply, seems to work :) Regards czamb On 22 Dez., 02:21, mdipierro wrote: > If you have joins, I would do this: > > movies_with_activeTag=db(db.movies.id.belongs(db(db.link.tagID==id_of_activeTag)._select(db.link.movieID,groupby=db.link.movieID,orderby=db.link.movie

[web2py] DotCloud is Heroku with more options

2010-12-22 Thread pbreit
Could be an interesting deployment option for Web2py: http://www.dotcloud.com/

Re: [web2py] Re: Problem when trying to upload a file in web2py 1.90.4

2010-12-22 Thread Jonathan Lundell
On Dec 22, 2010, at 4:15 PM, mdipierro wrote: > > The problem is thet you have an upload field is a form that is not > connected to a database (because you are using a factory). web2py does > not know what to do with the file. You need to specify the > uploadfolder. It might not hurt to check thi

[web2py] Re: Problem when trying to upload a file in web2py 1.90.4

2010-12-22 Thread Charis
it worked. Thank you very much. On Dec 23, 12:15 am, mdipierro wrote: > The problem is thet you have an upload field is a form that is not > connected to a database (because you are using a factory). web2py does > not know what to do with the file. You need to specify the > uploadfolder. > > uf=o

Re: [web2py] Re: Sharing sessions and authentication

2010-12-22 Thread Marin Pranjic
No prob. I deleted all Recent history in browser, and tried again with the same result. Pretty sure it's not about cookies :) On Thu, Dec 23, 2010 at 1:20 AM, mdipierro wrote: > I cannot today but I will tomorrow. ;-) > > On Dec 22, 6:18 pm, Marin Pranjic wrote: > > Hi Massimo, > > > > I had th

[web2py] Re: Sharing sessions and authentication

2010-12-22 Thread mdipierro
I cannot today but I will tomorrow. ;-) On Dec 22, 6:18 pm, Marin Pranjic wrote: > Hi Massimo, > > I had that in mind already. And doublechecked. No sessions in folders. I > cleared the session table using appadmin on "shared". > Resulting: > Stil cannot login from "app1" to account created by "s

Re: [web2py] Re: Sharing sessions and authentication

2010-12-22 Thread Marin Pranjic
Hi Massimo, I had that in mind already. And doublechecked. No sessions in folders. I cleared the session table using appadmin on "shared". Resulting: Stil cannot login from "app1" to account created by "shared". I just created another account in "shared" registration forum. Cannot login from "app2

[web2py] Re: Problem when trying to upload a file in web2py 1.90.4

2010-12-22 Thread mdipierro
The problem is thet you have an upload field is a form that is not connected to a database (because you are using a factory). web2py does not know what to do with the file. You need to specify the uploadfolder. uf=os.path.join(request.folder,'uploads') form = SQLFORM.factory(Field('email','string'

[web2py] Re: Sharing sessions and authentication

2010-12-22 Thread mdipierro
This smells like a bug or web2py is picking up some leftover sessions from cookies. Try this: delete everything in the sessions/ folder of the three apps. If you still have the problem I will try reproduce the problem and fix it. Massimo On Dec 22, 5:40 pm, Marin Pranjic wrote: > Hi there, > I

[web2py] Re: Encountering problem with a computer field

2010-12-22 Thread mdipierro
The problem is that you have compute attribute set at table definition so web2py tries to use it at every insert and every update. Even if in your update you is has no knowledge of the previous Alias_ordinal because you only updating Number_of_posts. There are two solutions... set db.table.field.c

[web2py] Sharing sessions and authentication

2010-12-22 Thread Marin Pranjic
Hi there, I need to make few apps that will share sessions. For testing purposes, i have applications "shared", "app1" and "app2". In application "shared", i have: db = DAL('sqlite://storage.sqlite') session.connect(request, response, db = db) (...) in applications "app1" and "app2" i have:

[web2py] Encountering problem with a computer field

2010-12-22 Thread Magnitus
Hi, btw, I upgraded from 1.87 to 1.91 to see if the problem would get resolved and 1.91 is loading my pages significantly faster. Also, the revised version of the pdf manual is greatly superior to the original. Thank you for that. So, I tried to get fancy and use a computer field in my model and

[web2py] couchdb support again

2010-12-22 Thread mdipierro
This now works with dal in trunk: from gluon.dal import DAL, Field db=DAL('couchdb://127.0.0.1:5984') db.define_table('person',Field('name'),Field('age','integer',default=2)) id=db.person.insert(name='Jim') print id print db.person(id) print db(db.person.id==id).update(name="john", age=5) print db

Re: [web2py] Re: The stability of web2py releases

2010-12-22 Thread Plumo
agreed. Less overhead to releases means new features get added faster.

[web2py] couchdb support again

2010-12-22 Thread mdipierro
This now works with dal in trunk: from gluon.dal import DAL, Field db=DAL('couchdb://127.0.0.1:5984') db.define_table('person',Field('name'),Field('age','integer',default=2)) id=db.person.insert(name='Jim') print id print db.person(id) print db(db.person.id==id).update(name="john", age=5) print db

[web2py] Re: Full text search again

2010-12-22 Thread mdipierro
it is not full text search. The title is wrong. It is a way to for keywords in one or more fields. On Dec 22, 4:30 pm, weheh wrote: > Massimo, how is this full text search? It seems to search > db.data.title only? What if you had a file that you wanted to search? > Would you tokenize it as you di

[web2py] Re: Problem when trying to upload a file in web2py 1.90.4

2010-12-22 Thread Charis
I define the db using: db = DAL('sqlite://db.db') db.define_table('database', SQLField('email','string'), SQLField('data','upload') ) I create a form using form = SQLFORM.factory(db.database.email,db.database.data) The form appears correctly but

Re: [web2py] Re: The stability of web2py releases

2010-12-22 Thread Branko Vukelić
Shoot Massimo an e-mail. I'm sure he'd be happy to hear from you. On Wed, Dec 22, 2010 at 11:37 PM, Michael McGinnis wrote: > I'd like to help fix those typos. Let me know how I can get started. > > Michael McGinnis > michael.d.mcgin...@gmail.com > > On Dec 22, 4:01 pm, Stefaan Himpe wrote: >> >

[web2py] Re: The stability of web2py releases

2010-12-22 Thread Michael McGinnis
I'd like to help fix those typos. Let me know how I can get started. Michael McGinnis michael.d.mcgin...@gmail.com On Dec 22, 4:01 pm, Stefaan Himpe wrote: > > Is there a typo on this planet that can evade Anthony? :D > > While we're on the subject... *cough*experts4solutions.com*cough* > Its ty

[web2py] Re: Full text search again

2010-12-22 Thread weheh
Massimo, how is this full text search? It seems to search db.data.title only? What if you had a file that you wanted to search? Would you tokenize it as you did in your example? I'm going to run into this issue, soon. I want to search a database of documents (stored in files).

[web2py] Re: The stability of web2py releases

2010-12-22 Thread Stefaan Himpe
Is there a typo on this planet that can evade Anthony? :D While we're on the subject... *cough*experts4solutions.com*cough* Its typos still make my eyes bleed :p

Re: [web2py] Re: The stability of web2py releases

2010-12-22 Thread Branko Vukelić
On Wed, Dec 22, 2010 at 9:38 PM, Michele Comitini wrote: > Web2py supports unit testing.  Why not have an app with controller(s) > that can be tested for each solved bug? >  this would reduce at least regressions.  Kinda continuos integration system That also requires time and discipline, if I'm

Re: [web2py] Re: The stability of web2py releases

2010-12-22 Thread Michele Comitini
Web2py supports unit testing. Why not have an app with controller(s) that can be tested for each solved bug? this would reduce at least regressions. Kinda continuos integration system 2010/12/22 Jonathan Lundell : > On Dec 22, 2010, at 11:42 AM, mdipierro wrote: >> >> We can change the name. It

Re: [web2py] Re: form.accepts = False. How to find out why

2010-12-22 Thread Jonathan Lundell
On Dec 22, 2010, at 12:22 PM, Johann Spies wrote: > On 22 December 2010 21:32, mdipierro wrote: > I think because > > Field('id', requires = IS_IN_SET(ids), > > id in the form is a string and ids in the set are integers. > > > Thanks for your answer. Changing the definition to > > form = SQL

Re: [web2py] Simple debugger

2010-12-22 Thread Johann Spies
On 14 December 2010 06:45, Bruno Rocha wrote: > > At model defined: > > > #debugger > def dbg(*attributes): > print '---\n' > print attributes > while not raw_input('\nPRESS TO CONTINUE\n'): > break > > > > I get this when I use your code (and

[web2py] Full text search again

2010-12-22 Thread mdipierro
Somebody posted an interesting question on Stack Overflow: http://stackoverflow.com/questions/4512181/web2py-like-equivalents-with-google-app-engine/4513397#4513397 please please ... ask questions here.

Re: [web2py] Re: form.accepts = False. How to find out why

2010-12-22 Thread Johann Spies
On 22 December 2010 21:32, mdipierro wrote: > I think because > > Field('id', requires = IS_IN_SET(ids), > > id in the form is a string and ids in the set are integers. > > Thanks for your answer. Changing the definition to form = SQLFORM.factory(Field('id', 'integer', requires = IS_IN_SET(ids),

Re: [web2py] Re: The stability of web2py releases

2010-12-22 Thread Jonathan Lundell
On Dec 22, 2010, at 11:42 AM, mdipierro wrote: > > We can change the name. It is not truly a nigthly built. it is closer > to a release candidate even if the final release is not equivalent to > the latest nightly built. I'm sounding like a broken record here (remember those?), but in view of the

Re: [web2py] Re: The stability of web2py releases

2010-12-22 Thread Anthony
Please, don't encourage me. :D On Wednesday, December 22, 2010 3:13:32 PM UTC-5, stu...@brankovukelic.com wrote: > On Wed, Dec 22, 2010 at 8:47 PM, Anthony wrote: > > Oh, also, I noticed a typo on the website -- it says "Nightly Built" > instead > > of "Nightly Build". Maybe that's the problem

Re: [web2py] Re: The stability of web2py releases

2010-12-22 Thread Branko Vukelić
On Wed, Dec 22, 2010 at 8:47 PM, Anthony wrote: > Oh, also, I noticed a typo on the website -- it says "Nightly Built" instead > of "Nightly Build". Maybe that's the problem. ;-) Is there a typo on this planet that can evade Anthony? :D -- Branko Vukelic stu...@brankovukelic.com http://www.br

Re: [web2py] Re: The stability of web2py releases

2010-12-22 Thread Anthony
Oh, also, I noticed a typo on the website -- it says "Nightly Built" instead of "Nightly Build". Maybe that's the problem. ;-)

Re: [web2py] Re: The stability of web2py releases

2010-12-22 Thread Anthony
Also, you probably need some kind of announcement to prompt testing -- there's nothing prompting people to check the nightly build (or even to know when anything substantial has been added to it). When a new .1 release (e.g., 1.91.1) is announced (usually with a list of new features), that prom

[web2py] Re: The stability of web2py releases

2010-12-22 Thread mdipierro
We can change the name. It is not truly a nigthly built. it is closer to a release candidate even if the final release is not equivalent to the latest nightly built. On Dec 22, 1:31 pm, Branko Vukelić wrote: > On Wed, Dec 22, 2010 at 8:29 PM, mdipierro wrote: > > The idea was to have stable and

[web2py] Re: form.accepts = False. How to find out why

2010-12-22 Thread mdipierro
I think because Field('id', requires = IS_IN_SET(ids), id in the form is a string and ids in the set are integers. On Dec 22, 1:19 pm, villas wrote: > form.accepts is a filter that moves request.vars into form.vars after > parsing and also populates form.errors. > > Looking at form.errors shoul

Re: [web2py] Re: The stability of web2py releases

2010-12-22 Thread Vasile Ermicioi
that means we prefer a stable one :)

Re: [web2py] Re: The stability of web2py releases

2010-12-22 Thread Branko Vukelić
On Wed, Dec 22, 2010 at 8:29 PM, mdipierro wrote: > The idea was to have stable and nightly-build. The problem is that > very few people check the nightly build. Well, yeah, it's because it's sounds like a nightly TRUNK dump. :) It's better to make a 'incubation release' or something like that, s

[web2py] Re: The stability of web2py releases

2010-12-22 Thread mdipierro
The idea was to have stable and nightly-build. The problem is that very few people check the nightly build. On Dec 22, 11:17 am, pbreit wrote: > I do think at some point the concept of "stable" and "new" will be useful > for newer users. "stable" might be a loaded word so maybe just "recommended"

[web2py] Re: form.accepts = False. How to find out why

2010-12-22 Thread villas
form.accepts is a filter that moves request.vars into form.vars after parsing and also populates form.errors. Looking at form.errors should help. On Dec 22, 6:58 pm, Johann Spies wrote: > I have the following controller: > === > def show_fpipl01(): >        tabel = request.v

Re: [web2py] Re: The stability of web2py releases

2010-12-22 Thread Bruno Rocha
I see the need to organize a test team Some ideas: https://wiki.ubuntu.com/Testing https://wiki.ubuntu.com/Testing/LoCoTeam http://ubuntutesting.wordpress.com/2010/08/06/desktop-testing-team/ https://launchpad.net/~desktop-testing-team Or, we can organizze Local S

[web2py] form.accepts = False. How to find out why

2010-12-22 Thread Johann Spies
I have the following controller: === def show_fpipl01(): tabel = request.vars.tabel tb = tabel.lower() if auth.user_id in [21,22]: # Johann Spies (22) or ERA (21) rdata = db((db.service_provider.id == db[tb].service_provider)

Re: [web2py] Re: The stability of web2py releases

2010-12-22 Thread Branko Vukelić
On Wed, Dec 22, 2010 at 5:57 PM, Thadeus Burgess wrote: > The latter. > > No time to test aside from upgrading in production. Oh, but that's a bit upside down. web2py comes with no warranties, you should at least test it a bit before going live. And as a double-win, you also help judging the qual

[web2py] Re: try web2py with cherrypy, diesel, eventlet, fapws,flup, gnuicorn, paste, rocket, tornado, twisted, wsgiref

2010-12-22 Thread ron_m
This is very interesting. I tried all the web servers I have installed cherrypy, twisted, eventlet, rocket. The logs say the request service speed is all about the same but twisted seemed slower from an unscientific response time feel of the app. I load map images using IMG tags in the part of

[web2py] Re: Members database

2010-12-22 Thread pbreit
I would suggesting only using auth_user for people who register and need to log in. If you're just storing and publishing information like that, create a new table and don't worry about duplicate data. People might want to display a different contact email address anyway.

[web2py] Re: Members database

2010-12-22 Thread Luther Goh Lu Feng
I would use the auth_user table by customising it. For members not interested in logging in, I might create a field that flags such users. On Dec 22, 5:29 pm, Kenneth Lundström wrote: > Hello, > > a small design question. > > I m planing a intranet which contains a members database. Their postal

Re: [web2py] Re: The stability of web2py releases

2010-12-22 Thread Jonathan Lundell
On Dec 22, 2010, at 9:17 AM, pbreit wrote: > I do think at some point the concept of "stable" and "new" will be useful for > newer users. "stable" might be a loaded word so maybe just "recommended" or > something. One challenge will be how to process bug fixes on "stable". A > start may be the a

[web2py] Re: use of 'timedelta' as a field

2010-12-22 Thread Luther Goh Lu Feng
Instead of using 3 fields, you could store everything in 1 field using the lowest denomination of time that you will use, eg seconds. Then use a function to convert the value of `seconds` to days, minutes, hours. On Dec 22, 3:20 pm, ron_m wrote: > timediff is just 3 integers representing days, se

Re: [web2py] Version 1.91.1 GAE deployment, mkdir error

2010-12-22 Thread dcrodjer
thanks @Jonathan, It works!! Seems clean too!

[web2py] Re: Link to mod_wsgi.so download for py25 not working

2010-12-22 Thread pbreit
Might check here: http://code.google.com/p/modwsgi/wiki/DownloadTheSoftware?tm=2

Re: [web2py] Re: The stability of web2py releases

2010-12-22 Thread pbreit
I do think at some point the concept of "stable" and "new" will be useful for newer users. "stable" might be a loaded word so maybe just "recommended" or something. One challenge will be how to process bug fixes on "stable". A start may be the ability to specify a branch in admin. And new users

Re: [web2py] Version 1.91.1 GAE deployment, mkdir error

2010-12-22 Thread Jonathan Lundell
On Dec 22, 2010, at 9:05 AM, Jonathan Lundell wrote: > > On Dec 22, 2010, at 8:59 AM, dcrodjer wrote: >> So as a workaround what I am doing is: >> >> try: >>create_missing_folders() >> except AttributeError: >>pass >> >> >> Is this safe? Is there some other way that I can check if the

Re: [web2py] Version 1.91.1 GAE deployment, mkdir error

2010-12-22 Thread Jonathan Lundell
On Dec 22, 2010, at 8:20 AM, Jonathan Lundell wrote: > > I think that's right, Bruno. The missing-folder logic got factored out, > because it wasn't being invoked for any server except Rocket, but it > shouldn't run for GAE. However, we still want the sys.path logic, so the fix > should look mo

Re: [web2py] Version 1.91.1 GAE deployment, mkdir error

2010-12-22 Thread Jonathan Lundell
On Dec 22, 2010, at 8:59 AM, dcrodjer wrote: > So as a workaround what I am doing is: > > try: > create_missing_folders() > except AttributeError: > pass > > > Is this safe? Is there some other way that I can check if the environment is > gae as it seems the request variable is not ava

Re: [web2py] Re: The stability of web2py releases

2010-12-22 Thread Jonathan Lundell
On Dec 22, 2010, at 7:47 AM, Branko Vukelić wrote: > > 2010/12/22 Luis Díaz : >> >> in particular whenever new versions come out ... I always say ... have >> to wait 1 week or 2 to becomestable ... > > Not "become stable", but "be proven stable". You release, wait for > everyone to give it a go.

Re: [web2py] Version 1.91.1 GAE deployment, mkdir error

2010-12-22 Thread dcrodjer
So as a workaround what I am doing is: try: create_missing_folders() except AttributeError: pass Is this safe? Is there some other way that I can check if the environment is gae as it seems the request variable is not available in main.py .

[web2py] Great summary of web2py

2010-12-22 Thread Anthony
This is a great summary of the awesomeness that is web2py: http://www.reddit.com/r/Python/comments/eps76/web2py_1911_is_out_the_license_has_changed_to/ Sadly, reddit is downvoting again, but they can't stop us. :-) Anthony

Re: [web2py] Re: The stability of web2py releases

2010-12-22 Thread Thadeus Burgess
The latter. No time to test aside from upgrading in production. No time to develop a test application which can handle all of web2py features (including all DAL databases) No time to set up and maintain a server just for said tests. -- Thadeus 2010/12/22 Branko Vukelić > On Wed, Dec 22, 2

[web2py] Re: How to do this in web2py..?

2010-12-22 Thread Carlos
Hi, Maybe the following can help (with respect to one common form from multiple tables)?: http://www.web2pyslices.com/main/slices/take_slice/102 Good luck, Carlos On Dec 20, 10:47 pm, Fabiano wrote: > Hi Villas, > > yes, I know this concept, I have a good background in computer > science,

Re: [web2py] The stability of web2py releases

2010-12-22 Thread Anthony
On Wednesday, December 22, 2010 9:44:27 AM UTC-5, appydev wrote: > > Regards, > > Sometimes I notice that when an error is > detected in the stable,this is fixed in the trunk. On the > other hand, all the new featuresare included in the > trunk. New features bring new bugs, thus thetrunk will a

[web2py] Re: default values in options widget

2010-12-22 Thread Oleg
As far as I understood, the problem is that, it is not possible (??) in current web2py crud implementation to map one label in dropdown control to database NULL value. If you do IS_IN_SET({None:'Unknown','Opt1':'Opt1', 'Opt2':'Opt2'}, zero=None) and submit the 'Unknown', you become 'None' as str

[web2py] Link to mod_wsgi.so download for py25 not working

2010-12-22 Thread Rupesh Pradhan
The following link from the web2py online book is not working. http://adal.chiriliuc.com/mod_wsgi/revision_1018_2.3/mod_wsgi_py25_apache22/mod_wsgi.so Any alternate URL? Rupesh

Re: [web2py] Version 1.91.1 GAE deployment, mkdir error

2010-12-22 Thread dcrodjer
@Bruno, Thanks for the prompt reply I found the function you specified in admin.py, following the error. This won't work, the function needs the *request* var. So if not request.env.web2py_runtime_gae: can't be put there. Also I tried putting passing *request* as argument in * create_missing

Re: [web2py] Version 1.91.1 GAE deployment, mkdir error

2010-12-22 Thread Jonathan Lundell
On Dec 22, 2010, at 7:55 AM, Bruno Rocha wrote: > May be this line : > if not request.env.web2py_runtime_gae: > > > is missing in referred method. > > > Can you try to change the method for test? > > > IN main.py line 445 > > > > def create_missing_folders(): > for path in ('applicatio

[web2py] Re: country / state / city of the current visitor?

2010-12-22 Thread Carlos
Thank you all for your replies ! On Dec 20, 10:21 pm, Plumo wrote: > Or you could use this service and cache the > values:http://www.geobytes.com/IpLocator.htm?GetLocation&template=json.txt&i...

Re: [web2py] Re: The stability of web2py releases

2010-12-22 Thread Branko Vukelić
On Wed, Dec 22, 2010 at 5:05 PM, Thadeus Burgess wrote: > Nobody has time to work on certain things like this since most of us have > full time jobs that may or may not be related to web2py. What do you mean? No time to develop a system of labeling releases or no time to upgrade, test, etc? --

Re: [web2py] Re: The stability of web2py releases

2010-12-22 Thread Thadeus Burgess
Funny, Every three to four weeks this topic of discussion comes up. Lots of the same ideas are said over and over again. Nobody has time to work on certain things like this since most of us have full time jobs that may or may not be related to web2py. What I do is if my app works with a certain

Re: [web2py] Version 1.91.1 GAE deployment, mkdir error

2010-12-22 Thread Bruno Rocha
May be this line : if not request.env.web2py_runtime_gae: is missing in referred method. Can you try to change the method for test? IN main.py line 445 def create_missing_folders(): for path in ('applications', 'deposit', 'site-packages', 'logs'): path = abspath(path, gluon=True)

Re: [web2py] web2py 1.91.1 is OUT (LGPLv3)

2010-12-22 Thread Branko Vukelić
On Wed, Dec 22, 2010 at 4:19 PM, Richard Vézina wrote: > I have been hacking a bit with Django yesterday and realize how much simpler Django is a humongous monster (call it feature-rich, I call it bloat). You really have to spend a lot of time before you can do anything with it. And even then, pa

Re: [web2py] Re: The stability of web2py releases

2010-12-22 Thread Branko Vukelić
2010/12/22 Luis Díaz : > > in particular whenever new versions come out ... I always say ... have > to wait 1 week or 2 to becomestable ... Not "become stable", but "be proven stable". You release, wait for everyone to give it a go. If everyone is happy, then it's considered stable, and move to st

[web2py] Version 1.91.1 GAE deployment, mkdir error

2010-12-22 Thread dcrodjer
Hi, I just *updated my web2py* version to *1.91.1* but after the update I am unable to deploy my applications on *GAE*. The apps run on the local app engine skd with no errors. I even tried downloading a fresh source and deploying it but no effect I stll get an Internal server error and these a

Re: [web2py] web2py 1.91.1 is OUT (LGPLv3)

2010-12-22 Thread R. Strusberg
+1 2010/12/22 Tom Atkins : > I hereby nominate web2py for 'Fastest developing full-stack web framework of > the year award'. > It's amazing how much has been added and fixed in 12 months since I've been > using web2py.  Well done Massimo and everyone.  Looking forward to 2011!

Re: [web2py] web2py 1.91.1 is OUT (LGPLv3)

2010-12-22 Thread Richard Vézina
I have been hacking a bit with Django yesterday and realize how much simpler web2py is... I Like w2p so much... Thanks to Massimo and all the core dev team that improve web2py every day. Happy holidays to all Richard 2010/12/22 Branko Vukelić > On Wed, Dec 22, 2010 at 1:49 PM, Tom Atkins

Re: [web2py] The stability of web2py releases

2010-12-22 Thread appydev
I have not talked for 3 years. not, I did not say which should be LTS. I said that there should be a stable release, and is receiving immediate bug fixes. and other critical updates that do not provide new features mean, for a considerable time until the new features are sufficiently tested. but di

Re: [web2py] Re: The stability of web2py releases

2010-12-22 Thread Luis Díaz
in particular whenever new versions come out ... I always say ... have to wait 1 week or 2 to becomestable ... unless the new features are highly anticipated and then one is dedicated to testing the system 2010/12/22 KR > I support that. > For me the last stable is 1.89.5 (or maybe 1.90.6 ? if

[web2py] Re: The stability of web2py releases

2010-12-22 Thread KR
I support that. For me the last stable is 1.89.5 (or maybe 1.90.6 ? if the new DAL is stable) The only missing stuff is a place to download it. On 22 déc, 15:49, Branko Vukelić wrote: > On Wed, Dec 22, 2010 at 3:44 PM, appydev wrote: > > I think there should be a version, not to call it ... , >

Re: [web2py] The stability of web2py releases

2010-12-22 Thread Branko Vukelić
On Wed, Dec 22, 2010 at 3:44 PM, appydev wrote: > I think there should be a version, not to call it ... , > Something likeUbuntu LTS (Long Term Support). and that > this version receiveimmediate bug fixes. and other critical updates that do > notprovide new features mean, for a considerable time u

Re: [web2py] The stability of web2py releases

2010-12-22 Thread appydev
Regards, Sometimes I notice that when an error is detected in the stable,this is fixed in the trunk. On the other hand, all the new featuresare included in the trunk. New features bring new bugs, thus thetrunk will always have some errors that are passed to the stable. I think there should be a v

Re: [web2py] web2py 1.91.1 is OUT (LGPLv3)

2010-12-22 Thread Branko Vukelić
On Wed, Dec 22, 2010 at 1:49 PM, Tom Atkins wrote: > It's amazing how much has been added and fixed in 12 months since I've been Are you kidding? Only the last two MONTHS were insane! :D => Massimo "Quick-Fingers" DiPierro, the sheriff of Web2pyville. -- Branko Vukelic stu...@brankovukelic.

  1   2   >