[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


[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] StructuredText.py - bug or feature

2000-09-01 Thread nw_moriarty

I took an example of strucuture text from the document string of StructuredText.py

- Text encloded by double quotes followed by a colon, a URL, and concluded
  by punctuation plus white space, *or* just white space, is treated as a
  hyper link. For example:

"Zope":http://www.zope.org/ is ...

  Is interpreted as 'a href="http://www.zope.org/"Zope/a is '
  Note: This works for relative as well as absolute URLs.

The paragraph ends with a 'example' but the next line beging with "Zope" is not 
formatted as PRE but as a link.  If one moves the 'For example:' in a new paragraph 
we have better results.

Am I missing something?

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] 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 )