On Thu, 24 Nov 2011 02:26:18 +0100
~redShadow~ wrote:
> I started moving all my projects (both personal and company's) from
> svn to git/github, and I'm discovering a new, wonderful world every
> time I use it :)
I did the same from: darcs --> bzr --> mtn --> fossil --> bzr --> hg
> ..and I als
I for one , Love hg.
a lot more easier to get things done for me.
And its python!
On Thu, Nov 24, 2011 at 7:56 AM, ~redShadow~ wrote:
> On Wed, 2011-11-23 at 09:34 -0800, Massimo Di Pierro wrote:
> > Yes. I will try keep them in sync. But I already start to see some
> > advantages of github (sub
I am stuck with other issues with authentication. auth.is_logged_in()
never
becomes true even when I login via Google Account into my hosted app.
The behavior is the same on my local server deployment as well as
hosted on GAE.
I switched the GAE sdk version back to 1.55 as suggested by howesc.
But
> 1) Is there an easy way to "overload" the default behavior of the
> SQLFORM so it stores the filename in the database, instead of encoding
> it in the renamed-file? I see the Field class has a custom_store/
> retrieve variable, could I just duplicate the default DAL store/
> retrieve functions an
I unexpectedly ran into this problem, and it took me a while to figure
out what was going on. I'm wondering if anyone has any suggestions on
how to handle it.
I'm using the 'upload' field type with SQLFORMs to upload files to the
server. However, for certain files with longer names, I get this
exc
this is what I tried:
> python web2py.py -S welcome -M -N
>>> countries = {'ti': 'Timor Leste', 'vn': 'Vietnam','in': 'India','kr':
>>> 'Korea','cn': 'China'}
>>> db.define_table('address', Field('country'),
>>> Field('state'),Field('street_address'))
>>> db.address.country.requires=IS_IN_S
On Wed, 2011-11-23 at 09:34 -0800, Massimo Di Pierro wrote:
> Yes. I will try keep them in sync. But I already start to see some
> advantages of github (submodules)
I started moving all my projects (both personal and company's) from svn
to git/github, and I'm discovering a new, wonderful world ev
countries = {'ti': 'Timor Leste', 'vn': 'Vietnam','in': 'India','kr':
'Korea','cn': 'China'}
db.define_table('address', Field('country'), Field('state'),
Field('street_address'))
db.address.country.requires=IS_IN_SET(countries, zero=None)
db.define_table('personal_address', db.person, db.address)
some news?
Thank you!
On Nov 23, 2011, at 12:33 PM, Massimo Di Pierro
wrote:
> Please open a ticket and we can get this done
Done, it's located here:
http://code.google.com/p/web2py/issues/detail?id=535&thanks=535&ts=1322086748
I've been perusing the code for this and it seems to be this way by design
though I'm
On Wed, 23 Nov 2011 09:34:19 -0800 (PST)
Massimo Di Pierro
wrote:
> Yes. I will try keep them in sync. But I already start to see some
> advantages of github (submodules)
Is it a feature of github since I know about hg's subrepos.
Sincerely,
Gour
--
Those who are on this path are resolute
Thanks. It was a problem in my controller code. I solved it by
following the host2py example.
http://code.google.com/p/host2py/source/browse/trunk/controllers/default.py
On Nov 22, 10:35 am, howesc wrote:
> can't remember the symptions, but when using the bulk load option for
> appconfig to uplo
Yes. I will try keep them in sync. But I already start to see some
advantages of github (submodules)
On Nov 23, 10:19 am, Bruno Rocha wrote:
> I Guess the 3 repos bzr & hg & git will be sync
>
>
>
>
>
>
>
>
>
> On Wed, Nov 23, 2011 at 2:05 PM, Gour wrote:
> > Hello!
>
> > I see that web2py is on
Please open a ticket and we can get this done.
On Nov 23, 8:50 am, Matt Broadstone wrote:
> Hopefully this is the last in my thread of auth related emails ;)
> I was wondering if there is an easy way to stop web2py adding users to
> its own auth_user database when the users are PAM users. I imagi
I should remove/clarify that sentence. The Rocket server is very
solid.
On Nov 23, 6:48 am, Kenneth Lundström
wrote:
> Well I think it is said in the book that the rocket server is only for
> development. It is usually not recommended to run anything as root but
> no big problem.
>
> Kenneth
>
>
Thanks, Bruno.
My acceptance test box was not acting the same as my development box.
On Nov 23, 10:17 am, Bruno Rocha wrote:
> nowhere, you are not encouraged to use print statement in production
> (mod_python breaks with this)
>
> if you want output you have to use some Logging or response.writ
Not tested yet, but it is what I intend to do. It will be a couple of
weeks before
I test this mechanism.
# In db.py before the first table def
# keep current_version current
current version = '0.95'
needs_groups = False
import os
f = open('version.txt')
try:
version = f.read()
f.truncate
I Guess the 3 repos bzr & hg & git will be sync
On Wed, Nov 23, 2011 at 2:05 PM, Gour wrote:
> Hello!
>
> I see that web2py is on the github now. Does it mean end of hg repo?
>
>
> Sincerely,
> Gour
>
>
> --
> As the embodied soul continuously passes, in this body,
> from boyhood to youth to old
Hello!
I see that web2py is on the github now. Does it mean end of hg repo?
Sincerely,
Gour
--
As the embodied soul continuously passes, in this body,
from boyhood to youth to old age, the soul similarly passes
into another body at death. A sober person is not bewildered
by such a change.
nowhere, you are not encouraged to use print statement in production
(mod_python breaks with this)
if you want output you have to use some Logging or response.write to some
view
On Wed, Nov 23, 2011 at 11:04 AM, Cliff wrote:
> Where does the output from print go when using Apache?
>
> Running o
Hopefully this is the last in my thread of auth related emails ;)
I was wondering if there is an easy way to stop web2py adding users to
its own auth_user database when the users are PAM users. I imagine
this is probably an issue for all alternative login methods, not just
PAM, but that's the only
You are welcome. Keep us posted.
On Nov 23, 7:05 am, Tim Korb wrote:
> Denes,
>
> Thanks for your responses--we're making progress.
>
> Tim
Hi, to get the field to show correctly you have to set your locale
appropriately (see the Python manual) otherwise %f will use the
default (dot for decimal point).
Also keep in mind that widgets (validators have default ones) control
the presentation during input (the C&U in CRUD) while represent
Hi Massimo, Digged into it a little further, and found out that this only
happens when represent is used. ##models.py db.define_table('all_values',
Field('price','decimal(5,2)',requires=IS_DECIMAL_IN_RANGE(0,10,dot=','),represent
= lambda price,row: '€ %.2f' % price) ) ## Controll
Where does the output from print go when using Apache?
Running on Ubuntu 10.04 with wsgi. Installed using the one step
install script, no changes.
Well I think it is said in the book that the rocket server is only for
development. It is usually not recommended to run anything as root but
no big problem.
Kenneth
Thanks for your replies. I eventually mangaged to find out the group
and owner of the process that runs web2py. It is uwsgi:uw
Thanks for your replies. I eventually mangaged to find out the group
and owner of the process that runs web2py. It is uwsgi:uwsgi. Chowning
as suggested did work.
presumably the rocket server version of web2py does run as root. If
this is unadvisable as Kenneth suggests should something be mention
Denes,
Thanks for your responses--we're making progress.
Tim
That is pretty sweet Bruno.
Would it make sense calling it _ensure_x rather than new_x or create_x as
in if the user, group or permission already exists then we do not (try) and
create again
Here is more complete example using Bruno my_crypt example to illustrate.
# coding: utf8
from gluon.sto
Hows web2py performance on pypy 1.7?
It was worst in previous version..
On Wed, Nov 23, 2011 at 10:47 AM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
>
> I missed yor response. I will remove the line.
>
> On Nov 22, 10:00 pm, Bruno Rocha wrote:
> > There is a ticket about thishttp://
30 matches
Mail list logo