[web2py] Using whl files with web2py

2016-10-11 Thread Don M
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/w

Re: [web2py] a proposal for form improvement

2014-09-05 Thread Don O'Hara
hat 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 wrote: > I don't agree with killi

Re: [web2py] Re: Web2py vs ruby on rails for a startup?

2014-08-10 Thread Don O'Hara
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,

Re: [web2py] Trolls at work against web2py!

2014-07-17 Thread Don O'Hara
perfect for every job. Thanks for keeping up with the "trolls", Massimo !! Don On Jul 17, 2014, at 2:22, Massimo Di Pierro wrote: > http://www.reddit.com/r/Python/comments/2awyjd/web2py/ > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (

Re: [web2py] Re: Favorite debuggers?

2014-07-16 Thread Don O'Hara
tack. I cannot recommend this book highly enough: http://en.wikipedia.org/wiki/How_to_Solve_It Don On Jul 16, 2014, at 1:11, Ron McOuat 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.

[web2py] Favorite debuggers?

2014-07-15 Thread Don O'Hara
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

Re: [web2py] Re: SQLFORM: 'str' object has no attribute 'writable' error

2014-07-14 Thread Don O'Hara
Thanks ! A case of tired eye syndrome... Works fine now. Don On Jul 14, 2014, at 8:02, lyn2py 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

[web2py] SQLFORM: 'str' object has no attribute 'writable' error

2014-07-13 Thread Don O'Hara
Field('f13_time','time'), Field('f14_datetime','datetime'), #Field('f15_list_integer','list:integer'), #Field('f16_list_string',&#x

Re: [web2py] web2py and self-submission/postbacks - a newcomer asks

2014-06-19 Thread Don O'Hara
(self 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

Re: [web2py] Re: Here's how to run Web2Py on IBM BlueMix

2014-05-09 Thread Don O'Hara
become an O'Reilly book.! Don On May 9, 2014, at 9:33, duncan macneil 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 gu

Re: [web2py] Re: OT: movuca internal error on comment

2014-03-10 Thread Don O'Hara
On Thu, Jan 2, 2014 at 6:50 PM, rochacbruno 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 rewrite, if >

[web2py] simple count(*) field in SQLFORM.grid

2014-02-24 Thread Don O'Hara
ORM.grid(db.garden, fields=[db.garden.name,db.plot.status], headers={'garden.name':'Garden', '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 -

Re: [web2py] Re: for... in usage

2014-02-02 Thread Don O'Hara
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 th

Re: [web2py] Re: About crud.update to edit or update a user's profile info !

2012-12-01 Thread Le Don X
not work ! thank you Don --

Re: [web2py] I am looking for specifics : how to db.define_table in sub directories in the MODELS directory !

2012-10-19 Thread Le Don X
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 cr

Re: [web2py] formwizard with 2 tables : - not working ! .. please help !

2012-10-05 Thread Le Don X
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 db[t].f

Re: [web2py] formwizard with 2 tables : - not working ! .. please help !

2012-10-03 Thread Le Don X
RL(args=step+1)) >else : > for k in mytables : > db[k].insert(**session.register) > session.flash = T('Signup completed') > redirect(fields) >return dict(form=form,step=step) > > Why the data entered by the user are not making it to the tables ?? why no ticket or errors ? .. why no redirect is taking place ?? thank you Don --

Re: [web2py] formwizard with 2 tables : - not working ! .. please help !

2012-10-03 Thread Le Don X
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 Unable to handle upload but with the codes of the controller shown abov

Re: [web2py] Re: extra_field in auth_user problem !

2012-09-30 Thread Le Don X
ble = True > 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 --

Re: [web2py] Re: I cannot make ".../[app]/default/user/register " to behave differently !!!

2012-09-27 Thread Le Don X
-- 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 --

Re: [web2py] Re: Problems with a validation procedure ? - a Canadian postal code !

2012-09-26 Thread 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 : ^[ABCEGHJKLMNPRSTVXY]{1

Re: [web2py] Re: Problems with a validation procedure ? - a Canadian postal code !

2012-09-25 Thread Le Don X
thank you guys ... so the set of characters only ( exclusively ) need to be referred to as : [A-Za-z] perfect ... thank you again. --

Re: [web2py] Question about the necessity to have 2 auth_user tables in a web2py app.... ?

2012-09-14 Thread Le Don X
again Don --

Re: [web2py] Modelless app no longer works with web2py 2.0.x ???

2012-09-09 Thread Le Don X
thank you Bruno for the update ! .. I will look it up shortly. --

Re: [web2py] Re: Checking for upgrades isn't working as I expected (1.99.7 installed)

2012-09-04 Thread Le Don X
Indeed ! ... Bruno is tha Man ! --

Re: [web2py] Is 2.0.2 or 2.0.3 really a stable version?

2012-08-31 Thread Le Don X
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 )

Re: [web2py] Short way to update or insert data from SQLFORM.factory into the main db.my_table ??? ...

2012-06-26 Thread Le Don X
So, if you pass form.vars to > it, it will remove any items that don't belong to the db.auth_user table > (in this case, 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 --

Re: [web2py] Re: Question about a complex model & the associated form ( from controller to view )

2012-06-20 Thread Le Don X
>> the next steps ( and certain fields ) to be shown will not be the same >>> ... so .. I definitely need to create separate table for each user type >>> ... what if a specific user type ( such as a club and a league) >>> actually needs its own database instead of a table in my main database ! >>> ??? how do I approach this in the model and consequently in the controller >>> to the view ??? >>> To put it in context : a player or ref or coach is a user, ( simple ) >>> ... and most club owners and persons will be the same basic auth_user ! but >>> on the other hand ... >>> a team is a list of registered users >>> a club is a list of teams and users ( that >>> are not teams ) >>> a league is a list of clubs and users ( >>> that are not clubs, like volunteers, workers, etc.. ) >>> >>> Am i approaching this the right way ??? ... >>> >>> please advise >>> >>> thank you >> >> -- 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 --

[web2py:35047] Re: Accessing Web2Py services via ExtJS

2009-11-10 Thread Don
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 wrote: > > On Nov 10, 8:58 am, Don wrote: > > > Has anyone used web2py services with extjs, such as json-rpc?  If so, > > > do you have ex

[web2py:35020] Accessing Web2Py services via ExtJS

2009-11-10 Thread Don
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 emai

[web2py:33523] Re: cross doman json-rpc

2009-10-23 Thread Don Lee
n'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

[web2py:33507] Re: cross doman json-rpc

2009-10-23 Thread Don Lee
is. If poeple have any idea let me know. > > On Oct 23, 8:24 am, Don Lee wrote: >> Is there anything within web2py's json-rpc implementation that would >> prevent cross domain calls? > > > --~--~-~--~~~---~--~~ You received this m

[web2py:33502] cross doman json-rpc

2009-10-23 Thread Don Lee
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 web2py@googl

[web2py:33500] Re: testing json-rpc from the shell

2009-10-23 Thread Don Lee
pyjamas. On Thu, Oct 22, 2009 at 11:37 PM, mdipierro wrote: > > should we include jsonrpclib in contrib? > > Massimo > > On Oct 22, 1:51 pm, Don Lee wrote: > > I made some progress. Using jsonrpclib I am able to do the following. > > > >

[web2py:33447] Re: testing json-rpc from the shell

2009-10-22 Thread Don Lee
test from the CLI ! That should help debugging. I I had waited a couple of minutes, I could have saved an e-mail, but hopefully others will find this useful. On Thu, Oct 22, 2009 at 2:30 PM, mdipierro wrote: > > Ignore my previous message. > > I do not know. It is an RPC so t

[web2py:33436] testing json-rpc from the shell

2009-10-22 Thread 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 can

[web2py:32260] Re: web2py + pyjamas desktop = a desktop framework?

2009-10-05 Thread don
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

[web2py:32258] Re: web2py + pyjamas desktop = a desktop framework?

2009-10-05 Thread don
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] wrote: > My mother uses a system based on web2py and I've

[web2py:32249] Re: web2py + pyjamas desktop = a desktop framework?

2009-10-05 Thread don
id when he 'embedded web2py in a desktop 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

[web2py:32109] web2py + pyjamas desktop = a desktop framework?

2009-10-02 Thread don
run like 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 Goo

[web2py:30766] crud.tables

2009-09-11 Thread Don
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 fr

[web2py:30625] Re: Building queries from strings

2009-09-10 Thread Don
set.select() > > 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 wrote: > > > Okay, that was a bad example and my fault.  Let's try again >

[web2py:30619] Re: Building queries from strings

2009-09-10 Thread Don
query? On Sep 10, 10:32 am, Yarko Tymciurak 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).sel

[web2py:30614] Building queries from strings

2009-09-10 Thread Don
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

[web2py:30509] Re: 'pack all' option leaves out a file

2009-09-09 Thread Don
v2.6.2 On Sep 9, 12:31 pm, mdipierro wrote: > This is a known bug in python 2.6.1. What python version are you > using? > > On Sep 9, 9:57 am, Don wrote: > > > Has anyone else experienced the following behavior: > > > I am using version 1.66.2 and whenever I

[web2py:30497] 'pack all' option leaves out a file

2009-09-09 Thread Don
Has anyone else experienced the following behavior: I am using version 1.66.2 and whenever I pack an application, it seems that /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. I made a

[web2py:29839] Re: Bug in alternate authentication

2009-09-01 Thread Don Lee
Agreed. On Tue, Sep 1, 2009 at 5:34 PM, Ahmed Soliman wrote: > > Sure flexibility is needed but what I've spotted is a 'bug', it won't > remove the flexibility, what I was suggesting about LDAP groups is the > best practice for doing such things... > > Be

[web2py:29835] Re: accessing a database I cannot define or control

2009-09-01 Thread Don Lee
. On Tue, Sep 1, 2009 at 2:44 PM, Yarko Tymciurak wrote: > > I think at this time your best option is to create a view of the table > in question in a database server, and remap the primary key in that > way. > > On Tue, Sep 1, 2009 at 10:40 AM, Don wrote: > > > > I

[web2py:29805] accessing a database I cannot define or control

2009-09-01 Thread Don
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? --~--~-~--~~~---~--~

[web2py:29796] Re: Bug in alternate authentication

2009-09-01 Thread Don
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 wrote: > > > I know it seems strange but LDAP authentication works best if you follow the > > books

[web2py:29782] Re: Bug in alternate authentication

2009-09-01 Thread Don Lee
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 doin

[web2py:29597] Re: web2py book, 2nd Ed

2009-08-28 Thread Don
se > > > I > > > > > >> prefer donations of time (you can use to develop and learn web2py > > > > > >> code) and work (contribute to web2py, translate docs, blog about > > > > > >> it, > > > > > >&

[web2py:29532] Re: web2py book, 2nd Ed

2009-08-27 Thread Don
free ;-) . I find web2py to be very useful and would not mind supporting it like public radio/television. On Aug 27, 11:33 am, mdipierro wrote: > Yes, makes no difference to me but consider, you'd be cutting few > valuable dollars from the web2py budget. ;-) > > On Aug 27, 9

[web2py:29503] Re: web2py book, 2nd Ed

2009-08-27 Thread Don Lee
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 wrote: > > Yes this was a mistake. > > On Aug

[web2py:29371] Re: ldap-auth issue

2009-08-25 Thread Don Lee
= auth.settings.login_methods=[ldap_auth(mode='company', server='yp.company.com', base_dn='ou=yp,o=company.com')] == ** I will add a try to catch eventual errors and set it up

[web2py:29366] Re: ldap-auth issue

2009-08-25 Thread Don Lee
ldap_auth(mode='company', server='yp.company.com', base_dn='ou=bluepages,o=ibm.com')) ======= It didn't work. On Tue, Aug 25, 2009 at 5:02 PM, Don wrote: > > I made a mistake. ldapsearch does i

[web2py:29365] Re: ldap-auth issue

2009-08-25 Thread Don
what I can do. Thanks for the help. On Aug 25, 3:57 pm, mdipierro wrote: > Please send me a patch to allow this. > > Massimo > > On Aug 25, 2:47 pm, Don wrote: > > > I took a look at the source code and I see that the "mode" option has > > a specific set

[web2py:29357] Re: ldap-auth issue

2009-08-25 Thread Don
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 wrote: &

[web2py:29353] Re: ldap-auth issue

2009-08-25 Thread Don
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 'mail=

[web2py:29161] Re: SSL database connections

2009-08-23 Thread Don Lee
user", password="dbpass") On Sun, Aug 23, 2009 at 10:04 AM, mdipierro 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 shoul

[web2py:29153] Re: SSL database connections

2009-08-23 Thread Don
he tunnel. > > Massimo > > On Aug 23, 7:47 am, Don wrote: > > > Is it possible to define a secure database connection? > > > Ex: db = DAL(‘postgres://user:passw...@hostname/db’, pools=10, > > secure=True) > > > My production

[web2py:29150] SSL database connections

2009-08-23 Thread Don
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 are

[web2py:29099] Re: calling function from the view

2009-08-21 Thread Don Lee
RL(f='f2')}}",[],'f2'); > })}; > > > #view partial_view1.html > Hello > > #view partial_view2.html > World > > > Hope it makes sense. > > Massimo > > > On Aug 11, 8:50 am, Don wrote: > > I am new to the MVC paradigm, pyth

[web2py:29089] Re: Deployment Issues on CentOS

2009-08-21 Thread Don Lee
rking. On Fri, Aug 21, 2009 at 7:41 AM, Graham Dumpleton < graham.dumple...@gmail.com> wrote: > > > > On Aug 20, 5:45 pm, Graham Dumpleton > wrote: > > On Aug 20, 12:21 pm, Graham Dumpleton > > wrote: > > > > > On Aug 20, 5:14 am, Don Lee wrote:

[web2py:29003] Re: Deployment Issues on CentOS

2009-08-20 Thread Don Lee
quot;/welcome/static" instead of "/apps/welcome/static/". So I am a lot closer. On Thu, Aug 20, 2009 at 5:53 AM, Don Lee wrote: > Can that working configuration be posted to this list? > > > On Wed, Aug 19, 2009 at 10:21 PM, Graham Dumpleton < > graham.dumple

[web2py:28990] Re: Deployment Issues on CentOS

2009-08-20 Thread Don Lee
, Graham Dumpleton < graham.dumple...@gmail.com> wrote: > > > > On Aug 20, 5:24 am, Don Lee wrote: > > Removing "Alias" line causes a different error. > > > > === > > Service Temporarily Unavailable > > > >

[web2py:28991] Re: Deployment Issues on CentOS

2009-08-20 Thread Don Lee
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 wrote: > > I'll try that, but I got that from the web2py_manual. The manual gives

[web2py:28954] Re: Deployment Issues on CentOS

2009-08-19 Thread Don Lee
web2py configs, I add an "Option Indexes" directive 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 wrote: > Removing "Alias" line causes a different error. > &

[web2py:28953] Re: Deployment Issues on CentOS

2009-08-19 Thread Don Lee
Red Hat) configured -- resuming normal operations [Wed Aug 19 15:23:01 2009] [info] Server built: Jul 14 2009 06:02:39 [Wed Aug 19 15:23:10 2009] [error] [client xx.xx.xx.xx] Directory index forbidden by Options directive: /usr/local/web2py/current/applications/welcome/ === On

[web2py:28952] Re: Deployment Issues on CentOS

2009-08-19 Thread Don Lee
Can someone post a working apache config for rhel/centos5 ? On Wed, Aug 19, 2009 at 2:01 PM, Fran wrote: > > On Aug 19, 5:08 pm, Don Lee wrote: > > Alias /apps "/usr/local/web2py/current/applications" > > Try removing the line above > > > WSGIScriptA

[web2py:28950] Re: Deployment Issues on CentOS

2009-08-19 Thread Don Lee
I'll try that, but I got that from the web2py_manual. The manual gives an example of a virtual host configuration, so I've tried to adapt that by taking out the things I feel are related to virtual hosts. On Wed, Aug 19, 2009 at 2:01 PM, Fran wrote: > > On Aug 19, 5:08 pm

[web2py:28941] Re: Deployment Issues on CentOS

2009-08-19 Thread Don Lee
; 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

[web2py:28935] Deployment Issues on CentOS

2009-08-19 Thread Don Lee
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 installed

[web2py:28360] Re: unexpected database initilization

2009-08-11 Thread Don Lee
; everything in the folder databases/. > > Massimo > > On Aug 11, 10:41 am, Don Lee wrote: > > Thanks, that got rid of my problem with a false value for the boolean. > > > > > > # coding: utf

[web2py:28356] Re: unexpected database initilization

2009-08-11 Thread Don Lee
10T11:15:24.411343 CREATE TABLE distro( id INTEGER PRIMARY KEY AUTOINCREMENT, vendor_id CHAR(32), name CHAR(32), alias CHAR(32), active CHAR(32) ); success! timestamp: 2009-08-10T11:15:24.423518 CREATE TABLE release( id INTEGER PRIMARY KEY AUTOINCREMENT, distro_id CHAR(32), v

[web2py:28352] unexpected database initilization

2009-08-11 Thread Don
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'), database.Field('url'

[web2py:28351] calling function from the view

2009-08-11 Thread Don
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

[web2py:14071] Re: Pyjamas + web2py + twisted vs Django + Pinax

2008-12-23 Thread don
Massimo: Why do you prefer pyAMF + Flash to pyjamas? Thx. Don. On Dec 19, 12:48 pm, mdipierro wrote: > > If your game runs in the browser you are much better off using Flash > (pyAMF)+web2py, else use Pygame+twisted. > --~--~-~--~~~---~--~~

[web2py:13265] Re: new in T3 - movie player

2008-12-10 Thread don
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