perlion
2011-11-18 04:05:39 UTC
I am not quite sure what I am doing wrong. I had previously set up a
test plone site as root with webandmobile and a
gomobiletheme.mycompany. I am now working on setting up the
production site and am trying to replicate my past actions.
The problem: After I install webandmobile,
start plone 4.1,
create a plone site
then run cd /usr/local/Plone/zeocluster/src
../bin/paster create -t gomobile_theme gomobiletheme.mycompanyname
and create the theme
then go back into buildout.cfg and put gomobiletheme.mycompanyname
under the eggs and zcml sections
and define
develop =
# src/my.package
src/gomobiletheme.mycompanyname
then run sudo -u plone bin/buildout
I get a permission error
***@sys:/usr/local/Plone/zeocluster$ sudo -u plone bin/buildout
Develop: '/usr/local/Plone/zeocluster/src/gomobiletheme.mycompanyname'
error: gomobiletheme.mycompanyname.egg-info/requires.txt: Permission
denied
While:
Installing.
Processing develop directory '/usr/local/Plone/zeocluster/src/
gomobiletheme.mycompanyname'.
An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.4.4-
py2.6.egg/zc/buildout/buildout.py", line 1683, in main
getattr(buildout, command)(args)
File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.4.4-
py2.6.egg/zc/buildout/buildout.py", line 417, in install
installed_develop_eggs = self._develop()
File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.4.4-
py2.6.egg/zc/buildout/buildout.py", line 657, in _develop
zc.buildout.easy_install.develop(setup, dest)
File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.4.4-
py2.6.egg/zc/buildout/easy_install.py", line 895, in develop
*args) == 0
AssertionError
Now at this point if I stop and restart plone I can browse the
plonesite but mycompany theme doesn't show up in the add-ons section.
Thinking that this is permission related I tried
sudo -u root bin/buildout
Restarting the zeoserver after this leaves zope/plone un-connectable
running client1 in fg mode gives
***@sys:/usr/local/Plone/zeocluster$ sudo bin/client1 fg
2011-11-17 22:01:51 INFO ZServer HTTP server started at Thu Nov 17
22:01:51 2011
Hostname: 0.0.0.0
Port: 8080
2011-11-17 22:01:51 INFO Zope Set effective user to "plone"
2011-11-17 22:01:54 INFO ZEO.ClientStorage zeostorage ClientStorage
(pid=29936) created RW/normal for storage: '1'
2011-11-17 22:01:54 INFO ZEO.cache created temporary cache file
'<fdopen>'
2011-11-17 22:01:54 WARNING ZEO.zrpc (29936) CW: error connecting to
('127.0.0.1', 8100): ECONNREFUSED
2011-11-17 22:01:54 WARNING ZEO.zrpc (29936) CW: error connecting to
('127.0.0.1', 8100): ECONNREFUSED
My confusion is as to why I can't seem to install gomobiletheme is
installed. If I am screwing up the permissions that is obvious please
enlighten me. I have installed plone/webandmobile as root and as user
with same results.
test plone site as root with webandmobile and a
gomobiletheme.mycompany. I am now working on setting up the
production site and am trying to replicate my past actions.
The problem: After I install webandmobile,
start plone 4.1,
create a plone site
then run cd /usr/local/Plone/zeocluster/src
../bin/paster create -t gomobile_theme gomobiletheme.mycompanyname
and create the theme
then go back into buildout.cfg and put gomobiletheme.mycompanyname
under the eggs and zcml sections
and define
develop =
# src/my.package
src/gomobiletheme.mycompanyname
then run sudo -u plone bin/buildout
I get a permission error
***@sys:/usr/local/Plone/zeocluster$ sudo -u plone bin/buildout
Develop: '/usr/local/Plone/zeocluster/src/gomobiletheme.mycompanyname'
error: gomobiletheme.mycompanyname.egg-info/requires.txt: Permission
denied
While:
Installing.
Processing develop directory '/usr/local/Plone/zeocluster/src/
gomobiletheme.mycompanyname'.
An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.4.4-
py2.6.egg/zc/buildout/buildout.py", line 1683, in main
getattr(buildout, command)(args)
File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.4.4-
py2.6.egg/zc/buildout/buildout.py", line 417, in install
installed_develop_eggs = self._develop()
File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.4.4-
py2.6.egg/zc/buildout/buildout.py", line 657, in _develop
zc.buildout.easy_install.develop(setup, dest)
File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.4.4-
py2.6.egg/zc/buildout/easy_install.py", line 895, in develop
*args) == 0
AssertionError
Now at this point if I stop and restart plone I can browse the
plonesite but mycompany theme doesn't show up in the add-ons section.
Thinking that this is permission related I tried
sudo -u root bin/buildout
Restarting the zeoserver after this leaves zope/plone un-connectable
running client1 in fg mode gives
***@sys:/usr/local/Plone/zeocluster$ sudo bin/client1 fg
2011-11-17 22:01:51 INFO ZServer HTTP server started at Thu Nov 17
22:01:51 2011
Hostname: 0.0.0.0
Port: 8080
2011-11-17 22:01:51 INFO Zope Set effective user to "plone"
2011-11-17 22:01:54 INFO ZEO.ClientStorage zeostorage ClientStorage
(pid=29936) created RW/normal for storage: '1'
2011-11-17 22:01:54 INFO ZEO.cache created temporary cache file
'<fdopen>'
2011-11-17 22:01:54 WARNING ZEO.zrpc (29936) CW: error connecting to
('127.0.0.1', 8100): ECONNREFUSED
2011-11-17 22:01:54 WARNING ZEO.zrpc (29936) CW: error connecting to
('127.0.0.1', 8100): ECONNREFUSED
My confusion is as to why I can't seem to install gomobiletheme is
installed. If I am screwing up the permissions that is obvious please
enlighten me. I have installed plone/webandmobile as root and as user
with same results.