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
.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
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
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
>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
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
> > 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
-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
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
** 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
10 matches
Mail list logo