gadfly install problem

Just van Rossum just at letterror.com
Sat Jun 12 11:07:04 CEST 1999


At 7:14 PM +0000 6/11/99, Douglas Nichols wrote:
>I am trying to install gadfly for use on my mac with python 1.5.1
>
>The installation seems to have worked.  When I try to test gadfly by
>creating a new database, I get the following error message:
>
>Python 1.5.1 (#37, Apr 27 1998, 13:36:04)  [CW PPC w/GUSI w/MSL]

Ah, you're on a Mac.

>Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>>> import gadfly
>>>> connection = gadfly.gadfly()
>>>> connection.startup("testbase", "testfolder")
>>>> cursor = connection.cursor()
>>>> cursor.execute("create table ph (nm varchar, ph varchar)")
>shift: no mem in addchild
>Traceback (innermost last):
>  File "<stdin>", line 1, in ?
>  File "Macintosh HD:Development:Python 1.5.1:Lib:lib-gadfly:gadfly.py",
>line 320, in execute
>    from sqlsem import Parse_Context
>MemoryError
>>>>
>
>Any suggestions?  I am very new to python and am still working my way
>through the Learning Python book.

You'll need to increase Python's memory partition. Python's parser uses a
*lot* of memory if a source file is big.

Just






More information about the Python-list mailing list