#13 — missing .../saved/local directory (in egg?)

by rik last modified Jan 08, 2009 02:31 PM
State Resolved
Version:
Area Installation
Issue type Bug
Severity Medium
Submitted by rik
Submitted on Jul 07, 2008
Responsible
Target release:
i just grabbed the egg version (Clouseau-0.8.2) and while it installed without complaints, it threw an OSErr:

Module Products.Clouseau.tools.clouseautool, line 336, in list_saved_sessions
OSError: [Errno 2] No such file or directory: '.../eggs/Products.Clouseau-0.8.2-py2.4.egg/Products/Clouseau/saved/local'

WORKAROUND: i just created this directory and it now seems to be working.

Chatting on #plone, andym said the current (7 jul 08) svn trunk did indeed
have this directory, so infers that it is a problem only with the egg?

Added by Graham Perrin on Sep 23, 2008 05:20 PM
+1 to the bug
and
+1 to the workaround.

For reference:

1) http://svn.plone.org/[…]/README.txt

2) transcribing from my own root ZEO cluster:

cd /opt/Plone-3.1/buildout-cache/eggs/Products.Clouseau-0.8.2-py2.4.egg/Products/Clouseau/saved

ls -l
total 8
-rw-r--r-- 1 root wheel 484 23 Sep 18:07 README.txt
drwxr-xr-x 5 root wheel 170 23 Sep 18:07 global

cat README.txt
These are directories for writing saved session to and reading from. There are two directories:

- local, this is blank in SVN, this is where you save the sessions you have created

- global, this is not blank, this is where we will load interesting and useful scripts for you

Saves go automatically to local. Load's can come from either.

Because we are writing into the Products directory, you will need write permissions to do that in Zope, something that normally happens anyway.
Added by Graham Perrin on Sep 23, 2008 05:25 PM
An additional thought, concerning permissions.

In my case (root, ZEO, Plone 3.1.5.1):

sudo mkdir /opt/Plone-3.1/buildout-cache/eggs/Products.Clouseau-0.8.2-py2.4.egg/Products/Clouseau/saved/local

sudo chown -R plone /opt/Plone-3.1/buildout-cache/eggs/Products.Clouseau-0.8.2-py2.4.egg/Products/Clouseau/saved
Added by Andy McKay on Nov 14, 2008 03:04 PM
Issue state: unconfirmedresolved
This should all be fixed with 0.8.3, please ping me if it isn't.

No responses can be added.