thanks for your kind replies, I'm sorry for taking a so long time to
reply to you, I dedicate to this Zope 3 personal project my spare time.
As for my difficulties with the ftp files representation of my
components, I found out what the problem was. I just had mis-spelled
the name of an adapter in my code and I also had NO test to test that
single bit of code. My fault ;-)
As for the GUI offering a "contents" tab on not container components,
I just discovered I had written a wrong configuration in my
The worse thing is almost all the simptoms I runned into are
described in the book chapter about creating new components (I think;
I'm not sure but I can make this certain if you want me to).
So, blame on me.
Anyhow I didn't know what the effect of turning on the developer mode
was and that helped me to settle this down.
So, thanks for your help. The FM is not the only way to settle things
down, after all ;-)
Now, I'm on my way again to complete this project
At 04.32 24/11/2007, Stephan Richter wrote:
On Friday 23 November 2007, catonano wrote:
> Hello zopers,
> well this is my third try to ask a question, after the first two ones
> went totally ignored, in the last few days. The second one was quite
> simple: how do I instruct the ftp server to write some lines in the
> access log ?
I think nobody has looked at FTP for a while, so the answer is not easily
produced by anyone. You will have to read the code to see how it is done.
> Silence. How comes ? Did I hurt or piss off anyone ? If so, I'm
> sorry; I'm ready to apologize as soon as someone explains me what I got
Silence usually means that nobody knows the answer.
> So far my components are NOT persistent. The do NOT inherit from
> Persistent nor they do implement some sort of persistence themselves.
> This is because I'm just trying to explore the containment stuff and
> I don't want to put in too many layers too early.
Then you loose!
> BUT, when in the book component, one of the views the ZMI offers is
> "content", which, as far as I know, is referred to the containers
> contents and my book is NOT a container ! I swear ! It does NOT
> implement the IContainer interface or any descendant interface !
Based on what follows, you are lying to us. ;-) As Roger suggested, try
inspecting the object.
> Still the ZMI offers to see the contents of it. If I click on the
> contents tab a white screen pops up telling my a system error
> occurred, and the output in the terminal shows a message about a
> forbidden attribute "items" called.
This is because the system sees that the book is a container and tries to
access attributes that have no security declaration/
> How is that ? The ZMI takes it correctly when it's about to add
> content to the shelf, proposing to add a book only, in the left bar,
> and also, inside the book component, there's no action "add" in the
> actions stripe. Still, there's the content tab in the views tabs !!
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.3/1144 - Release Date:
Zope3-users mailing list