[web2py] Re: Cherokee and fcgi

2011-05-12 Thread pbreit
Good to hear. I currently think ubuntu + nginx + uWSGI is the best setup but Cherokee is good too.

Re: [web2py] Gigya - Janrain alternative

2011-05-12 Thread pbreit
I wonder if we'd be better off with direct twitter and Facebook integrations. Do we really need all those other ones?

Re: [web2py] Gigya - Janrain alternative

2011-05-12 Thread Martin Weissenboeck
Seems very interesting, I would like to use it! Regards, Martin 2011/5/13 Bruno Rocha > HI, > > I am not very satisfied with Janrain, so I started a search for a different > solution, I already tried SimpleAuth but it is not finished yet. > > I guess I found a better solution than Janrain eng

[web2py] Gigya - Janrain alternative

2011-05-12 Thread Bruno Rocha
HI, I am not very satisfied with Janrain, so I started a search for a different solution, I already tried SimpleAuth but it is not finished yet. I guess I found a better solution than Janrain engage and this is http://developers.gigya.com/ More than centralized login this provides better social

[web2py] Re: date to datetime

2011-05-12 Thread szimszon
import datetime datetime_object=datetime.datetime.combine(row.datum_start,datetime.time(0))

[web2py] Re: Insert blank record crashes in sqlite

2011-05-12 Thread Massimo Di Pierro
My guess is that some engines could allow insertion of a blank record and different versions of the same engine may behave differently. Although a more graceful error would be nice, we should let the database fail on this one. On May 12, 2:53 pm, Jim Karsten wrote: > Here are two possible solutio

[web2py] Re: Cherokee and fcgi

2011-05-12 Thread luckysmack
Sweeet. Well based on the bitbucket link I was able to get it to work with uWSGI. So thanks a bunch for the help. On May 12, 12:12 pm, pbreit wrote: > Here's another, slightly older but perhaps worth > reviewing:http://web2pyslices.com/main/slices/take_slice/110

[web2py] Re: using CRYPT in SQLFORM.factory doesn't work?

2011-05-12 Thread niknok
Ok, here's a quote for you: “Confusion is the welcome mat at the door of creativity.” ;) On May 13, 2:26 am, pbreit wrote: > I suppose it's personal preference but the comma placement at the beginning > of the line is really confusing.

Re: [web2py] Re: Solução de e-commerce em web2py / e-commerce solution in web2py

2011-05-12 Thread Bruno Barbosa
oh, thanks! I'll take a look =) regards, # --- # Bruno Barbosa # Web Developer - Linux user and Free Software Enthusiast # http://algoritmizando.com # http://twitter.com/bruninbsb # --- Em 12 de maio de 2011 20:16, pbreit

[web2py] Re: Solução de e-commerce em web2py / e-commerce solution in web2py

2011-05-12 Thread pbreit
I researched it awhile back and all I could really find was the old appliance: http://code.google.com/p/web2py-estore/ http://web2py.com/appliances/default/show/24 It's a bit outdated but seems to work. I ended up coding my own: http://pricetack.com

[web2py] Solução de e-commerce em web2py / e-commerce solution in web2py

2011-05-12 Thread Bruno Barbosa
Is there an e-commerce solution in web2py? __ Já existe alguma solução de e-commerce em web2py? # --- # Bruno Barbosa # Web Developer - Linux user and Free Software Enthusiast # http://algoritmizando.com # http://twitter.co

[web2py] Re: Web2py - the "one-man-band" of all python frameworks :)

2011-05-12 Thread carlo
..and btw Unbit is one of the best hosting solution for web2py players! carlo On 12 Mag, 15:40, Massimo Di Pierro wrote: > There is always something to learn here. :-) > > On May 12, 12:09 am, "Roberto De Ioris" wrote: > > > > > > > > > > On Thu, May 12, 2011 at 2:00 AM, Roberto De Ioris > > >

Re: [web2py] Re: CarPool web2py anyone?

2011-05-12 Thread Jason Brower
Most types of carepooling. Unless it is absolutely and totally free. If any type of money pass between you then you can't do it without paying taxes and being a licences taxi driver. For example, if you give me a ride, and I pay for your dinner at the end of a long trip, I am breaking the law.

[web2py] Re: Insert blank record crashes in sqlite

2011-05-12 Thread Jim Karsten
Here are two possible solutions, both for gluon.dal.py: class BaseAdapter(ConnectionPool): def insert(self,table,fields): if not fields: raise SyntaxError, 'No fields to insert' query = self._insert(table,fields) ... return rid or class SQLiteAdapter(BaseAdapter): def insert(self,tab

[web2py] Re: CarPool web2py anyone?

2011-05-12 Thread Massimo Di Pierro
What is illegal? On May 12, 1:51 pm, Jason Brower wrote: > On 05/12/2011 09:04 PM, Ant nio Ramos wrote:> hello, this is just an idea. > > > Is there a carpool site made in web2py? > > > in Portugal > > >http://www.carpool.com.pt/ > > > Best regards > > Ant nio > > Ironnically I had almost the sam

[web2py] Re: Cherokee and fcgi

2011-05-12 Thread pbreit
Here's another, slightly older but perhaps worth reviewing: http://web2pyslices.com/main/slices/take_slice/110

[web2py] Re: Cherokee and fcgi

2011-05-12 Thread pbreit
I think this one is most up to date: https://bitbucket.org/pbreit/web2py-automation/src/aa0c47ea95b6/setup-ubuntu-cherokee.sh You can either try and run it or just copy/paste each step. The Cherokee Admin is nice but makes it harder to setup with a script.

[web2py] Re: Bug with multiple SELECT/OPTIONS and keepvalues=True?

2011-05-12 Thread Clayton
>>> request.vars Before form.accepts(request.vars, session, keepvalues=True): >>> form.xml() 'Search: Downloadable by: -- Select --Archivists (users who can create new entries)DBL AdministratorsETEN PublishersOrg - ETEN DBL Partner - BiblicaOrg - ETEN DBL Partner - SILOrg - UBS DBL Archivists an

[web2py] Re: Cherokee and fcgi

2011-05-12 Thread luckysmack
yea i tried fcgi because that was the example in the book. If wsfi is easier/better to setup, and i can get it working. ill try that as well. Do you know of any good links off hand? otherwise ill just browse on the slices site. I looked here but only really found posts where people were having issu

Re: [web2py] CarPool web2py anyone?

2011-05-12 Thread Jason Brower
On 05/12/2011 09:04 PM, António Ramos wrote: hello, this is just an idea. Is there a carpool site made in web2py? in Portugal http://www.carpool.com.pt/ Best regards António Ironnically I had almost the same idea! Sadly, the Finnish Government told me it is out right illegal. Sad as I thi

[web2py] Re: using CRYPT in SQLFORM.factory doesn't work?

2011-05-12 Thread pbreit
I suppose it's personal preference but the comma placement at the beginning of the line is really confusing.

[web2py] Re: LOAD with ajax=False fails to pass vars

2011-05-12 Thread pbreit
Still didn't work in trunk. "ajax_trap=True" makes it work. But that shouldn't be necessary, correct?

[web2py] Re: impersonate any user

2011-05-12 Thread pbreit
I think it's still not working. The "or not current.request.post_vars" is a problem because we are not longer entering impersonate via a var. http://code.google.com/p/web2py/source/browse/gluon/tools.py#2213 if not self.is_logged_in() or not current.request.post_vars: should be if not self.is_

[web2py] Re: LOAD with ajax=False fails to pass vars

2011-05-12 Thread Anthony
On Thursday, May 12, 2011 1:48:53 PM UTC-4, pbreit wrote: > > Yeah, looks like it's not passing args and vars when ajax=False. I'm on > trunk. The code looks like it should be passing args (though not vars, unless ajax_trap=True) -- are you sure it's not passing args when ajax=False? Anthon

[web2py] CarPool web2py anyone?

2011-05-12 Thread António Ramos
hello, this is just an idea. Is there a carpool site made in web2py? in Portugal http://www.carpool.com.pt/ Best regards António

[web2py] Re: LOAD with ajax=False fails to pass vars

2011-05-12 Thread Anthony
You might need to set ajax_trap=True in order to pass vars to the component -- otherwise, I think it will just ignore your vars and use request.vars instead. Anthony On Thursday, May 12, 2011 1:12:55 PM UTC-4, Rohan wrote: > web2py version: Version 1.92.1 (2011-02-16 15:04:40) > > LOAD is fai

[web2py] Re: LOAD with ajax=False fails to pass vars

2011-05-12 Thread Massimo Di Pierro
I just made a couple of changed in trunk to that function. Can you see if the problem is still there? On May 12, 12:12 pm, Rohan wrote: > web2py version: Version 1.92.1 (2011-02-16 15:04:40) > > LOAD is failing to pass request.vars when ajax is set to False but passed > vars when ajax is set to T

[web2py] Re: login fails for ajax components

2011-05-12 Thread pbreit
Oh, yeah, I protect all my functions that require login. But all of their enclosing pages are protected, too, so it's never an issue.

[web2py] Re: LOAD with ajax=False fails to pass vars

2011-05-12 Thread pbreit
Yeah, looks like it's not passing args and vars when ajax=False. I'm on trunk.

[web2py] Re: Bug with multiple SELECT/OPTIONS and keepvalues=True?

2011-05-12 Thread Massimo Di Pierro
Can you print request.vars when you submit. This is odd. On May 12, 11:24 am, Clayton wrote: >     groups=getgroups() >     group_options = [OPTION(group.description,_value=str(group.id)) > for group in groups] > >     form=FORM(TABLE(TR(TD('Search:', INPUT(_name='search'), >          INPUT(_type

[web2py] Re: Slice on deployment web2py on Windows with IIS with tests completed

2011-05-12 Thread Massimo Di Pierro
:-) On May 12, 11:21 am, sherdim wrote: > Good day! > > I have completed slice with receipts of deployment web2py in Windows > environmenthttp://www.web2pyslices.com/main/slices/take_slice/128 > Comments on performance tests are welcome! > > Is this speed good? > > Can parallel using of many work

[web2py] LOAD with ajax=False fails to pass vars

2011-05-12 Thread Rohan
web2py version: Version 1.92.1 (2011-02-16 15:04:40) LOAD is failing to pass request.vars when ajax is set to False but passed vars when ajax is set to True. I want certain component to load before page finish loading so need to set ajax= False. I tried this call in default/index.html {{=LOAD(

Re: [web2py] Re: Why continue to use this obscure phrase 'enterprise'?

2011-05-12 Thread Vinicius Assef
What about "web2py - Get it done"? -- Vinicius Assef. On Wed, May 11, 2011 at 10:47 AM, Ross Peoples wrote: > In the spirit of not messing around with "half baked, unstable, > hard to maintain, constantly breaking backward compatibility, glued > frameworks": > web2py - For serious developers >

[web2py] Re: Slice for Windows Installation with speed tests

2011-05-12 Thread sherdim
funny :) I have just searched for message about IIS, have not found any new one and reposted the same message with anons about the slice. Sorry for double.

[web2py] Bug with multiple SELECT/OPTIONS and keepvalues=True?

2011-05-12 Thread Clayton
groups=getgroups() group_options = [OPTION(group.description,_value=str(group.id)) for group in groups] form=FORM(TABLE(TR(TD('Search:', INPUT(_name='search'), INPUT(_type='submit', _value='Search')), TD(T(' Downloadable by: '), SELECT(*group_options,**dict(_name='dow

[web2py] Slice on deployment web2py on Windows with IIS with tests completed

2011-05-12 Thread sherdim
Good day! I have completed slice with receipts of deployment web2py in Windows environment http://www.web2pyslices.com/main/slices/take_slice/128 Comments on performance tests are welcome! Is this speed good? Can parallel using of many workers (Web Forest) break sessions? Vale!

[web2py] Re: Strange SSL upload issue

2011-05-12 Thread sherdim
The issue is off when use the same site through ISAPI-WSGI as describe in http://www.web2pyslices.com/main/slices/take_slice/128 So it was related to Rocket server timeout on low-speed connection. Reverse Proxy effect could be in slowing of upload.

[web2py] Re: Bug with + in email address

2011-05-12 Thread Niphlod
well, if it tells you that there is an integrity error, that's a DB problem and not a validator one . have you tried to see all the values in that column ? DB doesn't know if that's a valid email address or not, he cares only (if that column has a unique costraint applied) that the same value i

[web2py] Re: Google Datastore

2011-05-12 Thread Massimo Di Pierro
db = DAL('gae') But you must be running on the Google app engine. Massimo On May 12, 9:53 am, stargate wrote: > I was wondering if there is a example on connecting to a google > Datastore database on App Engine

[web2py] Google Datastore

2011-05-12 Thread stargate
I was wondering if there is a example on connecting to a google Datastore database on App Engine

[web2py] useful reddit post

2011-05-12 Thread Massimo Di Pierro
http://www.reddit.com/r/Python/comments/h9n47/trying_to_implement_tags_in_sqlite_with_python/

[web2py] Re: login fails for ajax components

2011-05-12 Thread Anthony
On Thursday, May 12, 2011 8:36:36 AM UTC-4, selecta wrote: > > > > On May 11, 7:07 pm, pbreit wrote: > > Hmmm...I haven't seen that pattern. I always put the LOAD() in a view. > And > > decorate the calling controller. I don't see why or when you'd ever want > to > > protect an individual co

[web2py] Re: impersonate any user

2011-05-12 Thread Massimo Di Pierro
Yes. Do not remember if in stable or trunk. On May 12, 4:07 am, rāma wrote: > Has this been fixed?

[web2py] Re: Web2py - the "one-man-band" of all python frameworks :)

2011-05-12 Thread Massimo Di Pierro
There is always something to learn here. :-) On May 12, 12:09 am, "Roberto De Ioris" wrote: > > On Thu, May 12, 2011 at 2:00 AM, Roberto De Ioris > > wrote: > > >> You have to read it in the rock/heavy metal way, where Web2Py is the > >> talented player that can manage every intrument, > > >http

Re: [web2py] date to datetime

2011-05-12 Thread Vasile Ermicioi
it is by default python datetime type

[web2py] Slice for Windows Installation with speed tests

2011-05-12 Thread sherdim
Good day! I've completed slice http://www.web2pyslices.com/main/slices/take_slice/128 on WSGI deployment on Windows Server. Comments on benchmark testing are welcome! Is it good speed? Is some caveats in parallel handling of requests? Can be issues with sessions congruence? Vale!

[web2py] Re: login fails for ajax components

2011-05-12 Thread selecta
On May 11, 7:07 pm, pbreit wrote: > Hmmm...I haven't seen that pattern. I always put the LOAD() in a view. And > decorate the calling controller. I don't see why or when you'd ever want to > protect an individual component. because you cannot grantee that the component cannot be guessed image so

[web2py] date to datetime

2011-05-12 Thread andrej burja
i model i have Field('datum_start','date',label='začetek'), in controller i want to convert datum_start to datetime object (to manipulate it with python) how can i do that? andrej

[web2py] Re: impersonate any user

2011-05-12 Thread rāma
Has this been fixed?

[web2py] Re: using CRYPT in SQLFORM.factory doesn't work?

2011-05-12 Thread niknok
Nice catch Anthony! Thanks a bunch. That's the second time I got bitten by a misplaced comma in an SQLFORM ... On May 12, 12:23 pm, Anthony wrote: > I think you've got a simple typo in you code -- in SQLFORM.factory, you have > a ')' at the end of the Field line, so your 'requires' ends up being

[web2py] Re: Cherokee and fcgi

2011-05-12 Thread pbreit
I unfortunately can't help out with fcgi but I you wanted to try uWSGI there are some scripts and steps posted here and on slices. UWSGI is Probably better anyhow.

[web2py] Re: Cherokee and fcgi

2011-05-12 Thread luckysmack
as a side note, when going to domain.dev, it does change the path to domain.dev/welcome/default/index On May 11, 11:56 pm, luckysmack wrote: > Im trying to setup web2py with fcgi on cherokee. At one point it > worked (last night after i spent a few hours trying to get it to work. > and after i sa