[web2py] email updates not recd for this group

2012-01-26 Thread Vineet
I was looking for the email ID of administrator for this group, but couldn't find one. Of late, I am not receiving daily digest email. I have ensured that correct option is checked in 'edit my membership'. Is it only me -or- anybody else is also experiencing the same? -- Vineet

Re: [web2py] Re: Chunked downloads and corrupt files with Internet Explorer 8 (IE8)

2012-01-26 Thread Phyo Arkar
I am using 1.99.1 and it happens to me frequently. If download is big ( for my case > 100,200 MB) it usually end up with corrupted file. Tested on Local wifi network with 300 Mbps. On Wed, Jun 15, 2011 at 4:21 PM, Stefan Scholl wrote: > Is nobody else experiencing this problem? Is nobody using In

Re: [web2py] cluster: distributed locks

2012-01-26 Thread Sebastian E. Ovide
ok, I guess that the answer is no... (or I didn't formulate the question correctly) On Thu, Jan 19, 2012 at 11:51 PM, sebastian wrote: > Hi All, > > just thinking on how to implement a distributed locking system in web2py > using a DB: one row per each lock, lock_name is unique, if the row do

Re: [web2py] Re: begin a transaction manually ?

2012-01-26 Thread Sebastian E. Ovide
> 2) yes but not concurrently, unless you have two db objects. > > Is it possible to "clone" a db object ? instead of declare 2 (or n) db objects in the model, can I create a new one a controller based on db declared in the model ? -- Sebastian E. Ovide

Re: [web2py] cluster: distributed locks

2012-01-26 Thread Bruno Rocha
I dont know if it is related, but there is a Locking plugin http://web2py.com/plugins/default/locking On Thu, Jan 26, 2012 at 7:05 AM, Sebastian E. Ovide < sebastianov...@gmail.com> wrote: > ok, I guess that the answer is no... (or I didn't formulate the question > correctly) > > > On Thu, J

Re: [web2py] addtoany problem

2012-01-26 Thread Manuele Pesenti
Il 25/01/2012 10:33, Bruno Rocha ha scritto: You can try the LazyLoader http://www.itthinx.com/plugins/lazy-widget-loader/ maybe it could be adopted directly from web2py? M.

[web2py] Re: email updates not recd for this group

2012-01-26 Thread Alan Etkin
I am also not receiving group messages digest since january 19 On 26 ene, 05:51, Vineet wrote: > I was looking for the email ID of administrator for this group, but > couldn't find one. > Of late, I am not receiving daily digest email. > I have ensured that correct option is checked in 'edit my m

[web2py] Re: Problem with legacy tables

2012-01-26 Thread Alan Etkin
In this issue: http://code.google.com/p/web2py/issues/detail?id=634 I am trying to solve a (supposedly) similar problem, when using SQLFORM with tables wich have custom id field names. Maybe there could be used a common workaround to solve both problems. Anyway, the custom id problem reproduces on

[web2py] Re: email_auth works on web2py server, but not GAE - ANSWER: No sockets in the sandbox, no smtp connections! That's all. No email_auth on GAE

2012-01-26 Thread Alan Etkin
Some built-in web2py functions have conditional commands for addressing AppEngine compatibility issues, it seems that this is not performed for the email authentication. Perhaps this problem could added to the web2py issues list? On 26 ene, 02:43, pattu wrote: > I didn't get much success in getti

[web2py] using Janrain Oauth and normal login at the same time

2012-01-26 Thread Web2Py Freak
Dear all , how can i use Janrain Oauth and normal login at the same time ??

[web2py] Bug in DAL update shortcut

2012-01-26 Thread Jens Andersen
Hi, I've been bugged by a bug in DAL update lately. The shortcut db.table[i] = dict(field=value,...) fails with an error "No such record : i", even if the record 'i' definitely exists. I'm running against a MySQL database, and it turns out MySQL reports 0 (records affected) on update if

Re: [web2py] Change the case in auth.navbar?

2012-01-26 Thread Martín Mulone
Remember you can do it with css: .auth_navbar a { text-transform:capitalize; } Now I prefer to do my own bar because I think is too long now. I'm using something like this: Unlogged user: Log in | Register. Logged User: Profile | Logout The other things I move it into user.html. So

[web2py] Re: Bug in DAL update shortcut

2012-01-26 Thread Alan Etkin
What I usually do is check here: http://code.google.com/p/web2py/issues/list If the issue isn't posted by other user I apply for a fix there, appending a proposed modification if I managed to find it However, I've seen web2py developers just modify the source with information provided in the users

[web2py] DAL equivalent of SQL's 'HAVING' clause

2012-01-26 Thread Johann Spies
How would a do a query like this in DAL? SELECT count(uuid) as aantal, ltitle from akb_articles group by ltitle having count(uuid) > 1 Regards. Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3)

Re: [web2py] DAL equivalent of SQL's 'HAVING' clause

2012-01-26 Thread Vasile Ermicioi
try: _count = db.akb_articles.uuid.count() rows = db(db.akb_articles).select(_count, db.akb_articles.ltitle, groupby= db.akb_articles.ltitle, having=_count>1)

Re: [web2py] DAL equivalent of SQL's 'HAVING' clause

2012-01-26 Thread Johann Spies
On 26 January 2012 14:48, Vasile Ermicioi wrote: > try: > > _count = db.akb_articles.uuid.count() > rows = db(db.akb_articles).select(_count, db.akb_articles.ltitle, groupby= > db.akb_articles.ltitle, having=_count>1) > > Thanks. How did I miss 'having' in the book? I could not find it there. R

[web2py] Re: Bug in DAL update shortcut

2012-01-26 Thread Jens Andersen
Thx! Added issue#638

Re: [web2py] Re: Mixing/supporting CMS with Web2py

2012-01-26 Thread Martín Mulone
I switched the editor of instant press to cleditor. A lightweight and simple WYSIWYG editor. http://premiumsoftware.net/cleditor/ 2012/1/25 Bruno Rocha > For those who are looking for inspiration on how to develop a good > traditional-cms with web2py, take a look in to http://www.fork-cms.com/be

Re: [web2py] DAL equivalent of SQL's 'HAVING' clause

2012-01-26 Thread Johann Spies
Pity one cannot use it as a query for SQLForm.grid. Regards Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3)

[web2py] Re: using Janrain Oauth and normal login at the same time

2012-01-26 Thread Web2Py Freak
Ok i did it its like this , with the help of http://www.web2pyslices.com/slices/take_slice/124 : db.py : from gluon.contrib.login_methods.rpx_account import RPXAccount from gluon.contrib.login_methods.extended_login_form import ExtendedLoginForm url = "http://localhost:8000/%s/default/user/log

Re: [web2py] DAL equivalent of SQL's 'HAVING' clause

2012-01-26 Thread Vasile Ermicioi
> > How did I miss 'having' in the book? I could not find it there. I also can't find it in the book. But I used it before

[web2py] Re: Chunked downloads and corrupt files with Internet Explorer 8 (IE8)

2012-01-26 Thread Massimo Di Pierro
which python version? Did you try different python versions? On Jan 26, 2:52 am, Phyo Arkar wrote: > I am using 1.99.1 and it happens to me frequently. If download is big ( for > my case > 100,200 MB) it usually end up with corrupted file. Tested on > Local wifi network with 300 Mbps. > > On Wed,

[web2py] Re: begin a transaction manually ?

2012-01-26 Thread Massimo Di Pierro
You cannot clone it. but can make two. On Jan 26, 3:10 am, "Sebastian E. Ovide" wrote: > > 2) yes but not concurrently, unless you have two db objects. > > Is it possible to "clone" a db object ? instead of declare 2 (or n) db > objects in the model, can I create a new one a controller based on d

Re: [web2py] Re: begin a transaction manually ?

2012-01-26 Thread Bruno Rocha
maybe if there's a way to .close() the db to be able to define it again. http://zerp.ly/rochacbruno Em 26/01/2012 12:18, "Massimo Di Pierro" escreveu: > You cannot clone it. but can make two. > > On Jan 26, 3:10 am, "Sebastian E. Ovide" > wrote: > > > 2) yes but not concurrently, unless you hav

[web2py] language translation in web2py

2012-01-26 Thread Web2Py Freak
Dear All, How can i change the language of my website with a click of a button or how can i use the translation plugin in my site or can make Google translate my site

[web2py] Re: Error with ignore_common_filters when using a select string (instead of a DAL query)

2012-01-26 Thread pbreit
bump

[web2py] Re: Problem with legacy tables

2012-01-26 Thread brushek
Yes indeed. But the quistion is, if this will be solved some day ? I can stick with old version for a while, but some day I will have to/ need to upgrade. The best of web2py was for me that it is backward compatible. On 26 Sty, 11:51, Alan Etkin wrote: > In this issue:http://code.google.com/p/web

[web2py] Re: Need help with selecting multiple rows into a single row

2012-01-26 Thread Alan Etkin
This is one way. You surely will find a more fast/enhanced ways by searching web2py and Python features: order_numbers = set([row.purchase_order.po_number for row in rows]) new_data = [[number,] + [row.item.id for row in rows if row.purchase_order.po_number == number] for number in order_numbers]

[web2py] Re: email updates not recd for this group

2012-01-26 Thread howesc
i also have not received the digest since the 19th.

[web2py] getting started with dotcloud

2012-01-26 Thread Brad Miller
Hi, I'm trying to follow the web2py tutorial that was posted here a while back. Unfortunately that was written using the older version of the command line tools, so some things just don't exist anymore. But I'm going back and forth between the new documentation and the old. I've done the follow

[web2py] Re: email updates not recd for this group

2012-01-26 Thread Anthony
I've seen a few other reports of this problem from other Google Groups (specifically no digests since Jan. 19), so seems to be a general problem. Maybe try reporting it to Google. Doesn't appear to be anything we can control on our end (there's no admin option that controls the availability of

[web2py] Re: web2py with Plesk Control Panel ?

2012-01-26 Thread Ben Tammetta
Ok, so if I install python 2.6 how do I tell apache, web2py, mod_wsgi and/or mod_python to use the python2.6 version ?

Re: [web2py] getting started with dotcloud

2012-01-26 Thread José Luis Redrejo Rodríguez
2012/1/26 Brad Miller : > Hi, > > I'm trying to follow the web2py tutorial that was posted here a while > back.  Unfortunately that was written using the older version of the > command line tools, so some things just don't exist anymore.  But I'm > going back and forth between the new documentation

[web2py] Re: web2py with Plesk Control Panel ?

2012-01-26 Thread Ben Tammetta
would I change the first line in wsgihandler.py from #!/usr/bin/env python to #!/usr/bin/env /usr/bin/python26 ?

Re: [web2py] Problem with .smartgrid on tables with links

2012-01-26 Thread Jim Steil
I've been away for a few days but came back today and updated my install again. Now this is working on the list page from .smartgrid, but when I try to update a record I'm getting the following traceback... Traceback(most recent call last): File"C:\dev\web2py\gluon\restricted.py",line204,inr

Re: [web2py] Change the case in auth.navbar?

2012-01-26 Thread Naveed Ahmed
Thanks, I didn’t think of that. This will help. From: Martín Mulone Sent: Thursday, January 26, 2012 06.17 To: web2py@googlegroups.com Subject: Re: [web2py] Change the case in auth.navbar? Remember you can do it with css: .auth_navbar a { text-transform:capitalize; }

Re: [web2py] Problem with .smartgrid on tables with links

2012-01-26 Thread Carlos
Hi, I am not using smartgrid, and I am using regular tables (with the 'id' field), and I still get the same error (as described in my post): https://groups.google.com/d/topic/web2py/zH9rLsbxI_I/discussion I guess Massimo is still working on this?. Carlos

Re: [web2py] Problem with .smartgrid on tables with links

2012-01-26 Thread Jim Steil
Thanks Carlos - not just me then... On 1/26/2012 12:31 PM, Carlos wrote: Hi, I am not using smartgrid, and I am using regular tables (with the 'id' field), and I still get the same error (as described in my post): https://groups.google.com/d/topic/web2py/zH9rLsbxI_I/discussion I guess Ma

[web2py] Re: Error with ignore_common_filters when using a select string (instead of a DAL query)

2012-01-26 Thread Massimo Di Pierro
Please check trunk and let me know if the issue is resolved. On Jan 26, 10:19 am, pbreit wrote: > bump

[web2py] Re: Problem with legacy tables

2012-01-26 Thread Massimo Di Pierro
Yes. This will be resolved. We are working on it. In fact it may be solved already. Please help us test trunk. On Jan 26, 11:00 am, brushek wrote: > Yes indeed. But the quistion is, if this will be solved some day ? I > can stick with old version for a while, but some day I will have to/ > need t

[web2py] Re: Problem with .smartgrid on tables with links

2012-01-26 Thread Massimo Di Pierro
please check trunk again. On Jan 26, 12:34 pm, Jim Steil wrote: > Thanks Carlos - not just me then... > > On 1/26/2012 12:31 PM, Carlos wrote: > > > > > > > > > Hi, > > > I am not using smartgrid, and I am using regular tables (with the 'id' > > field), and I still get the same error (as describe

[web2py] Re: language translation in web2py

2012-01-26 Thread Alan Etkin
> How can i change the language of my website "... The requested language is determined by the 'Accept-Language' field in the HTTP header, but this selection can be overwritten programmatically by requesting a specific file, for example: 1 T.force('it-it') ..." If you want to let the user choose its

Re: [web2py] getting started with dotcloud

2012-01-26 Thread Brad Miller
That did it, thanks! Is there a newer version of the tutorial somewhere? I have some basic questions like how do I get the app to start with an admin password? Thanks, Brad -- Brad Miller On Thursday, January 26, 2012 at 12:13 PM, José Luis Redrejo Rodríguez wrote: > 2012/1/26 Brad Mi

Re: [web2py] Re: Problem with .smartgrid on tables with links

2012-01-26 Thread Jim Steil
That fixed it. Thanks Massimo! -Jim On 1/26/2012 12:55 PM, Massimo Di Pierro wrote: please check trunk again. On Jan 26, 12:34 pm, Jim Steil wrote: Thanks Carlos - not just me then... On 1/26/2012 12:31 PM, Carlos wrote: Hi, I am not using smartgrid, and I am using regular tabl

[web2py] Re: Error with ignore_common_filters when using a select string (instead of a DAL query)

2012-01-26 Thread pbreit
Fixed, thank you. So do you think that functionality will remain? It definitely comes in handy where DAL doesn't support a query type or even if someone just wants to use some SQL but get the rest of the DAL functionality. Certainly there are security ramifications if you are accepting user gen

[web2py] Re: Error with ignore_common_filters when using a select string (instead of a DAL query)

2012-01-26 Thread Massimo Di Pierro
I agree. On Jan 26, 3:34 pm, pbreit wrote: > Fixed, thank you. > > So do you think that functionality will remain? It definitely comes in > handy where DAL doesn't support a query type or even if someone just wants > to use some SQL but get the rest of the DAL functionality. Certainly there > are

[web2py] Re: Error with ignore_common_filters when using a select string (instead of a DAL query)

2012-01-26 Thread Alan Etkin
Perhaps the adapters that take raw string queries can be "sanitized" with class internal methods On 26 ene, 18:34, pbreit wrote: > Fixed, thank you. > > So do you think that functionality will remain? It definitely comes in > handy where DAL doesn't support a query type or even if someone just wa

[web2py] Any example of Multiple login forms working?

2012-01-26 Thread Tito Garrido
Folks, I'm trying to implement multiple login forms (web2py basic + facebook) something like this: from gluon.contrib.login_methods.extended_login_form import ExtendedLoginForm other_form = FaceBookAccount(globals()) auth.settings.login_form = ExtendedLoginForm(request, auth, other_form, signals=[

[web2py] Empty session after login. How can this happen?

2012-01-26 Thread Cliff
My application was working yesterday. I was able to log in and test. Today, Web2py is not writing a session file. Looking in the sessions directory, I have a session file dated the 17th and one dated yesterday. No session file dated today, though I am able to log in to the app. The app gives m

Re: [web2py] How do I aggregate accounts using OAuth & web2py?

2012-01-26 Thread Tito Garrido
Hey Matthew, Were you able to implement facebook + web2py login? Thanks, Tito On Fri, Dec 23, 2011 at 11:10 AM, Matthew wrote: > Thank you, Mic! -- Linux User #387870 . _/_õ|__| ..º[ .-.___.-._| . . . . .__( o)__( o).:___

Re: [web2py] How do I aggregate accounts using OAuth & web2py?

2012-01-26 Thread Bruno Rocha
On Fri, Jan 27, 2012 at 12:06 AM, Tito Garrido wrote: > Hey Matthew, > > Were you able to implement facebook + web2py login? > I have facebook + google + web2py login in http://movu.ca/demo (source in github) -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Empty session after login. How can this happen?

2012-01-26 Thread Bruno Rocha
web2py version was updated? permission to /sessions have changed? try to clean your browser cache, cookies etc and test again On Thu, Jan 26, 2012 at 11:55 PM, Cliff wrote: > My application was working yesterday. I was able to log in and test. > > Today, Web2py is not writing a session file.

[web2py] Standalone DAL Usiage - Insert from a Dictionary (vs bulk_insert)

2012-01-26 Thread BrendanC
I'm testing standalone DAL usage - basically using the DAL to help move/convert some tables from an external db. Basically I'm trying to populate a dictionary with a subset of data from an external database and then insert a series of data records into a new table. I expected to be able to po

Re: [web2py] Standalone DAL Usiage - Insert from a Dictionary (vs bulk_insert)

2012-01-26 Thread Bruno Rocha
You have to unpack the dictionary with ** ddb.mytbl.insert*(***ddict) In Python dictionaries can be unpacked using ** and lists are unpacked with *, it is knows as *args and **kwargs optionally you can use the db.mytbl.filter_fields to remove the unknown fields from the dict. -- Bruno Rocha