Hey AJ,<br><br>&nbsp; Thanks. Full traceback below. Regarding storing files, I meant the File Zope Object, as added by the following API call:<br>newFolder.manage_addFile(id,title=title, content_type=&quot;text/plain&quot;, file=content).<br>
<br><table><tbody><tr><th align="left" valign="top">Exception Type</th>
  <td>AttributeError</td>
 </tr>
 <tr>
  <th align="left" valign="top">Exception Value</th>
  <td>&#39;unicode&#39; object has no attribute &#39;seek&#39;</td>
 </tr>
</tbody></table>

<p>Traceback (innermost last):
</p><ul><li>  Module ZPublisher.Publish, line 115, in publish</li><li>  Module ZPublisher.mapply, line 88, in mapply</li><li>  Module ZPublisher.Publish, line 41, in call_object</li><li>  Module Shared.DC.Scripts.Bindings, line 311, in __call__</li>
<li>  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec</li><li>  Module Products.PythonScripts.PythonScript, line 326, in _exec</li><li>  Module None, line 17, in updateWireFeed<br>
<b>&lt;PythonScript at /GallopStaging/gallopWire/updateWireFeed&gt;</b><br>
<b>Line 17</b></li><li>  Module Shared.DC.Scripts.Bindings, line 311, in __call__</li><li>  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec</li><li>  Module Products.PythonScripts.PythonScript, line 326, in _exec</li>
<li>  Module None, line 20, in createWireItem<br>
<b>&lt;PythonScript at /GallopStaging/gallopWire/createWireItem&gt;</b><br>
<b>Line 20</b></li><li>  Module OFS.Image, line 62, in manage_addFile</li><li>  Module OFS.Image, line 468, in manage_upload</li><li>  Module OFS.Image, line 504, in _read_data</li></ul>AttributeError: &#39;unicode&#39; object has no attribute &#39;seek&#39;
<br><br>Thanks,<br><br>Thibaud<br><br><div class="gmail_quote">On Sun, Dec 14, 2008 at 2:19 AM, Andreas Jung <span dir="ltr">&lt;<a href="mailto:lists@zopyx.com">lists@zopyx.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On 14.12.2008 1:13 Uhr, Thibaud Morel l&#39;Horset wrote:<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
Hello,<br>
<br>
I&#39;m trying to store strings with certain unicode characters that don&#39;t<br>
convert to ascii in the ZODB. Specifically, as a file object and as<br>
properties of that file object. I get the following errors (from a script):<br>
<br>
*Error Type: AttributeError*<br></div>
*Error Value: &#39;unicode&#39; object has no attribute &#39;seek&#39;*<br>
<br>
<br>
</blockquote>
<br>
First we need a full traceback. Second, it does not make sense to persistent file objects within the ZODB. Objects must be pickleable.<br><font color="#888888">
<br>
-aj<br>
</font></blockquote></div><br>