Thanks Anthony. This works and the creation, read/write must be from
within the same function (as you said). thanks again for your help.
James
On May 10, 7:37 pm, Anthony abasta...@gmail.com wrote:
On Tuesday, May 10, 2011 10:32:34 PM UTC-4, Anthony wrote:
To keep things DRY, you can define a
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 saw the screen went to sleep). But today when i try to use
it its not working again. But now I cant get it to work whatsoever.
i have a fresh
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 luckysm...@gmail.com 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
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.
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 abasta...@gmail.com 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
Has this been fixed?
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
On May 11, 7:07 pm, pbreit pbreitenb...@gmail.com 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
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!
it is by default python datetime type
There is always something to learn here. :-)
On May 12, 12:09 am, Roberto De Ioris robe...@unbit.it wrote:
On Thu, May 12, 2011 at 2:00 AM, Roberto De Ioris robe...@unbit.it
wrote:
You have to read it in the rock/heavy metal way, where Web2Py is the
talented player that can manage every
Yes. Do not remember if in stable or trunk.
On May 12, 4:07 am, rāma ranjeev...@gmail.com wrote:
Has this been fixed?
On Thursday, May 12, 2011 8:36:36 AM UTC-4, selecta wrote:
On May 11, 7:07 pm, pbreit pbreit...@gmail.com 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
http://www.reddit.com/r/Python/comments/h9n47/trying_to_implement_tags_in_sqlite_with_python/
I was wondering if there is a example on connecting to a google
Datastore database on App Engine
db = DAL('gae')
But you must be running on the Google app engine.
Massimo
On May 12, 9:53 am, stargate kyoukh...@gmail.com wrote:
I was wondering if there is a example on connecting to a google
Datastore database on App Engine
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
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.
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!
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: '),
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.
What about web2py - Get it done?
--
Vinicius Assef.
On Wed, May 11, 2011 at 10:47 AM, Ross Peoples ross.peop...@gmail.com wrote:
In the spirit of not messing around with half baked, unstable,
hard to maintain, constantly breaking backward compatibility, glued
frameworks:
web2py - For
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
:-)
On May 12, 11:21 am, sherdim sher...@gmail.com 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
Can you print request.vars when you submit. This is odd.
On May 12, 11:24 am, Clayton clayton.grass...@gmail.com 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'),
Yeah, looks like it's not passing args and vars when ajax=False. I'm on
trunk.
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.
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 yourbuddyro...@gmail.com 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
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
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
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?
Anthony
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
Still didn't work in trunk. ajax_trap=True makes it work. But that
shouldn't be necessary, correct?
I suppose it's personal preference but the comma placement at the beginning
of the line is really confusing.
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
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
request.vars
Storage {'admingroup': '8', 'search': '', '_formkey':
'e4a6ec15-3f1c-42b4-a30b-1d50354b6429', 'downloadgroup': '2',
'_formname': 'default'}
Before form.accepts(request.vars, session, keepvalues=True):
form.xml()
'form action= enctype=multipart/form-data method=posttable
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.
Here's another, slightly older but perhaps worth reviewing:
http://web2pyslices.com/main/slices/take_slice/110
What is illegal?
On May 12, 1:51 pm, Jason Brower encomp...@gmail.com 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
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
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
..and btw Unbit is one of the best hosting solution for web2py
players!
carlo
On 12 Mag, 15:40, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
There is always something to learn here. :-)
On May 12, 12:09 am, Roberto De Ioris robe...@unbit.it wrote:
On Thu, May 12, 2011 at 2:00
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
#
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
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
Ok, here's a quote for you:
“Confusion is the welcome mat at the door of creativity.”
;)
On May 13, 2:26 am, pbreit pbreitenb...@gmail.com wrote:
I suppose it's personal preference but the comma placement at the beginning
of the line is really confusing.
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 pbreitenb...@gmail.com wrote:
Here's another, slightly older but perhaps worth
reviewing:http://web2pyslices.com/main/slices/take_slice/110
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 iiijjj...@gmail.com wrote:
Here are
import datetime
datetime_object=datetime.datetime.combine(row.datum_start,datetime.time(0))
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
51 matches
Mail list logo