[Zope] manage_addFile - ErrorValue: seek

Bernhard Kahlbacher kahlbacher_bernhard@aon.at
Thu, 12 Jun 2003 19:57:06 +0200


I don't know what I made wrong here but as it doesn't work, something
must be wrong.
I try to attach Files to a Folder.

	handle.manage_addDocument('standard_html_footer', 'Website
Standard Footer', HTMLFile('DTML_Methods/standard_html_footer',
globals())) -> works perfectly !!
	handle.manage_addFile('Style Sheet',
HTMLFile('DTML_Methods/css/styles.css', globals()), 'Title of File') ->
Error Type: AttributeError
Error Value: seek
	handle.manage_addFile('Style Sheet', 'Title of File',
HTMLFile('DTML_Methods/css/styles.css', globals())) -> works, but the
Content of the File is 'Title of File', and within ZOPE the Title is the
Content of the File !!

How does this work correctly please?