[web2py] How suitable would Web2Py be for building a federated search engine?

2011-03-27 Thread NoviceSortOf
I'm curious if anybody has built a federated search engine or a front end for a federated search engine with Web2py? Had conversation about this with a client today who suggested Django as a possible framework. My initial reaction was that Django was more invested in content management than com

[web2py:11640] Re: Problems attaching to either remote or localhost PostgreSql

2008-11-11 Thread NoviceSortOf
.yourable.insert(yourfield=yourvalue) > >>> db.commit() required in shell > > Is the insert slow or is the commit slow? > > Massimo > > On Nov 2, 6:39 am,NoviceSortOf<[EMAIL PROTECTED]> wrote: > > > Thanks for your response. > > > PostGreSql a

[web2py:10945] Re: Problems attaching to either remote or localhost PostgreSql

2008-11-02 Thread NoviceSortOf
Thanks for your response. PostGreSql access via web2py is remains very slow at this point. Adding for instance a record takes 30-60 seconds. Everything that accesses the DB seems to have 30 second overhead. * Hardware : duo-core 2gz, 32MB cache hard drive, 1gig Ram. * Via Python having tested

[web2py:10943] Re: Simple search and select / option

2008-11-02 Thread NoviceSortOf
After reviewing your examples above, I've tried the following, but it returns "Invalid request invalid function". Unfortunately I'm unable to tell which line or perhaps if the syntax is incorrect. * Is it possible to test functions like SQLFORM on a command line, or in IDLE or other debug e

[web2py:10935] Re: Problems attaching to either remote or localhost PostgreSql

2008-11-01 Thread NoviceSortOf
>do you have db.define_table() in your models? I did not, somehow that got clipped, in my late night coding frenzy. After adding db.define_table(...), reran tests, got a 'relation already exists' error, using pgAdminIII deleted the table, re-ran test - it passed - recreating the table in th

[web2py:10925] Re: Problems attaching to either remote or localhost PostgreSql

2008-11-01 Thread NoviceSortOf
O.K. Now the test works with no Errors, I'm running from source, and using my local Windows workstation PostGreSql. Test passes without errors now, takes about a minute. I can see the PostGreSql table exists in PgAdminIII, and is now populated with 10,000 records, via a pg_dump/restore from our

[web2py:10895] Re: Problems attaching to either remote or localhost PostgreSql

2008-10-31 Thread NoviceSortOf
> > to use postgres you need to run from source and install the psycopg2 > > driver separately. I've downloaded the full source code now, so am slowly grasping the concept. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

[web2py:10893] Re: Problems attaching to either remote or localhost PostgreSql

2008-10-31 Thread NoviceSortOf
-wj > File "I:\web2py\applications\bookstor/models/db.py", line 30 Why do you have / and \ in the line above? Thanks for your eye for detail, you know that is how the the error returns I've not entered \ into the location. -Massimo > to use postgres you need to run from source and install th

[web2py:10889] Re: Problems attaching to either remote or localhost PostgreSql

2008-10-31 Thread NoviceSortOf
O.K. - Sorted that one out on my own by simply stripping out the other code db.py and making db.py simply a one liner db=SQLDB("postgres://UserName:[EMAIL PROTECTED]:5432/mydata") Now another problem... Traceback (most recent call last): File "gluon\restricted.pyc", line 62, in restricted F

[web2py:10888] Problems attaching to either remote or localhost PostgreSql

2008-10-31 Thread NoviceSortOf
** I keep getting this error on test. Traceback (most recent call last): File "gluon\restricted.pyc", line 61, in restricted File "I:\web2py\applications\bookstor/models/db.py", line 30 # ^ SyntaxError: invalid sy