In a personal project, I'm using the Storage class. I found that this
line in its docstring prints nothing:
>>> o.a
None
Fails.
I replaced `o.a` with `print o.a` and it prints None as expected.
I know it's maybe the most minor comment about w2p ever, but I
couldn't keep it for
Please check out the web2py bazaar launchpad that should answer to the
first part of your comment:
https://launchpad.net/~mdipierro/web2py/devel
I think you are right about the spelling errors... There are too many
and it's bad to (an enterprise but not only) image.
When it comes to the solution
Hi Jason,
to upgrade web2py just unzip a new one over an old one. It is safe.
Your apps will not be overwritten.
Please email me any spelling errors and I will fix them. I apologize
for them.
Massimo
On Feb 20, 11:14 pm, Jason Brower wrote:
> I like web2py, finally a web framework I can sink
Fixed in launchpad now. Thanks.
On Feb 21, 3:44 am, Grahack wrote:
> In a personal project, I'm using the Storage class. I found that this
> line in its docstring prints nothing:
>
> >>> o.a
> None
>
> Fails.
>
> I replaced `o.a` with `print o.a` and it prints None as expected.
>
How do we do that. Can you help?
Massimo
On Feb 21, 1:47 am, Maurice Ling wrote:
> Hi
>
> Anyone think it is a good idea to propose a new Trove classification
> in PyPI for web2py?
>
> Framework :: web2py??
>
> Cheers
> ML
--~--~-~--~~~---~--~~
You received this
I will start keeping track of the spelling and or grammatical errors and
report them. Thanks the for launchpad link. I will subscribe there to
get the changes list. Thanks for the great product!
---
Regards,
Jason Brower
On Sat, 2009-02-21 at 04:53 -0800, Francisco Gama wrote:
> Please check o
Thank you for the help Jason.
Massimo
On Feb 21, 9:21 am, Jason Brower wrote:
> I will start keeping track of the spelling and or grammatical errors and
> report them. Thanks the for launchpad link. I will subscribe there to
> get the changes list. Thanks for the great product!
> ---
> Regar
Let me talk to Richard Jones, maintainer of PyPI and one of the
associate editors of The Python Papers Anthology, and see what he
says...
ML
On Feb 21, 11:14 pm, mdipierro wrote:
> How do we do that. Can you help?
>
> Massimo
>
> On Feb 21, 1:47 am, Maurice Ling wrote:
>
> > Hi
>
> > Anyone th
Line 16 in gallery.py is this:
if form.accepts(request.vars,session):
On Feb 21, 12:51 am, mdipierro wrote:
> which one is line 16 in gallery.py ?
>
> this
>
> > def download():
> > import os
> > path = os.path.join(request.folder,'uploads',request.args[0])
> > return response.stre
Hi Achipa,
I just search your description about cron patch in here:
http://groups.google.com/group/web2py/browse_frm/thread/44817da72c798df8
First of all, this excellent post deserves becoming part of web2py 's
builtin document, say, let's add one more example in
http://localhost:8000/examples/
I would also appreciate some working example/appliance for using
*cron. Its very usefull thing!!!
David
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email
I wouldn't recommend that procedure specially if you are on a Mac
where overwriting means replacing (this means that using Finder you
could lose changes like new applications,...). Besides, even in
Windows/Linux/GNU, overwriting a directory won't remove obsolete
files.
Here's my take on how you s
The error is here:
form.vars.image_id = wtb.image.id
the right hand field is a "field" object, while it should be a field
value, perhaps
form.vars.image_id = photo.id
On Feb 21, 11:12 am, weheh wrote:
> Line 16 in gallery.py is this:
> if form.accepts(request.vars,session):
>
> On Fe
I'm trying to do this:
/newest-messages/
and that works fine.
/newest-messages/category
works fine
/newest-messages/category/0
/newest-messages/category/1
/newest-messages/category/2
...
works fine
but
/newest-messages/category/
bombs with an http error of "Invalid Request"
I'm probably
this is a web2py issue. it will be fixed immediately. thanks for
reporting it.
On Feb 21, 1:51 pm, Jim wrote:
> I'm trying to do this:
>
> /newest-messages/
>
> and that works fine.
>
> /newest-messages/category
>
> works fine
>
> /newest-messages/category/0
> /newest-messages/category/1
> /newe
As a PS, I'm not sure if it makes any difference but "/newest-
messages/" is a function and the different "category" examples were
arguments. So /app/controller/newest-messages/
Thanks so much for the quick response.
On Feb 21, 1:05 pm, mdipierro wrote:
> this is a web2py issue. it will be fix
fixed on launchpad. Could you please give it a try?
Massimo
On Feb 21, 3:36 pm, Jim wrote:
> As a PS, I'm not sure if it makes any difference but "/newest-
> messages/" is a function and the different "category" examples were
> arguments. So /app/controller/newest-messages/
>
> Thanks so much
But the problem is not ignore. That is just telling me that the file
is under version control. Why I cannot commit with a new version of
this file present?
On Feb 20, 11:18 pm, "mr.freeze" wrote:
> Looks like the ignore syntax is wrong. This may
> help:http://athenageek.wordpress.com/2008/04/1
bzr ignore = svn propedit svn:ignore
My guess is you copies around a few directories and have copied/
overwritten .svn dir content with them, so the versioning data got
messed up. Try:
svn cleanup
and please tell us what does
svn status applications/examples/static
say. Also, always do svn up
On Feb 21, 6:28 pm, Iceberg wrote:
> Then, when talking about the hardcron, I assume you told us that:
> 1. "softcron: cron routines are checked after page content has been
> served, does not guarantee execution precision"
Correct.
> 2. On the contrary, hardcron runs in a separate thread, and g
I guess the question is whether the str() conversion should be done at
the DAL level so databases that support unicode just pass through, and
we do str() for those that don't. This will especially be a
consideration with regard to plans for Python 3000 migration as str is
deprecated there.
On Feb
thanks for the help on this, but I didn't get it to work and I have
been preocupied
with designing a railway(day job:).
I am still using standard SQLFORM object as this allows for the
nicEdit markup to be
saved to db. When I try using custom form it does not submit.
All I wanted todo was use a te
this could potentially be useful... can't wait to look at it (wish I had
time to just do this, like you; maybe soon ;-)
On Fri, Feb 20, 2009 at 11:56 PM, mdipierro wrote:
>
> Download here:
>
>http://mdp.cti.depaul.edu/appliances/default/show/48
>
> Try it here:
>
>http://mdp.cti.depaul
mmm if you used the welcome app as a template (that is model/db.py)
would this still be an issue?
I think you can assume apps will be "created" from the welcome as a
template, so this will be there:
-
#!/usr/bin/python
# -*- coding: utf-8 -*-
# ##
I may be missing something (I have just started to read this) but I have a
fundamental question:
It seems to me entity groups (no matter how "limited" you consider them) are
also useful and critical for things like updating, say, a user registration
to a conference which may very well involve more
On Sat, Feb 21, 2009 at 11:44 PM, Yarko Tymciurak wrote:
> I may be missing something (I have just started to read this) but I have a
> fundamental question:
> It seems to me entity groups (no matter how "limited" you consider them)
> are also useful and critical for things like updating, say, a
Your right, the error was with:
form.vars.image_id = wtb.image.id
The correct statement is:
form.vars.image_id = photo.image.id
Thanks, Massimo.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framewor
> svn cleanup
>
> and please tell us what does
>
> svn status applications/examples/static
! applications/examples/static
M applications/examples/static/jquery.js
> say. Also, always do svn update before commit. Really, even if you are
> the only user, always svn update before commit
Hi Massimo,
On Feb 20, 8:56 am, mdipierro wrote:
> anything I have forgotten or can we release 1.56.4?
Everything looks fine from my perspective.
Thanks!
--Jonathan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
Hi Yarko,
On Feb 22, 4:44 am, Yarko Tymciurak wrote:
> It seems to me "entity group" is a useful concept that should scale accross
> to SQL dbs in some way also. By not abstracting this appropriately, it
> seems we are creating (practically looking at this) more limitations than
> GAE has in
That worked, thank you.
On Feb 20, 8:09 pm, mdipierro wrote:
> db.define_table('some',
> SQLField('name', 'string'),
> SQLField('parent', 'referece some'))
>
> On Feb 20, 6:01 pm, Jaime Barciela wrote:
>
> > Hello all,
>
> > I have not found answers for these two questions in the ma
Thanks for the pointer. I am on Linux, but that command should work for
me too.
---
Regards,
Jason Brower
On Sat, 2009-02-21 at 12:17 -0800, Francisco Gama wrote:
> I wouldn't recommend that procedure specially if you are on a Mac
> where overwriting means replacing (this means that using Finder
I realized after creating my users table that there is a better way to
setup authentication found here...
http://mdp.cti.depaul.edu/examples/default/tools#authentication
But I can't seem to figure out how to modify my current "users" table to
work with the new class...
from gluon.tools import
Hi, is it possible to set the "auto now add" to a data time property ?
(do not confuse with the default=now !)
thanks
>DateTimeProperty(auto_now_add=True)
Sebastian E. Ovide
Sent from: Buenos Aires Argentina.
--~--~-~--~~~---~--~~
You can create your own table but...
1) this
> def __init__ (self, environment, T, db = db.users):
is wrong because you cannot pass a table where web2py expects a
database connection
2) your "users" table must have an "email" field, not "email_address"
3) the proper way to use your ta
Hi there,
I have used CAS previously for single-sign and it worked well. Whats
recommended now? Auth or CAS?
I would like to have authentication to do record level edit/updates
and have the same user login for multiple apps? Can I do this in Auth?
Thanks,
Sebastian
--~--~-~--~~
Right now they serve two distinct purpose.
CAS does single sign on but no access control
Auth does basic authentication and group based access control.
It would be possible to implement authentication on CAS and/or
implement CAS using Auth.
A more ambitious goal is to extend CAS to support dis
So I guess this is a bug. Can you take a look at this, Achipa? Here is
what I did.
1. I am running web2py_win.zip, the windows distribution bundle, v
1.56.3, on a Windows XP Home edition 5.1.2600, SP3.
2. For simplicity, I have this in my controller/default.py
def trigger():
import logging
On Feb22, 7:53am, AchipA wrote:
> On Feb 21, 9:12 pm, David Marko wrote:
>
> > I would also appreciate some working example/appliance for using
> > *cron. Its very usefull thing!!!
>
> web2py comes with an example (cleaning sessions), see applications/
> admin/cron ! Do you think additional exam
39 matches
Mail list logo