#16 — 'FileStorage' object has no attribute 'temporaryDirectory'

by Jacob Smith last modified Mar 13, 2009 12:21 PM
State Rejected
Version: 1.0
Area Functionality
Issue type Bug
Severity Medium
Submitted by Jacob Smith
Submitted on Mar 12, 2009
Responsible
Target release:
  Module Products.Archetypes.BaseObject, line 661, in processForm
  Module Products.Archetypes.BaseObject, line 651, in _processForm
   - __traceback_info__: (<plone.app.blob.content.ATBlob object at 0x07FDC730>, <Field file(blob:rw)>, <function mutator at 0x08CA9730>)
  Module Products.Archetypes.utils, line 160, in mapply
  Module archetypes.schemaextender.field, line 24, in mutator
  Module plone.app.blob.field, line 145, in set
  Module plone.app.blob.field, line 162, in fixAutoId
  Module transaction._manager, line 99, in savepoint
  Module transaction._transaction, line 256, in savepoint
  Module transaction._transaction, line 253, in savepoint
  Module transaction._transaction, line 642, in __init__
  Module ZODB.Connection, line 1091, in savepoint
  Module ZODB.Connection, line 586, in _commit
  Module ZODB.Connection, line 631, in _store_objects
  Module ZODB.Connection, line 1254, in storeBlob
  Module ZODB.Connection, line 1274, in _getBlobPath
  Module ZODB.Connection, line 1282, in temporaryDirectory
AttributeError: 'FileStorage' object has no attribute 'temporaryDirectory'
Steps to reproduce:
Add a file
Added by Andreas Zeidler on Mar 12, 2009 11:09 PM
Issue state: UnconfirmedRejected
i think the problem is probably that your blob-storage isn't set up correctly. please refer to http://plone.org/products/plone.app.blob for instructions of how to do this — basically you'll need to add a "blob-storage = ..." line to your `buildout.cfg`.
Added by Jacob Smith on Mar 13, 2009 12:21 PM
It really was that easy, sorry for the false bug report and thanks for your help.

No responses can be added.