plomino / Plomino

Powerful and flexible web-based application builder
33 stars 37 forks source link

Buildout.cfg is hidden where at ? #513

Open teriipy opened 10 years ago

teriipy commented 10 years ago

Hi Ppl. config installed Plone 4.3.2 (4307) CMF 2.2.7 Zope 2.13.21 Pyt 2.7.3 PIL 1.7.8

I'm trying to locate the Buildout.cfg FILE to modify it and install Plomino next !

Problems : 1) I can't find this file nowhere 2) What Linux Tool/command can I use to edit save this file ?

I've only used few commands so far ls, cd :) Thanks

ebrehault commented 10 years ago

Most part of time, the buildout.cfg file is in the root of your Plone install. To locate it, you can do the following:

sudo updatedb
locate buildout.cfg

and to edit it:

cd the_correct_path
vim buildout.cfg

(google 'vim' to find the instructions) Of course, if you are not on a remote server, you can edit a graphical text editor instead of vim.

teriipy commented 10 years ago

Results for locate buildout.cfg ...I was expecting only for a single file :)

UnifiedInstaller/base_skeleton/src/z3c.recipe.staticlxml/buildout.cfg /root/Plone-4.3.2-UnifiedInstaller/buildout_templates/buildout.cfg [...] /usr/local/Plone/buildout-cache/eggs/ZopeSkel-2.21.2-py2.7.egg/zopeskel/templates/plone4_buildout/buildout.cfg_tmpl ... /usr/local/Plone/buildout-cache/eggs/plone.app.caching-1.1.6-py2.7.egg/plone/app/caching/proxy-configs/squid/buildout.cfg /usr/local/Plone/buildout-cache/eggs/plone.app.caching-1.1.6-py2.7.egg/plone/app/caching/proxy-configs/varnish/buildout.cfg [...] /usr/local/Plone/zeocluster/buildout.cfg /usr/local/Plone/zeocluster/src/z3c.recipe.staticlxml/buildout.cfg

root@server:~

So....I guess this folder file is the right one >>> /usr/local/Plone/zeocluster/buildout.cfg <<<

ebrehault commented 10 years ago

yes

teriipy commented 10 years ago

Hi, Okay, Plomino is finally activated: I though you might like to check the instal logs. (has some errors but still seems to work) It's runing on Ubuntu server 12.04 Lts

root@server:/usr/local/Plone/zeocluster# sudo -u plone_buildout bin/buildout Uninstalling precompiler. Uninstalling zopepy. Uninstalling client2. Uninstalling client1. Updating zeoserver. Installing client1. Getting distribution for 'Products.CMFPlomino'. SyntaxError: ("'return' outside function", ('build/bdist.linux-x86_64/egg/Products/CMFPlomino/skins/cmfplomino_styles/kupu-customisation-policy.py', 206, None, 'return printed\n'))

SyntaxError: ("'return' outside function", ('/usr/local/Plone/buildout-cache/eggs/tmpnSzVaK/Products.CMFPlomino-1.18.5-py2.7.egg/Products/CMFPlomino/skins/cmfplomino_styles/kupu-customisation-policy.py', 206, None, 'return printed\n'))

Got Products.CMFPlomino 1.18.5. Getting distribution for 'plomino.tinymce'. Got plomino.tinymce 0.7.2. Getting distribution for 'collective.codemirror'. Got collective.codemirror 0.2. Getting distribution for 'collective.js.datatables'. warning: no previously-included files matching '*pyc' found anywhere in distribution Got collective.js.datatables 2.0. Getting distribution for 'collective.js.jqueryui==1.10.1.2'.

Installed /tmp/easy_install-7XIInG/collective.js.jqueryui-1.10.1.2/setuptoolsgit-1.0-py2.7.egg warning: no files found matching '.pdf' under directory 'collective' warning: no files found matching '.po' under directory 'collective' warning: no files found matching '.pot' under directory 'collective' warning: no previously-included files matching '_.pyc' found anywhere in distribution warning: no previously-included files matching '~' found anywhere in distribution Got collective.js.jqueryui 1.10.1.2. Getting distribution for 'jsonutil'. Got jsonutil 1.0.3. Getting distribution for 'simplejson==2.5.2'. simplejson/_speedups.c: In function 'encoder_listencode_obj': simplejson/_speedups.c:2263:36: warning: comparison of distinct pointer types lacks a cast [enabled by default] simplejson/_speedups.c:2263:9: warning: passing argument 2 of 'PyType_IsSubtype' from incompatible pointer type [enabled by default] /usr/include/python2.7/object.h:437:17: note: expected 'struct PyTypeObject ' but argument is of type 'struct PyObject *' zip_safe flag not set; analyzing archive contents... simplejson.tests.init: module references file Got simplejson 2.5.2. Getting distribution for 'zope.hookable==3.4.1'. Got zope.hookable 3.4.1. Generated script '/usr/local/Plone/zeocluster/bin/client1'. Generated interpreter '/usr/local/Plone/zeocluster/parts/client1/bin/interpreter'. Installing client2. Generated script '/usr/local/Plone/zeocluster/bin/client2'. Generated interpreter '/usr/local/Plone/zeocluster/parts/client2/bin/interpreter'. Updating backup. Installing zopepy. Generated interpreter '/usr/local/Plone/zeocluster/bin/zopepy'. Updating unifiedinstaller. Installing precompiler. Compiling Python files. Compiling locale files. Error while compiling /usr/local/Plone/buildout-cache/eggs/python_gettext-1.2-py2.7.egg/pythongettext/tests/test_escape.po Error while compiling /usr/local/Plone/buildout-cache/eggs/python_gettext-1.2-py2.7.egg/pythongettext/tests/test5.po Updating setpermissions. setpermissions: Running

Dummy references to force this to execute after referenced parts

echo /usr/local/Plone/zeocluster/var/backups yes > /dev/null chmod 600 .installed.cfg

Make sure anything we've created in var is r/w by our group

find /usr/local/Plone/zeocluster/var -type d -exec chmod 770 {} \; 2> /dev/null find /usr/local/Plone/zeocluster/var -type f -exec chmod 660 {} \; 2> /dev/null find /usr/local/Plone/zeocluster/var -type d -exec chmod 770 {} \; 2> /dev/null find /usr/local/Plone/zeocluster/var -type f -exec chmod 660 {} \; 2> /dev/null chmod 754 /usr/local/Plone/zeocluster/bin/* *** PICKED VERSIONS **** [versions] Products.CMFPlomino = 1.18.5 collective.codemirror = 0.2 collective.js.datatables = 2.0 jsonutil = 1.0.3 plomino.tinymce = 0.7.2

*** /PICKED VERSIONS *** root@server:/usr/local/Plone/zeocluster# plonectl start -bash: plonectl: command not found root@server:/usr/local/Plone/zeocluster# ./bin/plonect start -bash: ./bin/plonect: No such file or directory You have new mail in /var/mail/root root@server:/usr/local/Plone/zeocluster# ./bin/plonectl start zeoserver: . . . . . . . . . . . daemon manager not running client1: . daemon process started, pid=2024 client2: daemon process already running; pid=1467 root@server:/usr/local/Plone/zeocluster#

ebrehault commented 10 years ago

those errors are not important (there are caused by "return" keywords in PythonScripts)