Tim Cook wrote:
Daryl,
Import the DarylProduct.zexp into your Products folder. The DarylExample.zexp can go anywhere in you Zope tree.
As luck would have it, the file did not import into Products (File /usr/local/Zope/lib/python/OFS/CopySupport.py, line 406, in _verifyObjectPaste) It DID import into the root folder (I did this purely by accident!) I was then able to recreate the called-for classes and IT WORKED!! I haven't figured out HOW yet but I will. Thanks a lot for the help, and let me know if you need any fancy Python methods... Cheers. -- "Where is the fancy bread, in the heart or in the head?" Daryl Stultz - python, zope, blender, robots, really bad harmonica playing... daryl@together.net RedHat Linux 6.1 - Dual Pentium Pro
Daryl Stultz wrote:
Tim Cook wrote:
Daryl,
Import the DarylProduct.zexp into your Products folder. The DarylExample.zexp can go anywhere in you Zope tree.
As luck would have it, the file did not import into Products (File /usr/local/Zope/lib/python/OFS/CopySupport.py, line 406, in _verifyObjectPaste)
It DID import into the root folder (I did this purely by accident!) I
Well, that shouldn't have happened. At least in previous versions of Zope you could not import a Product into anything but the Products folder.
was then able to recreate the called-for classes and IT WORKED!! I haven't figured out HOW yet but I will. Thanks a lot for the help, and
Maybe this worked out better since you had to actually recreate them <g>. You're welcome.
let me know if you need any fancy Python methods...
I will. <s> -- Tim Cook, President -- Free Practice Management,Inc. | http://FreePM.com Office: (901) 884-4126 Censorship: The reaction of the ignorant to freedom.
Daryl Stultz wrote:
It DID import into the root folder (I did this purely by accident!) I was then able to recreate the called-for classes and IT WORKED!! I haven't figured out HOW yet but I will. Thanks a lot for the help, and
Maybe we COULD say the how is, "because it creates one object( the folder) in the first call. Then the second object (the document) in a seperate call. Since HTTP is stateless it requires a seperate call for each activity." The folder doesn't exist until after the first response. So you can't GET it's context in the same call you create it in. Make more sense? -- Tim Cook, President -- Free Practice Management,Inc. | http://FreePM.com Office: (901) 884-4126 Censorship: The reaction of the ignorant to freedom.
Tim Cook wrote:
The folder doesn't exist until after the first response. So you can't GET it's context in the same call you create it in.
Make more sense?
It makes perfect sense, but still doesn't work. I returned it to the two file call setup as you gave it to me and I get the same Authorization Failed error. From the folder (as it originally worked) it DOES work from a single method. It's probably not neccessary for us to continue this. If I need to do this, I can set up a clone operation much like "Stan's ZAcme Website" from the ZCMG. I'm not sure there is any effective difference - it's just not as neat... Thanks again for all your help...
participants (2)
-
Daryl Stultz -
Tim Cook