Does anyone have a recommendation for a Product creation guide/tutorial
they've used and made work, preferably one with examples and explanations of
_ac_permissions?  I've tried three or four, all of which work after a
fashion...  I have a very simple class that I've been using to test product
creation.  It's basically just an xmlrpc connection returned as a class
instance (which serves no real purpose currently since importing xmlrpclib
isn't exactly difficult to do in a method).  I've logged in as my admin
user, so rights to the site shouldn't be a problem, which makes me think
it's got to be security in the module itself that i'm not establishing
correctly.  The problem is that every time I actually try to instantiate an
instance of the class and make use of the object's methods, I get the
following traceback:

Traceback (innermost last):
  Module ZPublisher.Publish, line 101, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 39, in call_object
  Module Shared.DC.Scripts.Bindings, line 306, in __call__
  Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
  Module Products.PythonScripts.PythonScript, line 323, in _exec
  Module None, line 1, in testrpc
   - <PythonScript at /pro4/testrpc>
   - Line 1
  Module AccessControl.ZopeGuards, line 237, in guarded_import
  Module AccessControl.ZopeGuards, line 300, in load_module
Unauthorized: You are not allowed to access 'XMLRPCClient' in this context

I'd be more than happy to copy in blocks of code if it seems like it will
help, but all things considered, I'd be happier just to know where best to
look.  I've looked at the ZDG, the Zope Book 2.7, and a number of "Python
Product Creation" tutorials...  but since they're all geared toward getting
a product to initialize and such (which works great), and it's a security
error I'm getting, I don't really know where to go next.  

Thanks all,

Pete Taylor
THIG Systems
(desk) 352.333.1722
(cell) 352.359.0073

CONFIDENTIAL NOTICE: This email including any attachments, contains 
confidential information belonging to the sender. It may also be 
privileged or otherwise protected by work product immunity or other 
legal rules. This information is intended only for the use of the 
individual or entity named above.  If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, 
distribution or the taking of any action in reliance on the contents 
of this emailed information is strictly prohibited.  If you have 
received this email in error, please immediately notify us by 
reply email of the error and then delete this email immediately.
Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to