Re: [web2py] Re: weird behavior using LOAD

2010-09-06 Thread David Waldrop
I tried it both ways, but neither worked. Here is the current controller. Am I naming and referencing the formname correctly? def comment(): print 'in comment controller with item_id = ', request.args(0) item_id=request.args(0) db.itemcomments.item_ref.default=item_id db.itemcom

Re: [web2py] Re: weird behavior using LOAD

2010-09-06 Thread David Waldrop
#x27;Invalid data.' comments=db(db.itemcomments.item_ref==item_id).select(orderby=db.itemcomments.created_on) return dict(form = form,comments=comments) But when invoked via the LOAD and there are multiple items on the page it does not work. On Mon, Sep 6, 2010 at 9:47 AM, David Waldrop wrote: &g

RE: [web2py] Re: confused about services and authorization

2010-10-24 Thread David Waldrop
Massimo, moving the function out of the controller enabled me to successfully invoke the function via xmlrpc on my development machine, but not on the production version. In the forum I see that this (303) supposedly indicates invalid authorization, but the testing credentials are valid on both si

Re: [web2py] Re: confused about services and authorization

2010-10-24 Thread David Waldrop
ault controller, and moving the getmeeting function to a model > file, i am not able to access in the dev server or the productiontion > server. I am 100% sure the credentials are correct, but cannot figure > out why the authentication is not happening. > > On Oct 24, 2:13 pm, "Davi

Re: [web2py] Re: confused about services and authorization

2010-10-24 Thread David Waldrop
o a model > file, i am not able to access in the dev server or the productiontion > server. I am 100% sure the credentials are correct, but cannot figure > out why the authentication is not happening. > > On Oct 24, 2:13 pm, "David Waldrop" wrote: > > Massimo, moving

RE: [web2py] Re: confused about services and authorization

2010-10-24 Thread David Waldrop
services and authorization Can you also tell us more about the production server? What web server? Os? On Oct 24, 3:52 pm, "David Waldrop" wrote: > Massimo,  Thanks. This is absolutely maddening.  Attached is simple > app.  It exposes 1 service "getmeetings" located in the

RE: [web2py] Re: confused about services and authorization

2010-10-25 Thread David Waldrop
t;) rserver.getmeetings() -Original Message- From: David Waldrop [mailto:david.wald...@gmail.com] Sent: Sunday, October 24, 2010 5:35 PM To: web2py@googlegroups.com Subject: RE: [web2py] Re: confused about services and authorization It’s the standard webfaction config, web2py and python insta

Re: [web2py] Re: confused about services and authorization

2010-11-02 Thread David Waldrop
I tried several variations of encoding the url but got the following. Last login: Mon Nov 1 05:46:43 on ttys000 pydlw-mac-laptop:~ David$ python Python 2.5 (r25:51918, Sep 19 2006, 08:49:13) [GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin Type "help", "copyright", "credits" or "license"

Re: [web2py] Re: confused about services and authorization

2010-11-02 Thread David Waldrop
be @auth.requires_login() def call(): return service() and NOT @auth.requires(auth.user) def call(): return service() On Nov 2, 12:41 pm, David Waldrop wrote: > I tried several variations of encoding the url but got the following. > > Last login: Mon Nov 1 05:46:43 on ttys000 > p

Re: [web2py] Re: problem with left join and SQlFORM.grid

2012-07-21 Thread david waldrop
will do. and report back promptly Massimo Di Pierro Saturday, July 21, 2012 2:17 PM You are using web2py stable. groupby is only in trunk. In 5 minutes, try the nightly build. On Saturday, 21 July 2012 12:35:55 UTC-5, david.waldrop wrote: -- david.wald

Re: [web2py] Re: problem with left join and SQlFORM.grid

2012-07-21 Thread david waldrop
Massimo, I tried to install nightly build, but have encountered an error. I get a message when i run web2py that zipimport.zipimorterror: can't find module 'gluon' i am running on win7 today this is my 1st time getting the nightly build. i simply copied the structre over the top of my exist

Re: [web2py] Re: problem with left join and SQlFORM.grid

2012-07-22 Thread david waldrop
turday, 21 July 2012 16:43:22 UTC-5, david.waldrop wrote: -- david waldrop <mailto:david.wald...@gmail.com> Saturday, July 21, 2012 5:43 PM Massimo, I tried to install nightly build, but have encountered an error. I get a message when i run web2py that zipimport.zipimorterror: can&#

Re: [web2py] Re: problem with left join and SQlFORM.grid

2012-07-22 Thread david waldrop
Massimo, the orderby clause on SQLFORM.grid works like a charm. 1000 thank you's for you support and help. /david david waldrop <mailto:david.wald...@gmail.com> Sunday, July 22, 2012 5:45 AM I downloaded the Windows Nightly build. I will try running form source, so am unsure h

Re: [web2py] Re: problem with left join and SQlFORM.grid

2012-07-22 Thread david waldrop
e to see what is going on but am getting worried andmay have to revert to the old system. Massimo Di Pierro <mailto:massimo.dipie...@gmail.com> Sunday, July 22, 2012 9:59 AM Thanks for checking. This should be made a little easier. Sorry the nightly windows binary is still broken but it is

Re: [web2py] DAL not migrating auth.settings.extra_fields to Postgres (nor is it creating new tables defined in

2012-07-23 Thread david waldrop
Massimo, I finally got it to work last night. I am not sure what I did to get it working or why, but I manually modified the postgres tables(making sure the fields are in the same order as the extra_fileds AND played with combinations of Migrate=True and Fake_migrate=True. I ended up manu

RE: [web2py] Re: Trouble migrating databases

2012-06-03 Thread David Waldrop
Massimo, I am basically using the examples right form the book. I am deleting the local SQLlite database and the tables (now that I have a handle on the migration stuff) and would like to copy the current postgress production database to the local sqlite version. I tried at 1st with meeting m

Re: [web2py] Re: Weird behavior across 2 almost identical Web2py environments

2012-10-01 Thread David Waldrop
Agh.. and I guess it worked in my Dev machine because I had more than one record in the set for 10/1. Sorry to clog this group with thus type of logic error. On Oct 1, 2012 1:22 PM, "Massimo Di Pierro" wrote: > Not all of your results.items()[i][1] have a 'created'. Some only > have {'yymm_coun