[Zope-dev] BerkeleyStorage with ZODB problem

2000-06-01 Thread nw_moriarty

I'm developing a large program and think that ZODB with BerkeleyStorage is the best 
option.  I had a python test program working using FileStorage that worked.  I 
substituted BerkeleyStorage and it fails thus:

Traceback (innermost last):
  File "btest.py", line 118, in ?
mydb = Database()
  File "btest.py", line 22, in __init__
self.db = DB(SleepyStorage(file))
  File "/usr/local/dc/zope/lib/python/ZODB/BerkeleyStorage.py", line 107, in __init__
self._index.open(name, db.DB_BTREE, db.DB_CREATE | dothread)
  File "/usr/lib/python3rd/TCS/bsddb/db.py", line 639, in open
val = apply(dbc.DB_open,(self.this,arg0,)+args)
db.error: (22, 'Invalid argument')

Has any got a working example of BerkeleyStorage that works!

Nigel


--== Sent via Deja.com http://www.deja.com/ ==--
Before you buy.

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




[Zope-dev] BerkeleyStorage.py is broken?

2000-06-06 Thread nw_moriarty

There are many admonitions to use BerkeleyStorage.py if you don't require versions in 
a database.  However, I have tried without success to get it to work with TCS.bsddb.db 
and BerkeleyDB 2.7.7 in a stand alone application.

How ANYBODY got it to work?  

Nigel


--== Sent via Deja.com http://www.deja.com/ ==--
Before you buy.

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




[Zope-dev] structure text

2000-09-27 Thread nw_moriarty us

I asked, some time ago, why the StructuredText.py did not work with the example 
provided in the triple quotes but my email has been patchy.  Did anybody reply as to 
why the :: does not work all the time?

Nigel




--== Sent via Deja.com http://www.deja.com/ ==--
Before you buy.



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




[Zope-dev] reading the entire DB

2001-04-26 Thread nw_moriarty Last Name

Jim

Were you able to run the script I sent previously?  I have attached it again.  It 
demonstrates that the entire DB is read each time an item is read.

Nigel




--== Sent via Deja.com ==--
http://www.deja.com/

 nikeDB.py