that this whl should be
installed on the system the project is deployed on but this app is a stand
alone project. Any help or links to resources would be great. Thanks in
advance
Regards
Don
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
is the purpose
of web2py ? From its
humble beginnings as a teaching tool, it has come a long way. Massimo, have you
(or any of the
core architects) published a roadmap for the next few years?
Don
On Sep 5, 2014, at 13:05, Vinicius Assef vinicius...@gmail.com wrote:
I don't agree with killing a way
thing about web2py
is that is in some respects an unobtrusive layer on python - i.e. the framework
doesn't
get in the way, it is just there when you need it. And learning web2py really
means learning
how to read good python, and then write good python.
Don
On Aug 10, 2014, at 14:29, Cliff
for keeping up with the trolls, Massimo !!
Don
On Jul 17, 2014, at 2:22, Massimo Di Pierro massimo.dipie...@gmail.com wrote:
http://www.reddit.com/r/Python/comments/2awyjd/web2py/
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
enough:
http://en.wikipedia.org/wiki/How_to_Solve_It
Don
On Jul 16, 2014, at 1:11, Ron McOuat ron.mco...@gmail.com wrote:
I most often use print statements which have to be removed for running under
Apache for example. Alternative is to use the logging facility. Because of
the nature of web
tools listed here:
https://wiki.python.org/moin/PythonDebuggingTools(especially open source tools
that can run on OS X.)
Or, do you prefer logging to files/screen, etc?
Thanks,
Don
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
Thanks ! A case of tired eye syndrome...
Works fine now.
Don
On Jul 14, 2014, at 8:02, lyn2py lyn...@gmail.com wrote:
Syntax doesn't look right. Should be:
row=db.test_all_fields(request.args[1])
form=SQLFORM(db.test_all_fields, row)
On Monday, July 14, 2014 8:27:59 AM UTC+8, Don
!!
Don
Field(name, 'string', length=None, default=None,
required=False, requires='default',
ondelete='CASCADE', notnull=False, unique=False,
uploadfield=True, widget=None, label=None, comment=None,
writable=True, readable=True, update=None, authorize=None,
autodelete
submission).
Also, the introductory topic are several years old.
It would be interesting to hear your analyses of the other web/python frameworks
you have reviewed. Which is best is a frequent question on this group Of
course,
best needs to be defined...
Don
On Jun 19, 2014, at 9:04
an O'Reilly book.!
Don
On May 9, 2014, at 9:33, duncan macneil beatgroo...@gmail.com wrote:
On Thursday, 8 May 2014 22:29:31 UTC+10, Willoughby wrote:
Is Azure in your shoot-out? I'd be interested in hearing those results...
Hey, woah, I'm the cloud shootout guy now? ;-) Cool!
I have
On Thu, Jan 2, 2014 at 6:50 PM, rochacbruno rochacbr...@gmail.com wrote:
Hi Manuele,
Thanks for the report.
I will check the problem ASAP.
Alan (spametki), Anthony and Massimo are also able to access the
web2pyslices admin.
BTW: web2pyslices needs more contributors, some things needs
', 'plot.status':'Plot(s) Status'},
left=db.garden.on(db.garden.id==db.plot.garden_id),
orderby=db.garden.name|db.plot.name,
groupby=db.garden.name|db.plot.status)
Thanks!
Don
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https
the ranks as a purely procedural
programmer, and
becoming more functional can be difficult. Do you know of any good texts
for beginners like
me to become more functional and less procedural ? Or is it just a case
of working inside out and constructing
the statement that way?
Thanks,
Don
not work !
thank you
Don
--
Definitely clearer ! ... Thanks a bunch guys ! ...
in conclusion :
whenever one decides to do the conditional model approach for performance
concerns or else ...
database tables better be defined first ! even more so if there are
reference fields in the tables involved! in which case a table
After a night sleep ...
I woke up ... read the code again .. and bingo .. no errors .. it is
almost fixed
with this :
...
if isinstance(fields,tuple):
mytables = ['auth_user','user_info']
form_fields = []
[form_fields.extend([db[t][f] for f in
Actually, when the tables are used by themselves ! with a simple controller
The first one ( auth_user ) works perfectly ... datas are recorded
but the second one ( user_info ) gives me a clear error on 2.0.9 stable
version
type 'exceptions.RuntimeError' Unable to handle upload
but with the
no redirect is taking place ??
thank you
Don
--
form = SQLFORM(db.auth_user)
...
--
William James nous dit : '' La plus grande découverte de ma génération est
que l'être humain peut transformer sa vie simplement en modifiant sa
maniére de penser.''
--
Le Don X
--
dit : '' La plus grande découverte de ma génération est
que l'être humain peut transformer sa vie simplement en modifiant sa
maniére de penser.''
--
Le Don X
--
don't be sorry for jumping in it is appreciated ! .. and refreshing to
noticed that there are canadian folks like me on here !
to resume ... from all the responses received - the best canadian postal
code validation is actually the one submitted by Adnan :
this one :
thank you guys ... so the set of characters only ( exclusively ) need to
be referred to as : [A-Za-z]
perfect ... thank you again.
--
again
Don
--
thank you Bruno for the update ! .. I will look it up shortly.
--
Indeed ! ... Bruno is tha Man !
--
Well .. so far all the mini apps I have done on web2py 1.99.7 are
working fine with 2.02+ ... I have not found any issues yet ! ... except
for that upgrade button on 1.99.7 that is not working on any platform or
browser !! ( well .. maybe with a mac platform ! - I did not test it on a
mac
, the email_check variable).
Anthony
--
--
William James nous dit : '' La plus grande découverte de ma génération est
que l'être humain peut transformer sa vie simplement en modifiant sa
maniére de penser.''
--
Le Don X
--
modifiant sa
maniére de penser.''
--
Le Don X
--
Has anyone used web2py services with extjs, such as json-rpc? If so,
do you have example code that you can share?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email
Ext.Direct implements it's own specification that is not as simple as
json-rpc to setup and use.
On Nov 10, 11:49 am, Fran francisb...@googlemail.com wrote:
On Nov 10, 8:58 am, Don sam...@gmail.com wrote:
Has anyone used web2py services with extjs, such as json-rpc? If so,
do you have
pyjamas.
On Thu, Oct 22, 2009 at 11:37 PM, mdipierro mdipie...@cs.depaul.edu wrote:
should we include jsonrpclib in contrib?
Massimo
On Oct 22, 1:51 pm, Don Lee sam...@gmail.com wrote:
I made some progress. Using jsonrpclib I am able to do the following
Is there anything within web2py's json-rpc implementation that would
prevent cross domain calls?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to
this. If poeple have any idea let me know.
On Oct 23, 8:24 am, Don Lee sam...@gmail.com wrote:
Is there anything within web2py's json-rpc implementation that would
prevent cross domain calls?
--~--~-~--~~~---~--~~
You received this message because you are subscribed
applications and
don't need special features in Web2py. If you want crossdomain feature
in QooxDoo you must set the crossDomain property to true:
var rpc = new qx.io.remote.Rpc(http://targetdomain.com/appname/
function/call/jsonrpc);
rpc.setCrossDomain(true);
On 23 oct, 16:01, Don Lee
I have created a test application to play around with json-rpc.
=
# coding: utf8
def index():
return dict()
def call():
return service
@service.jsonrpc
def echo(msg)
return msg
=
How
to build that from the shell.
On Oct 22, 12:54 pm, Don Lee sam...@gmail.com wrote:
I have created a test application to play around with json-rpc.
=
# coding: utf8
def index():
return dict()
def call():
return service
app'?
Don.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
web2py+unsubscr
Yes, that is a possibility. I could do something similar to this
using a small Python application instead of a shell script as I
want something that will run on Windows.
Thanks,
Don.
On Oct 5, 8:02 pm, Álvaro Justen [Turicas] alvarojus...@gmail.com
wrote:
My mother uses a system based
Fluid, Prism and Chrome 'application short-cuts' all look very
similar.
Don.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to web2py@googlegroups.com
a standard desk-top application.
(Before anyone asks why I would want to do this, I want an application
that is portable between the web and the desktop).
TIA.
Don.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
How can I modify the URL that crud.tables() generates in the form.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe
Ex:
x = 'db.table.id == value'
query = db(x)
* This fails. Is it possible to convert a string into a query?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email
, Yarko Tymciurak yark...@gmail.com wrote:
the idiom is db(WHERE_CLAUSE).select(FROM_CLAUSE) (a simplification, but
you get the idea)
so you want
query_results = db(x).select()
or (equivalently):
query_results = db(x).select(db.table.ALL)
On Thu, Sep 10, 2009 at 9:26 AM, Don sam
()
in this case x is valid SQL. Notice it is not 'db.table.id' but
'table.id' because db is a web2py animal not a SQL animal.
On Sep 10, 9:41 am, Don sam...@gmail.com wrote:
Okay, that was a bad example and my fault. Let's try again
x = 'db.table.id == value'
query = x
set = db(query)
row
Has anyone else experienced the following behavior:
I am using version 1.66.2 and whenever I pack an application, it seems
that APP NAME/views/web2py_ajax.html is not included in the wp2
file. The causes problems when trying to administrator the database.
Also, sometimes the wp2 file is bad.
v2.6.2
On Sep 9, 12:31 pm, mdipierro mdipie...@cs.depaul.edu wrote:
This is a known bug in python 2.6.1. What python version are you
using?
On Sep 9, 9:57 am, Don sam...@gmail.com wrote:
Has anyone else experienced the following behavior:
I am using version 1.66.2 and whenever I pack
I know it seems strange but LDAP authentication works best if you follow the
books recommendation. I spent some time trying to understand the code. I
used wingIDE to try to understand what was going on (I am new to python). I
tried only LDAP, inserting LDAP before the reference to auth, and
as currently LDAP support is really basic.
In my case, I want to authenticate only against LDAP and no
registration is required.
On Sep 1, 12:18 pm, Don Lee sam...@gmail.com wrote:
I know it seems strange but LDAP authentication works best if you follow the
books recommendation. I spent some
I need to access a database that was not created by me. I have read-
only access so, when I define the layout, web2py cannot create an id
field. is there some way for me to access this database, perhaps
somehow alias their primary key to id?
--~--~-~--~~~---~--~~
Thanks, I thought about that. But as I said I do not have administrative
access to the server. I will talk to the database directly. I was just
curious is someone had another way around this. it would be nice if I would
map a primary key in web2py or have a primary key that was not an integer.
pm, Don sam...@gmail.com wrote:
What happens in the case that you have no administrative access to the
LDAP server, and asking an admin to create such a group for you is
really not an option. LDAP only is the correct solution for you but
may not be the case for everyone. A flexible option
. ;-)
On Aug 27, 9:47 am, Don Lee sam...@gmail.com wrote:
I believe in a previous thread you wrote that people who bought
the
previous
edition from lulu could get a free copy of the 2nd edition if
they
sent you
a copy of their receipt. Does
I believe in a previous thread you wrote that people who bought the previous
edition from lulu could get a free copy of the 2nd edition if they sent you
a copy of their receipt. Does that offer still stand?
On Thu, Aug 27, 2009 at 7:24 AM, mdipierro mdipie...@cs.depaul.edu wrote:
Yes this was
I am also trying to authenticate against a LDAP server (not working).
I cannot get the ldapwhoami command to work, but ldap search does work
for me. I do not think the server can respond to the command.
ldapsearch does work:
ldapsearch -b 'ou=yp,o=company.com' -H ldaps://yp.company.com -x
I took a look at the source code and I see that the mode option has
a specific set of accepted values. our user names are based on the
mail field in the ldap record. not uid. So this would not work at
all. unless I change the source.
On Aug 25, 3:24 pm, Don sam...@gmail.com wrote:
I am also
what I can do. Thanks
for the help.
On Aug 25, 3:57 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Please send me a patch to allow this.
Massimo
On Aug 25, 2:47 pm, Don sam...@gmail.com wrote:
I took a look at the source code and I see that the mode option has
a specific set of accepted
=bluepages,o=ibm.com'))
===
It didn't work.
On Tue, Aug 25, 2009 at 5:02 PM, Don sam...@gmail.com wrote:
I made a mistake. ldapsearch does in fact return a uid. I do not
manage the ldap server, so I did not know how it was setup. I think
when we
='yp.company.com',
base_dn='ou=yp,o=company.com')]
==
** I will add a try to catch eventual errors and set it up so that the admin
will have to approve the users.
On Tue, Aug 25, 2009 at 6:54 PM, Don Lee sam
Is it possible to define a secure database connection?
Ex: db = DAL(‘postgres://user:passw...@hostname/db’, pools=10,
secure=True)
My production DB and web servers are running on a different machines.
--~--~-~--~~~---~--~~
You received this message because you
used by the tunnel.
Massimo
On Aug 23, 7:47 am, Don sam...@gmail.com wrote:
Is it possible to define a secure database connection?
Ex: db = DAL(‘postgres://user:passw...@hostname/db’, pools=10,
secure=True)
My production DB and web servers are running on a different machines
, 2009 at 10:04 AM, mdipierro mdipie...@cs.depaul.edu wrote:
Then I do not understand what you mean by secure connection. Is
there a secure connection function provided by postgresql and psycopg2
that web2py is not using and should be using?
Massimo
On Aug 23, 8:14 am, Don sam...@gmail.com
, 2009 at 7:41 AM, Graham Dumpleton
graham.dumple...@gmail.com wrote:
On Aug 20, 5:45 pm, Graham Dumpleton graham.dumple...@gmail.com
wrote:
On Aug 20, 12:21 pm, Graham Dumpleton graham.dumple...@gmail.com
wrote:
On Aug 20, 5:14 am, Don Lee sam...@gmail.com wrote:
I'll try
sense.
Massimo
On Aug 11, 8:50 am, Don sam...@gmail.com wrote:
I am new to the MVC paradigm, python, and web2py. I would like to be
able to:
1. create a controller (done)
1. define a series of functions (including index)
2. call any of the function from a single view.
Example. I
Can that working configuration be posted to this list?
On Wed, Aug 19, 2009 at 10:21 PM, Graham Dumpleton
graham.dumple...@gmail.com wrote:
On Aug 20, 5:14 am, Don Lee sam...@gmail.com wrote:
I'll try that, but I got that from the web2py_manual. The manual gives
an
example
:23 PM, Graham Dumpleton
graham.dumple...@gmail.com wrote:
On Aug 20, 5:24 am, Don Lee sam...@gmail.com wrote:
Removing Alias line causes a different error.
===
Service Temporarily Unavailable
The server is temporarily unable to service your request due
/welcome/static/. So I am a lot closer.
On Thu, Aug 20, 2009 at 5:53 AM, Don Lee sam...@gmail.com wrote:
Can that working configuration be posted to this list?
On Wed, Aug 19, 2009 at 10:21 PM, Graham Dumpleton
graham.dumple...@gmail.com wrote:
On Aug 20, 5:14 am, Don Lee sam
I am trying to deploy my app on a CentOS 5.3 server running apache. I get
an error message whenever I try to access the apps.
==
Forbidden
You don't have permission to access /apps/ on this server.
==
I have python2.6.2
?) probably
does not have correct permissions for your web2py installation.
There are a couple of ways to address this, depending on if you have sudo
or root access (e.g. if it's your own server, or if you just have an
account).
On Wed, Aug 19, 2009 at 11:08 AM, Don Lee sam...@gmail.com wrote
Can someone post a working apache config for rhel/centos5 ?
On Wed, Aug 19, 2009 at 2:01 PM, Fran francisb...@googlemail.com wrote:
On Aug 19, 5:08 pm, Don Lee sam...@gmail.com wrote:
Alias /apps /usr/local/web2py/current/applications
Try removing the line above
WSGIScriptAlias /apps
forbidden by Options directive:
/usr/local/web2py/current/applications/welcome/
===
On Wed, Aug 19, 2009 at 3:14 PM, Don Lee sam...@gmail.com wrote:
Can someone post a working apache config for rhel/centos5 ?
On Wed, Aug 19, 2009 at 2:01 PM, Fran francisb...@googlemail.com
to my Location stanza. Now I get a directory listing in the
welcome app. Not sure if this is progress.
On Wed, Aug 19, 2009 at 3:24 PM, Don Lee sam...@gmail.com wrote:
Removing Alias line causes a different error.
===
Service Temporarily Unavailable
The server
I have defined my model.
# coding: utf8
# define a SQLite database
database=SQLDB(sqlite://database.db)
# create a vendor table
database.define_table('vendor',
database.Field('name'),
database.Field('alias'),
I am new to the MVC paradigm, python, and web2py. I would like to be
able to:
1. create a controller (done)
1. define a series of functions (including index)
2. call any of the function from a single view.
Example. I have a model that consists of three tables. My default.py
controllers index
),
version CHAR(32),
alias CHAR(32),
active CHAR(32)
);
success!
On Tue, Aug 11, 2009 at 10:00 AM, Don sam...@gmail.com wrote:
I have defined my model
delete
everything in the folder databases/.
Massimo
On Aug 11, 10:41 am, Don Lee sam...@gmail.com wrote:
Thanks, that got rid of my problem with a false value for the boolean.
# coding: utf8
# define a SQLite database
Massimo:
Why do you prefer pyAMF + Flash to pyjamas?
Thx.
Don.
On Dec 19, 12:48 pm, mdipierro mdipie...@cs.depaul.edu wrote:
If your game runs in the browser you are much better off using Flash
(pyAMF)+web2py, else use Pygame+twisted
See: http://flowplayer.org/download/LICENSE_GPL.txt
On Dec 9, 3:59 pm, mdipierro [EMAIL PROTECTED] wrote:
I am not sure the license allow redistribution. I cannot find the
license.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
77 matches
Mail list logo