The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
[Originally posted by lubyliao]

Thank you for giving us this wonderful book. I have been trying to follow
26.2: 'Object Publishing' to publish Python objects, without success. I am
running zope zserver installed using rpm on a RedHat 6.2 machine. I tried to
publish objects in the package directory /usr/share/zope/lib/python/Shared. I
was able to publish external methods in /usr/share/zope/Extensions, but I
suspect that 26.2 is not about external methods. Can you shed light on what I
am missing? Thank you very much. cheers, Luby
import-bot (20211) [Avatar] Offline
#2
Re: Zope (python) object publishing
[Originally posted by daryl harms]

> Thank you for giving us this wonderful book. I have been trying to follow
> 26.2: 'Object Publishing' to publish Python objects, without success. I am
> running zope zserver installed using rpm on a RedHat 6.2 machine. I tried to
> publish objects in the package directory /usr/share/zope/lib/python/Shared. I
> was able to publish external methods in /usr/share/zope/Extensions, but I
> suspect that 26.2 is not about external methods. Can you shed light on what I
> am missing? Thank you very much. cheers, Luby

Hi Luby,

Thanks for your comment on the book.

A very good question. Unfortunately, with changes in the latest release of
Zope it is no longer clear how to use the examples in this section. Amos's
page on publishing objects will hopefully give you the information you need to
get things working:

http://www.zope.org/Members/Amos/ZPublisher

Daryl