[Zope-dev] AttributeError

2001-02-16 Thread Andre Schubert

Hi all,

Could anyone help me to solve the following Error that occurs sometimes.

2001-02-16T09:11:42 ERROR(200) ZODB Couldn't load state for
'\000\000\000\000\000\0008\004'
Traceback (innermost last):
  File /usr/share/Zope-2.2.4/lib/python/ZODB/Connection.py, line 443, in
setstate
AttributeError: 'None' object has no attribute 'load'

Q: How can a find out wich object affected, by id or path or somewhat
else ??

as


___
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] SkinScripts instantiating new objects

2001-02-16 Thread Stefan Karlsson

Hi,

I want my SkinScript to instantiate a new object of type ProjektHandler
and put it into an attribute called projekt. For this I have created
an external method, returning a new object of type ProjektHandler (simplified):

def getNewProjektHandler(self, parentId, parentClass):
h = ProjektHandler()
return h

The skinscript look like this:
WITH self.getNewProjektHandler(self.id, 'Projektagare') COMPUTE projekt=RESULT

This works if I call it from python, e. g
print self.mySpecialist.getItem('foo').projekt

But it does not work when I call it from the web, e. g
http://server/mySpecialist/foo/projekt (see the traceback from the log file below)

Has anyone an idea why this doesn't work?

Zope 2.3.0b2
ZPatterns 0.4.3b1

/Stefan Karlsson


--
2001-02-16T11:28:35 PROBLEM(100) ZPatterns Error computing attribute projekt
Traceback (innermost last):
  File /home/stefan/myzope/zope2/lib/python/Products/ZPatterns/AttributeProviders.py, 
line 311, in _
AttributeFor
(Object: GAPMixin)
  File Products/ZPatterns/Expressions.py, line 122, in eval
  File DocumentTemplate/DT_Util.py, line 336, in eval
(Object: self . getNewProjektHandler ( self . id , 'Projektagare'  ))
(Info: self)
  File string, line 0, in ?
  File DocumentTemplate/DT_Util.py, line 140, in careful_getattr
AttributeError: getNewProjektHandler



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



Re: [Zope-dev] LONGing for normal integers... the sequal

2001-02-16 Thread francine broekhove

Hi guys,

after solving the problem with the long integers (thanx) there's another related 
incident happening with the tree tag. 

I've used the tree tag according to the 'book' like:
dtml-tree id=search_id branches_expr="sql.zt_child_lookup(parent_id=search_id)" ... 
/dtml-tree

The Mysqlda returns again something incompatible  (couldn't it simply be handled in 
the Mysqlda code for downward compatibility reasons?) so i get:

'call of non-function (type long int)' which kills the zope function, with Info: 
(['E5M=', []], {'childless_decoration': '', 'id': 'search_id', 
'branches_expr': method Eval.eval of Eval instance at 0x899ea4c, 'url': 'tpURL'}, 
(['E5M=', []],), (['E5M=', []],)))

Trying to fix it with an adjusted ('_.int(search_id)' didn't work, which is hardly 
surpricing as i do not know what i'm doing in the first place when the tree tag is 
involved.


So again LONGing (..the E5M seems somehow appropriate ..). In the mean time 
i'm trying to figure it out. Will keep you posted.

(zope 2.3.0.src, python 2.0, MySQL-python-0.3.2, MySQL 3.23, Z MySQL DA 2.0.0)

_
Get Your Private, Free Email at A HREF="http://www.burningmail.com" 
target="_new"http://www.BurningMail.com/A

___
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] crazy idea?

2001-02-16 Thread Huayin Wang

Imagine this: 

1) for every zope objects we implement a generic handler called "deploy",
   which return true or false.

2) we then plug in a little check in zope's acquisition process to
   first call the handler of the objects in the acquisition hierarchy,
   if true, use that object. Otherwise, keep going down the acquisition 
   tree. 
   of course, there can be an option indicating whether the rendered results
   for objects whose deploy method return false should be collected and used.

3) an easy implementation could be: 
   define an attribute "_deploy" for every object, default to true.
   define a zope object "deploy" which is the default, when invoked as an
   object's method, just return the "_deploy" attribute of the object.
   the deploy method can be overridden with user provided method.

4) the "-deploy" attribute can be turned on or off through the web management
   interface.  treat them as just the same as other attribute.

I think this little device can be used to turn an object on or off easily,
and if you think about the fact that it can be changed dynamically, the 
possibility is endless.

comments?

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



Re: [Zope-dev] Problem upgrading to Zope2.3

2001-02-16 Thread Shane Hathaway

"Jay, Dylan" wrote:
 
 I did a clean install (on w2k), then copied across my products and Data.fs
 etc and when I restarted I got the following when I tried to access
 manage_main on the root folder. Funny thing is this doesn't happen on any
 other folder.
 
 Error type: SystemError
 Error value: Failed to import class Guard from module
 Products.PythonMethod.zbytecodehacks.VSExec
 
...
 I don't even have any PythonMethods in my base directory. Why is that
 something obscure as this could trip up the whole management interface?

Try this:

(1) Upgrade to 2.3.1 beta 1 (released yesterday).  There's an relevant
note in the changelog:

  "Hardened ZMI contents view against subobjects w/ flaky 'get_size'
(Collector #1900)"

(2) If that doesn't work, temporarily reinstall PythonMethod and report
back so we can fix the bug.

Shane

___
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] The structure of lib/python/*

2001-02-16 Thread Erik Enge

Hi, Zopistas.

I've been reading a lot of Zope code the last couple of years, but
still I really don't see any overall structure of lib/python.  Is this
documented somewhere?

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



Re: [Zope-dev] Zope 2.2.4 Dying

2001-02-16 Thread Shane Hathaway

Andre Schubert wrote:
 
 Hi,
 
 since the last time i had some problems with my zope server.
 The zope 2.2.4 running under linux dies unexpectly with the following
 messages.
 
 2001-02-16T01:50:08 ERROR(200) zdaemon zdaemon: Fri Feb 16 02:50:08
 2001: Aiieee! 5451 exited with error code: 13
 --
 2001-02-16T02:29:38 ERROR(200) zdaemon zdaemon: Fri Feb 16 03:29:38
 2001: Aiieee! 10313 exited with error code: 13
 
 What does the error code 13 say and could anyone help me to solve the
 problem

Hmm, according to "kill -l", code 13 is "SIGPIPE".  What's your setup?

Shane

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



Re: [Zope-dev] SkinScripts instantiating new objects

2001-02-16 Thread Stefan Karlsson

At 14:31 2001-02-16, Steve Alexander wrote:
Stefan Karlsson wrote:

  Hi,
 
  I want my SkinScript to instantiate a new object of type
  ProjektHandler and put it into an attribute called projekt.

In your example, there is no sense of the ProjektHandler instance being 
saved persistently in the attribute. A new object is created for each 
transaction. Is this what you want?

Yes, that was my intention.

BTW is it possible to save the ProjektHandler instance persistently
in the attribute? Is there an easier way than creating a separate
specialist for the ProjektHandler class and storing the instances there?


  For this I have created
  an external method, returning a new object of type ProjektHandler

Where have you put this external method? That is, where in the ZODB?

I have put it in the rack, the specialist and higher up in the hierarchy. 
Makes no difference.



  The skinscript look like this:
 
  WITH self.getNewProjektHandler(self.id, 'Projektagare')
COMPUTE projekt=RESULT
 
  This works if I call it from python, e. g print
  self.mySpecialist.getItem('foo').projekt
 
  But it does not work when I call it from the web, e. g 
http://server/mySpecialist/foo/projekt

That's as I expect. Generally, you call methods from URLs, you don't 
retrieve the values of attributes.

So, what do you suggest, should I implement __bobo_traverse__ or
something in foo to make the URL work?

/Stefan Karlsson



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



RE: [Zope-dev] Import Libraries into Python Script

2001-02-16 Thread Brian Lloyd

 What's wrong with:
 
 import imaplib
  imaplib.__allow_access_to_unprotected_subobjects__ = 1

Nothing is wrong with it per se - but using the SecurityInfo 
interfaces (even indirectly through the helper stuff I checked 
in to PythonScripts for 2.3.1) is more future-proof, in case 
the actual mechanics of protection change one day.


 And, if the above is somehow bad or insecure, how would you use your 
 method to allow access to specific methods in a module, as in:
 
 import re
  re.__allow_access_to_unprotected_subobjects__ = {
  'sub': 1,
  }

You can see a minimal example in the standard.py module in 
the PythonScripts package (though there is no helper shortcut 
for that method yet - there probably should be).

Brian Lloyd[EMAIL PROTECTED]
Software Engineer  540.371.6909  
Digital Creations  http://www.digicool.com 




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



Re: [Zope-dev] AttributeError

2001-02-16 Thread Andre Schubert

Hi Alex,

i have the following Products installed, and i don't use External Methods

ExternalMethod (Installed product ExternalMethod (External Method-1-0-0))
Hotfix_2000-12-08 (Installed product Hotfix_2000-12-08)
Hotfix_2000-12-15a (Installed product Hotfix_2000-12-15a)
Hotfix_2000-12-18 (Installed product Hotfix_2000-12-18)
MIMETools (Installed product MIMETools)
MailHost (Installed product MailHost (MailHost-1-2-0))
OFSP (Installed product OFSP (OFSP-1-0-0))
SiteAccess (Installed product SiteAccess (SiteAccess-2-0-0))
ZCatalog (Installed product ZCatalog (ZCatalog-2-2-0))
ZGadflyDA (Installed product ZGadflyDA)
ZMySQLDA (Installed product ZMySQLDA (ZMySQLDA-1-1-4))
ZPyGreSQLDA (Installed product ZPyGreSQLDA (ZPyGreSQLDA-0-0-3))
ZRTChat (Installed product ZRTChat)
ZSQLMethods (Installed product ZSQLMethods)
ZopeTutorial (Installed product ZopeTutorial (Zope Tutorial 1.0))
mysqlUserFolder (Installed product mysqlUserFolder
(mysqlUserFolder-0.5.2))

as

Steve Alexander schrieb:

 Andre Schubert wrote:

 
  Could anyone help me to solve the following Error that occurs sometimes.
 
  2001-02-16T09:11:42 ERROR(200) ZODB Couldn't load state for
  '\000\000\000\000\000\0008\004'
  Traceback (innermost last):
File /usr/share/Zope-2.2.4/lib/python/ZODB/Connection.py, line 443, in
  setstate
  AttributeError: 'None' object has no attribute 'load'
 
  Q: How can a find out wich object affected, by id or path or somewhat
  else ??
 Andre,

 What products do you have in your Zope installation?

 Are you using any External methods?

 This sounds like something has written something to the ZODB that
 shouldn't be written there.

 --
 Steve Alexander
 Software Engineer
 Cat-Box limited
 http://www.cat-box.net

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



Re: [Zope-dev] Zope 2.2.4 Dying

2001-02-16 Thread Andre Schubert

Hi,

I'am using Zope 2.2.4 with the required patches.
Python 1.5.2
Immunix 6.2 (redhat) - Production System - with apache-1.3.14-2.6.2 under a
Named Virtual Host
Zope is running with Zope.cgi

as

Shane Hathaway schrieb:

 Andre Schubert wrote:
 
  Hi,
 
  since the last time i had some problems with my zope server.
  The zope 2.2.4 running under linux dies unexpectly with the following
  messages.
 
  2001-02-16T01:50:08 ERROR(200) zdaemon zdaemon: Fri Feb 16 02:50:08
  2001: Aiieee! 5451 exited with error code: 13
  --
  2001-02-16T02:29:38 ERROR(200) zdaemon zdaemon: Fri Feb 16 03:29:38
  2001: Aiieee! 10313 exited with error code: 13
 
  What does the error code 13 say and could anyone help me to solve the
  problem

 Hmm, according to "kill -l", code 13 is "SIGPIPE".  What's your setup?

 Shane


___
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] Using Zope for Groupware/Messaging applications

2001-02-16 Thread Joachim Werner

Hi!

We are currently developing a groupware system with Zope. As usual, the options 
for the storage back-end are using a SQL DB (postgres, ...) or ZODB.

I know that this question has been asked a thousand times. But I'll repeat it 
for our specific situation:

SQL or ZODB+ZCatalog, which one is better?

We have thousands, maybe millions of objects (mainly mail messages, notes, 
appointments).

There should be very flexible views on the data, e.g. a message or document can 
either be viewed on the owner's personal workspace or on the project portal the 
document was posted to.

The problems with SQL:

- much more complex setup
- problems with using ZEO
- BLOBs (large binary objects like image files) don't work well on most 
databases

The problems with ZODB/ZCatalog:

- ZCatalog is not tested for extremly large numbers of objects. We fear that 
the index tables will become much too big

- Some advanced queries are very hard to implement using ZCatalog

Any comments?

Joachim.

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



Re: [Zope-dev] Using Zope for Groupware/Messaging applications

2001-02-16 Thread R. David Murray

On Sat, 17 Feb 2001, Joachim Werner wrote:
 SQL or ZODB+ZCatalog, which one is better?
 
 Any comments?

Just the obvious one: ZPatterns. grin.

--RDM


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



Re: [Zope-dev] Import Libraries into Python Script

2001-02-16 Thread Chris Withers

Itai Tavor wrote:
 
 What's wrong with:
 
 import imaplib

  ^

That's the line that barfs...

  imaplib.__allow_access_to_unprotected_subobjects__ = 1

...so this one never gets executed ;-)

cheers,

Chris

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



Re: [Zope-dev] Calling Catalog from python script

2001-02-16 Thread R. David Murray

On Fri, 16 Feb 2001, R. David Murray  wrote:
 Howevever, I'm still getting 'None' as the result.  If I print out, say,
 catent.id, I see the correct ID for the object I'm trying to retrieve.
 
 It doesn't make sense that this is failing.  I must be doing something
 stupid but I still can't see it.  I tried calling getObject both with
 and without REQUEST as a parameter, with the same result.
 
 I guess it's time for some more source spelunking.

And the expedition was a qualified success.  It turns out that
getObject has one of those nasty unadorned try: except: structures
in it.  It was masking an authorization error.  The auth error
is occuring in urestrictedTraverse, and the last lines of my traceback
are:

  File /usr/local/zope/Zope230/lib/python/OFS/Traversable.py, line 190, in unrestr
ictedTraverse
(Object: ApplicationDefaultPermissions)
Unauthorized: 0060175400

0060175400 is the ID of the first object returned by the catalog.

Any guesses why this is happening?  I get the same result whether I'm anonymous
or logged in as a manager.

Also, anyone want to guess why getObject uses try/except?  I can't off
the top of my head think of any reason it should be there.

This is 2.3.0, I suppose I should try the new beta just for kicks...

--RDM


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



Re: [Zope-dev] Using Zope for Groupware/Messaging applications

2001-02-16 Thread R. David Murray

Let me be a bit less cryptic.  Design your system, and use ZPatterns, and you
can defer questions about which storage suits the parts of the app until
later, and can change your mind at need.  For the kind of project you
are embarking upon, the time needed to learn ZPatterns is well worth it.

--RDM


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



Re: [Zope-dev] Calling Catalog from python script

2001-02-16 Thread R. David Murray

On Fri, 16 Feb 2001, Steve Alexander wrote:
  This is 2.3.0, I suppose I should try the new beta just for kicks...
 
 Yes, do try the new beta. If this is what I think it is, it is fixed in the latest
 2.3, as I submitted the patch that fixed it :-)
 
 Are your objects traversed to through an object that does __bobo_traverse__
 -- like a ZPatterns Specialist, for example?

Yes, the items come out of a Specialist.

However, upgrading to 2.3.1b1 did not solve the problem.  I don't see any
changes to getObject.

 The patch to ZCatalog brains makes it fall back on resolve_url, which works
 just fine.

So I changed getObject to wrap the try/except around only the restrictedTraverse
call and moved the call to resovle_url outside that, and that seems to
have fixed the problem.

Thanks, Steve!  You might want to look to see where your patch went,
though wry grin.

--RDM


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



Re: [Zope-dev] Using Zope for Groupware/Messaging applications

2001-02-16 Thread Casey Duncan

"R. David Murray" wrote:
 
 Let me be a bit less cryptic.  Design your system, and use ZPatterns, and you
 can defer questions about which storage suits the parts of the app until
 later, and can change your mind at need.  For the kind of project you
 are embarking upon, the time needed to learn ZPatterns is well worth it.
 
 --RDM
 

I concur. It would be best to abstract the storage. Using this technique
you could scale the underlying storage theoretically without changing
the top level code. That would also facilitate more experimentation on
which scheme or combination of schemes would work best.

-- 
| Casey Duncan
| Kaivo, Inc.
| [EMAIL PROTECTED]
`--

___
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] Need Zope 2.3 Binary for Python 2.0 under Win32

2001-02-16 Thread Tim Lakey

I need a Zope 2.3 Binary that is running under Python 2.0 (not 1.5.2) for
Win32 environment.  I have been trying to compile one myself, but there are
lot's of road blocks.  If any of you have one that you already built, could
you email it to me?

TIA,

Tim Lakey
CTO, CarbonWave
[EMAIL PROTECTED]


___
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] AttributeError validate using the Visitor pattern

2001-02-16 Thread R. David Murray

OK, having helped me figure out how to work around the bug in accessing
ZPatterns objects from a catalog, I've got a new challenge for you all.

Now that I've got my list of objects, I want to generate a web page displaying
them.  The page has the structure of a series of table rows.  Inside each
row data about a single object is displayed, using a common format but
with certain differences depending on the type of object.  To implement this,
I am trying to use the Visitor pattern from the Gang of Four book.

So, I have a Folder displayItemList.  This folder contains (at the moment)
three methods: displayTable, visitAuthor, and visitBook.  displayTable
generates the html for the outer table, down to the tr/tr tags.
Between those tags, it calls dtml-var "accept(me)", where me is
this() for the displayTable method, and accept is a pythonscript method
defined on each of the object type's Specialist.  Each accept method
is of the form:

return visitor.visitBook(None,_,item=context)

with _ bound to namespace on the bindings tab and 'visitor' being listed
in the arguments line.

visitBook begins with the line:

dtml-with item

Trying to display my list, I get an AttributeError on 'validate', and
ZDebug flags the 'with' line as the error location.  validate
appears nowhere in my code, so from all I can figure from a certain
amount of inspection of the source, Zope is looking for this method
on the DTMLMethod and not finding it.

ZDebug says the namespace stack consists of a single entry, which looks like
the DTMLMethod itself (visitBook, presumably).  Seems to me the namespace
stack should be deeper than that.

I've been poking at this for a couple hours now without making any more
progress, so I'm going to quit for the day and come back to it tomorrow.
If anybody has any bright ideas, or sees something obvious I'm doing wrong,
please clue me in.  Thanks!

By the way, I also tried making accept be visitor.visitBook(context,_),
but that produced the same error and ZDebug could only point to the
call to accept as the error location.

--RDM


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