IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/opt/Plone-3.0.5buildout']

4 messages Options
Embed this post
Permalink
Jonathan Mark () IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/opt/Plone-3.0.5buildout']
Reply Threaded More More options
Print post
Permalink
I accidentally allowed my server to fill up all its diskspace. I freed
up the diskspace so that dozens of GBs are now available.

However, now when I try to restart my Plone instances I get the
following error:

IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/
var/tmp', '/usr/tmp', '/opt/Plone-3.0.5my instance']

Does anyone know what might cause this error? Thanks.





------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
Jonathan Mark () Re: IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/opt/Plone-3.0.5buildout']
Reply Threaded More More options
Print post
Permalink
Here is the complete traceback:

> bin/instance fg &
2009-11-02 03:56:54 INFO ZServer HTTP server started at Mon Nov  2
03:56:54 2009
        Hostname: 0.0.0.0
        Port: 10080
2009-11-02 03:56:54 INFO Zope Set effective user to "plone"
2009-11-02 03:56:57 WARNING Application Duplicate Product name: After
loading Product 'PluginIndexes' from '/opt/Plone-3.0.5buildout/parts/
zope2/lib/python/Products', I skipped the one in '/opt/Plone-3.0.5/lib/
python/Products'.
2009-11-02 03:57:06 INFO Marshall libxml2-python not available. Unable
to register libxml2 based marshallers.
2009-11-02 03:57:07 WARNING Application Duplicate Product name: After
loading Product 'ATContentTypes' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:07 WARNING Application Duplicate Product name: After
loading Product 'ATReferenceBrowserWidget' from '/opt/
Plone-3.0.5buildout/products', I skipped the one in '/opt/
Plone-3.0.5buildout/parts/plone'.
2009-11-02 03:57:08 WARNING Application Duplicate Product name: After
loading Product 'AdvancedQuery' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:08 WARNING Application Duplicate Product name: After
loading Product 'Archetypes' from '/opt/Plone-3.0.5buildout/products',
I skipped the one in '/opt/Plone-3.0.5buildout/parts/plone'.
2009-11-02 03:57:08 WARNING Application Duplicate Product name: After
loading Product 'BTreeFolder2' from '/opt/Plone-3.0.5buildout/parts/
zope2/lib/python/Products', I skipped the one in '/opt/Plone-3.0.5/lib/
python/Products'.
2009-11-02 03:57:08 WARNING Application Duplicate Product name: After
loading Product 'CMFActionIcons' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:08 WARNING Application Duplicate Product name: After
loading Product 'CMFCalendar' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:08 WARNING Application Duplicate Product name: After
loading Product 'CMFCore' from '/opt/Plone-3.0.5buildout/products', I
skipped the one in '/opt/Plone-3.0.5buildout/parts/plone'.
2009-11-02 03:57:08 WARNING Application Duplicate Product name: After
loading Product 'CMFDefault' from '/opt/Plone-3.0.5buildout/products',
I skipped the one in '/opt/Plone-3.0.5buildout/parts/plone'.
2009-11-02 03:57:08 WARNING Application Duplicate Product name: After
loading Product 'CMFDiffTool' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:08 WARNING Application Duplicate Product name: After
loading Product 'CMFDynamicViewFTI' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:09 WARNING Application Duplicate Product name: After
loading Product 'CMFEditions' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:12 WARNING Application Duplicate Product name: After
loading Product 'CMFFormController' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:18 WARNING Application Duplicate Product name: After
loading Product 'CMFPlacefulWorkflow' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:18 WARNING Application Duplicate Product name: After
loading Product 'CMFPlone' from '/opt/Plone-3.0.5buildout/products', I
skipped the one in '/opt/Plone-3.0.5buildout/parts/plone'.
2009-11-02 03:57:18 WARNING Application Duplicate Product name: After
loading Product 'CMFQuickInstallerTool' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:18 WARNING Application Duplicate Product name: After
loading Product 'CMFSquidTool' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:18 WARNING Application Duplicate Product name: After
loading Product 'CMFTestCase' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:18 WARNING Application Duplicate Product name: After
loading Product 'CMFTopic' from '/opt/Plone-3.0.5buildout/products', I
skipped the one in '/opt/Plone-3.0.5buildout/parts/plone'.
2009-11-02 03:57:18 WARNING Application Duplicate Product name: After
loading Product 'CMFUid' from '/opt/Plone-3.0.5buildout/products', I
skipped the one in '/opt/Plone-3.0.5buildout/parts/plone'.
/opt/Plone-3.0.5buildout/products/CacheSetup/content/
base_cache_rule.py:19: DeprecationWarning:
Products.PageTemplates.TALES has moved to zope.tales.tales. Import of
Products.PageTemplates.TALES will become unsupported in 2.12
  from Products.PageTemplates.TALES import CompilerError
2009-11-02 03:57:19 WARNING Application Duplicate Product name: After
loading Product 'CacheSetup' from '/opt/Plone-3.0.5buildout/products',
I skipped the one in '/opt/Plone-3.0.5buildout/parts/plone'.
2009-11-02 03:57:19 WARNING Application Duplicate Product name: After
loading Product 'DCWorkflow' from '/opt/Plone-3.0.5buildout/products',
I skipped the one in '/opt/Plone-3.0.5buildout/parts/plone'.
2009-11-02 03:57:19 WARNING Application Duplicate Product name: After
loading Product 'ExtendedPathIndex' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:19 WARNING Application Duplicate Product name: After
loading Product 'ExternalEditor' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:19 WARNING Application Duplicate Product name: After
loading Product 'ExternalMethod' from '/opt/Plone-3.0.5buildout/parts/
zope2/lib/python/Products', I skipped the one in '/opt/Plone-3.0.5/lib/
python/Products'.
2009-11-02 03:57:19 WARNING Application Duplicate Product name: After
loading Product 'Five' from '/opt/Plone-3.0.5buildout/parts/zope2/lib/
python/Products', I skipped the one in '/opt/Plone-3.0.5/lib/python/
Products'.
2009-11-02 03:57:19 WARNING Application Duplicate Product name: After
loading Product 'GenericSetup' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:19 WARNING Application Duplicate Product name: After
loading Product 'GroupUserFolder' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'MIMETools' from '/opt/Plone-3.0.5buildout/parts/zope2/
lib/python/Products', I skipped the one in '/opt/Plone-3.0.5/lib/
python/Products'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'MailHost' from '/opt/Plone-3.0.5buildout/parts/zope2/
lib/python/Products', I skipped the one in '/opt/Plone-3.0.5/lib/
python/Products'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'Marshall' from '/opt/Plone-3.0.5buildout/products', I
skipped the one in '/opt/Plone-3.0.5buildout/parts/plone'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'MimetypesRegistry' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'NuPlone' from '/opt/Plone-3.0.5buildout/products', I
skipped the one in '/opt/Plone-3.0.5buildout/parts/plone'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'OFSP' from '/opt/Plone-3.0.5buildout/parts/zope2/lib/
python/Products', I skipped the one in '/opt/Plone-3.0.5/lib/python/
Products'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'PageCacheManager' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'PageTemplates' from '/opt/Plone-3.0.5buildout/parts/
zope2/lib/python/Products', I skipped the one in '/opt/Plone-3.0.5/lib/
python/Products'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'PasswordResetTool' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'PlacelessTranslationService' from '/opt/
Plone-3.0.5buildout/products', I skipped the one in '/opt/
Plone-3.0.5buildout/parts/plone'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'PloneFormGen' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'PloneLanguageTool' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'PlonePAS' from '/opt/Plone-3.0.5buildout/products', I
skipped the one in '/opt/Plone-3.0.5buildout/parts/plone'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'PloneTestCase' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'PloneTranslations' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'PluggableAuthService' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'PluginRegistry' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'PolicyHTTPCacheManager' from '/opt/
Plone-3.0.5buildout/products', I skipped the one in '/opt/
Plone-3.0.5buildout/parts/plone'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'PortalTransforms' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'PythonField' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'PythonScripts' from '/opt/Plone-3.0.5buildout/parts/
zope2/lib/python/Products', I skipped the one in '/opt/Plone-3.0.5/lib/
python/Products'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'ResourceRegistries' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'SecureMailHost' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'Sessions' from '/opt/Plone-3.0.5buildout/parts/zope2/
lib/python/Products', I skipped the one in '/opt/Plone-3.0.5/lib/
python/Products'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'SiteAccess' from '/opt/Plone-3.0.5buildout/parts/
zope2/lib/python/Products', I skipped the one in '/opt/Plone-3.0.5/lib/
python/Products'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'SiteErrorLog' from '/opt/Plone-3.0.5buildout/parts/
zope2/lib/python/Products', I skipped the one in '/opt/Plone-3.0.5/lib/
python/Products'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'StandardCacheManagers' from '/opt/Plone-3.0.5buildout/
parts/zope2/lib/python/Products', I skipped the one in '/opt/
Plone-3.0.5/lib/python/Products'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'TALESField' from '/opt/Plone-3.0.5buildout/products',
I skipped the one in '/opt/Plone-3.0.5buildout/parts/plone'.
2009-11-02 03:57:20 WARNING Application Duplicate Product name: After
loading Product 'TemplateFields' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:21 WARNING Application Duplicate Product name: After
loading Product 'TemporaryFolder' from '/opt/Plone-3.0.5buildout/parts/
zope2/lib/python/Products', I skipped the one in '/opt/Plone-3.0.5/lib/
python/Products'.
2009-11-02 03:57:21 WARNING Application Duplicate Product name: After
loading Product 'Transience' from '/opt/Plone-3.0.5buildout/parts/
zope2/lib/python/Products', I skipped the one in '/opt/Plone-3.0.5/lib/
python/Products'.
2009-11-02 03:57:21 WARNING Application Duplicate Product name: After
loading Product 'ZCTextIndex' from '/opt/Plone-3.0.5buildout/parts/
zope2/lib/python/Products', I skipped the one in '/opt/Plone-3.0.5/lib/
python/Products'.
2009-11-02 03:57:21 WARNING Application Duplicate Product name: After
loading Product 'ZCatalog' from '/opt/Plone-3.0.5buildout/parts/zope2/
lib/python/Products', I skipped the one in '/opt/Plone-3.0.5/lib/
python/Products'.
2009-11-02 03:57:21 WARNING Application Duplicate Product name: After
loading Product 'ZGadflyDA' from '/opt/Plone-3.0.5buildout/parts/zope2/
lib/python/Products', I skipped the one in '/opt/Plone-3.0.5/lib/
python/Products'.
2009-11-02 03:57:21 WARNING Application Duplicate Product name: After
loading Product 'ZODBMountPoint' from '/opt/Plone-3.0.5buildout/parts/
zope2/lib/python/Products', I skipped the one in '/opt/Plone-3.0.5/lib/
python/Products'.
2009-11-02 03:57:21 WARNING Application Duplicate Product name: After
loading Product 'ZReST' from '/opt/Plone-3.0.5buildout/parts/zope2/lib/
python/Products', I skipped the one in '/opt/Plone-3.0.5/lib/python/
Products'.
2009-11-02 03:57:21 WARNING Application Duplicate Product name: After
loading Product 'ZSQLMethods' from '/opt/Plone-3.0.5buildout/parts/
zope2/lib/python/Products', I skipped the one in '/opt/Plone-3.0.5/lib/
python/Products'.
2009-11-02 03:57:21 WARNING Application Duplicate Product name: After
loading Product 'ZopeVersionControl' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:22 WARNING Application Duplicate Product name: After
loading Product 'kupu' from '/opt/Plone-3.0.5buildout/products', I
skipped the one in '/opt/Plone-3.0.5buildout/parts/plone'.
2009-11-02 03:57:22 WARNING Application Duplicate Product name: After
loading Product 'qPloneSkinSchools' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
productdistros'.
2009-11-02 03:57:22 WARNING Application Duplicate Product name: After
loading Product 'qPloneSkinSchools' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:22 WARNING Application Duplicate Product name: After
loading Product 'statusmessages' from '/opt/Plone-3.0.5buildout/
products', I skipped the one in '/opt/Plone-3.0.5buildout/parts/
plone'.
2009-11-02 03:57:22 WARNING Application Duplicate Product name: After
loading Product 'validation' from '/opt/Plone-3.0.5buildout/products',
I skipped the one in '/opt/Plone-3.0.5buildout/parts/plone'.
2009-11-02 03:57:39 ERROR Zope.ZODBMountPoint Failed to mount
database. exceptions.IOError ([Errno 2] No usable temporary directory
found in ['/tmp', '/var/tmp', '/usr/tmp', '/opt/Plone-3.0.5buildout'])
Traceback (most recent call last):
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/Products/
ZODBMountPoint/MountedObject.py", line 259, in _getOrOpenObject
    obj = self._traverseToMountedRoot(root, parent)
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/Products/
ZODBMountPoint/MountedObject.py", line 195, in _traverseToMountedRoot
    transaction.savepoint(optimistic=True)
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/transaction/
_manager.py", line 110, in savepoint
    return self.get().savepoint(optimistic)
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/transaction/
_transaction.py", line 312, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/transaction/
_transaction.py", line 309, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/transaction/
_transaction.py", line 737, in __init__
    savepoint = savepoint()
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/ZODB/
Connection.py", line 1042, in savepoint
    self._normal_storage)
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/ZODB/
Connection.py", line 1141, in __init__
    self._file = tempfile.TemporaryFile()
  File "/usr/local/lib/python2.4/tempfile.py", line 459, in
TemporaryFile
    dir = gettempdir()
  File "/usr/local/lib/python2.4/tempfile.py", line 262, in gettempdir
    tempdir = _get_default_tempdir()
  File "/usr/local/lib/python2.4/tempfile.py", line 208, in
_get_default_tempdir
    raise IOError, (_errno.ENOENT,
IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/
var/tmp', '/usr/tmp', '/opt/Plone-3.0.5buildout']
================================================
atReal : ARFilePreview
================================================
Traceback (most recent call last):
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/Zope2/Startup/
run.py", line 56, in ?
    run()
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/Zope2/Startup/
run.py", line 21, in run
    starter.prepare()
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/Zope2/Startup/
__init__.py", line 102, in prepare
    self.startZope()
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/Zope2/Startup/
__init__.py", line 278, in startZope
    Zope2.startup()
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/Zope2/
__init__.py", line 47, in startup
    _startup()
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/Zope2/App/
startup.py", line 102, in startup
    OFS.Application.initialize(application)
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/OFS/
Application.py", line 309, in initialize
    initializer.initialize()
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/OFS/
Application.py", line 338, in initialize
    self.install_products()
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/OFS/
Application.py", line 603, in install_products
    return install_products(app)
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/OFS/
Application.py", line 621, in install_products
    transaction.commit()
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/transaction/
_manager.py", line 96, in commit
    return self.get().commit(sub, deprecation_wng=False)
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/transaction/
_transaction.py", line 387, in commit
    self._prior_operation_failed() # doesn't return
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/transaction/
_transaction.py", line 267, in _prior_operation_failed
    raise TransactionFailedError("An operation previously failed, "
ZODB.POSException.TransactionFailedError: An operation previously
failed, with traceback:

  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/Zope2/Startup/
run.py", line 56, in ?
    run()
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/Zope2/Startup/
run.py", line 21, in run
    starter.prepare()
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/Zope2/Startup/
__init__.py", line 102, in prepare
    self.startZope()
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/Zope2/Startup/
__init__.py", line 278, in startZope
    Zope2.startup()
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/Zope2/
__init__.py", line 47, in startup
    _startup()
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/Zope2/App/
startup.py", line 102, in startup
    OFS.Application.initialize(application)
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/OFS/
Application.py", line 309, in initialize
    initializer.initialize()
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/OFS/
Application.py", line 331, in initialize
    self.install_tempfolder_and_sdc()
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/OFS/
Application.py", line 367, in install_tempfolder_and_sdc
    tf = getattr(app, 'temp_folder', None)
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/Products/
ZODBMountPoint/MountedObject.py", line 235, in __of__
    return self._getOrOpenObject(parent)
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/Products/
ZODBMountPoint/MountedObject.py", line 259, in _getOrOpenObject
    obj = self._traverseToMountedRoot(root, parent)
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/Products/
ZODBMountPoint/MountedObject.py", line 195, in _traverseToMountedRoot
    transaction.savepoint(optimistic=True)
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/transaction/
_manager.py", line 110, in savepoint
    return self.get().savepoint(optimistic)
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/transaction/
_transaction.py", line 312, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/transaction/
_transaction.py", line 422, in _saveAndRaiseCommitishError
    t, v, tb = self._saveAndGetCommitishError()
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/transaction/
_transaction.py", line 309, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/transaction/
_transaction.py", line 737, in __init__
    savepoint = savepoint()
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/ZODB/
Connection.py", line 1042, in savepoint
    self._normal_storage)
  File "/opt/Plone-3.0.5buildout/parts/zope2/lib/python/ZODB/
Connection.py", line 1141, in __init__
    self._file = tempfile.TemporaryFile()
  File "/usr/local/lib/python2.4/tempfile.py", line 459, in
TemporaryFile
    dir = gettempdir()
  File "/usr/local/lib/python2.4/tempfile.py", line 262, in gettempdir
    tempdir = _get_default_tempdir()
  File "/usr/local/lib/python2.4/tempfile.py", line 208, in
_get_default_tempdir
    raise IOError, (_errno.ENOENT,
IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/
var/tmp', '/usr/tmp', '/opt/Plone-3.0.5buildout']


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
ajung () Re: IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/opt/Plone-3.0.5buildout']
Reply Threaded More More options
Print post
Permalink
As indicated on IRC: something with your tmp directories (see list below) is wrong - like
a permission problem or something similar. Looking at the code of tempfile.py and using the debugger tells *you* more (your system - we can not guess what's wrong).

-aj

Jonathan Mark wrote:
Here is the complete traceback:

  File "/usr/local/lib/python2.4/tempfile.py", line 208, in
_get_default_tempdir
    raise IOError, (_errno.ENOENT,
IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/
var/tmp', '/usr/tmp', '/opt/Plone-3.0.5buildout']

Jonathan Mark () Re: IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/opt/Plone-3.0.5buildout']
Reply Threaded More More options
Print post
Permalink
Thanks for helping. I fixed the problem by adding the following to
buildout.cfg and running bin/buildout:

environment-vars =
    PYTHON_EGG_CACHE ${buildout:directory}/var/.python-eggs
    TMPDIR ${buildout:directory}/var/tmp


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users