Re: [Zope] is it a bug - or just me?
Well, there is something else you could (should) do. When Zope is talking about importing something, it is talking about importing a set of Zope objects, normally in a .zexp file. To add an image to the folder, get into the management screen for that folder (using the URL http://localhost:8080/myfolder/manage or something like that). Then use the Add pull-down menu to select "Image" (i.e., add an image object to the folder). At that point, you will be able to upload the image file (using the Browse button) and add it to your folder. Hope that helps, Ron
I have RH Linux 7.1, Zope 2.4.1 (fresh install), and I can't seem to import> images into my site (I haven't tried other objects). For example, using the> management interface, I created a folder "test folder". I enter the folder> and click on Import/Export button. I enter a filename (ie, somefile.jpg) in> the "Import File Name" box. The "Take Ownership" box is checked. (The file> exists in the /usr/local/zope/2-4-1/imports sub-directory.) And then I get> the following output. You may assume I'm a Zope idiot and explain import/export in words of one syllable or less. For example, do you have to> add the files to the import directory in some special fashion? I just copied them into there from the BASH shell command line (not in Zope). Thanks, Mike
Zope Error Zope has encountered an error while publishing this resource. Error Type: ExportError Error Value: Invalid export header
Troubleshooting Suggestions ·The URL may be incorrect. ·The parameters passed to this resource may be incorrect. ·A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page.
Traceback (innermost last): File /usr/local/zope/2-4-1/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /usr/local/zope/2-4-1/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/zope/2-4-1/lib/python/Zope/__init__.py, line 226, in zpublisher_exception_hook (Object: LockableItem) File /usr/local/zope/2-4-1/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/2-4-1/lib/python/ZPublisher/mapply.py, line 160, in> mapply (Object: manage_importObject) File /usr/local/zope/2-4-1/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_importObject) File /usr/local/zope/2-4-1/lib/python/OFS/ObjectManager.py, line 584, in> manage_importObject (Object: LockableItem) File /usr/local/zope/2-4-1/lib/python/ZODB/ExportImport.py, line 143, in> importFile ExportError: (see above)
participants (1)
-
complaw@hal-pc.org