@felipelukavei please use the "preformatted text" toolbar icon in the editor here (click on it after selecting/highlighting all the code or log file text).
I think the '/' in your /install.sh
explains the problem: you are running install.sh from the root directory of your disk, which is not writeable by a normal user and would require sudo
.
That is not a good place to unzip the unified installer.
You should unzip the unified installer somewhere inside your home directory, e.g. /Users/felipelukavei
When you unzip the unified installer where your user has write permissions, it will run correctly.
Not sure I understand your statement, but I unzipped inside the Downloads folder, it's just I ran Terminal already inside the folder, so no need to "cd".
OK, thanks!
Looks like someone already edited my post, but will do it better the next time.
Yes, it is as I posted initially, the file do exist on my OS. Follow the find return:
Felipes-MacBook-Pro-3:Plone-5.0.8-UnifiedInstaller-r1 felipelukavei$ find /usr -iname "ssl.h*"
find: /usr/sbin/authserver: Permission denied
/usr/local/include/openssl/ssl.h
/usr/local/Cellar/openssl/1.0.2n/include/openssl/ssl.h
/usr/local/share/doc/openssl/html/man7/ssl.html
Still, the test on preflight do not find it, maybe this give you any idea?
Thanks!
No worries. It was me!
I need to see this then:
cd /Users/felipelukavei/Downloads/Plone-5.0.8-UnifiedInstaller-r1
ls -l
Felipes-MacBook-Pro-3:Plone-5.0.8-UnifiedInstaller-r1 felipelukavei$ cd /Users/felipelukavei/Downloads/Plone-5.0.8-UnifiedInstaller-r1
Felipes-MacBook-Pro-3:Plone-5.0.8-UnifiedInstaller-r1 felipelukavei$ ls -l
total 480
-rw-r--r--@ 1 felipelukavei staff 12738 Oct 27 15:40 HISTORY.txt
drwxr-xr-x@ 9 felipelukavei staff 288 Oct 27 15:40 Licenses
drwxr-xr-x@ 8 felipelukavei staff 256 Jun 4 2017 Plone-docs
-rw-r--r--@ 1 felipelukavei staff 2543 Oct 27 15:40 README.rst
-rw-r--r--@ 1 felipelukavei staff 1367 Oct 27 15:40 UPDATING_ME.txt
drwxr-xr-x@ 12 felipelukavei staff 384 Oct 27 15:40 base_skeleton
-rw-r--r--@ 1 felipelukavei staff 362 Oct 27 15:40 buildenv.sh.in
drwxr-xr-x@ 3 felipelukavei staff 96 Oct 27 15:40 buildout_templates
-rw-r--r-- 1 root staff 18369 Mar 8 19:42 config.log
-rwxr-xr-x 1 root staff 24881 Mar 8 19:42 config.status
drwxr-xr-x@ 12 felipelukavei staff 384 Oct 27 15:40 docs
-rw-r--r--@ 1 felipelukavei staff 1038 Oct 27 15:40 fetch_versions.py
drwxr-xr-x@ 13 felipelukavei staff 416 Oct 27 15:40 helper_scripts
drwxr-xr-x@ 8 felipelukavei staff 256 Oct 27 15:40 init_scripts
-rwxr-xr-x@ 1 felipelukavei staff 3280 Oct 27 15:40 install.sh
drwxr-xr-x@ 5 felipelukavei staff 160 Oct 27 15:40 packages
-rw-r--r--@ 1 felipelukavei staff 148679 Oct 27 15:40 preflight
drwxr-xr-x@ 6 felipelukavei staff 192 Oct 27 15:40 tests
-rw-r--r--@ 1 felipelukavei staff 162 Oct 27 15:40 update_dist.sh
-rw-r--r--@ 1 felipelukavei staff 121 Oct 27 15:40 version.txt
OK. In the same directory, do this:
sudo rm config.log config.status
./install.sh
It worked!
Oh man, thank you so much. finally I can start developing (
==========================================
Plone Unified Installer
------------------------------------------
Continue?
==========================================
Continue with the command line:
install.sh standalone \
--target="/Users/felipelukavei/Plone" --password="*****..."
1) Yes
2) No
#? 1
Testing /usr/bin/python2.7 for Zope/Plone requirements....
/usr/bin/python2.7 looks OK. We will use it.
Rootless install method chosen. Will install for use by system user felipelukavei
Detailed installation log being written to /Users/felipelukavei/Downloads/Plone-5.0.8-UnifiedInstaller-r1/install.log
Installing Plone 5.0.8 at /Users/felipelukavei/Plone
Creating Python virtual environment.
New python executable in /Users/felipelukavei/Plone/zinstance/bin/python
Installing setuptools, pip, wheel...done.
Installing zc.buildout in virtual environment.
Unpacking buildout cache to /Users/felipelukavei/Plone/buildout-cache
Copying Plone-docs
Copying buildout skeleton
Building Zope/Plone; this takes a while...
Buildout completed
#####################################################################
###################### Installation Complete ######################
Plone successfully installed at /Users/felipelukavei/Plone
See /Users/felipelukavei/Plone/zinstance/README.html
for startup instructions.
Use the account information below to log into the Zope Management Interface
The account has full 'Manager' privileges.
Username: admin
Password: admin
This account is created when the object database is initialized. If you change
the password later (which you should!), you'll need to use the new password.
Use this account only to create Plone sites and initial users. Do not use it
for routine login or maintenance.- If you need help, ask in IRC channel #plone on irc.freenode.net. - The live support channel also exists at http://plone.org/chat - You can also ask for help on https://community.plone.org - Submit feedback and report errors at https://github.com/plone/Products.CMFPlone/issues (For install problems, https://github.com/plone/Installers-UnifiedInstaller/issues)
Could you explain what we did here?
Again, Thank you sou much!
Glad you got it working
What the ls -l
command does is list the details of each file, including ownership. The two files we deleted were owned by the root
user because that's what the sudo
command does: it runs as root
user. When you ran the install.sh you must have done so using sudo
, leaving those two files owned by root
, which meant that when you tried later to run the installer as a regular user (not root
) the system complained that you had insufficient permission to remove the two files (the installer has to overwrite those files to run correctly).
The sudo rm
command deleted the two files in question (it ran the rm
(remove) command as the root
user), so that when you ran the installer again as a non-root user it was able to complete successfully.
Thanks for the help and the explanation (
Sorry for coming back
Got one more problem and would like some help. To make this short will put the questions before my process, so maybe you don't need to read it all.
I cannot run Plone and looks like I should have Zope installed. Can I install Zope after having Plone installed or should I somehow uninstall it first?
A second question is if the Plone Developer Tools are important because looks like I don't have it...
if needed:
Since I got Plone installed, got back to the documentation to start running it. Tried following the steps listed on https://docs.plone.org/manage/installing/installation.html, but couldn't do it at all.
Will list what I did:
1. Install Plone Developer Tools
Felipes-MacBook-Pro-3:~ felipelukavei$ cd ~/Plone/zinstance
Felipes-MacBook-Pro-3:zinstance felipelukavei$ bin/buildout -c develop.cfg
Getting distribution for 'mr.developer==1.35'.
Using unpack_wheel() shim over the deprecated wheel_to_egg() hook.
Please update your wheel extension implementation for one that installs a .whl
handler in zc.buildout.easy_install.UNPACKERS
While:
Installing.
Loading extensions.
Getting distribution for 'mr.developer==1.35'.
Error: Wheels are not supported
Didn't work, so tried the next step
2. Start Plone. Was already inside zinstance, used "bin/plonectl fg" and got:
Felipes-MacBook-Pro-3:zinstance felipelukavei$ bin/plonectl fg
instance: 2018-03-10 19:59:11 INFO ZServer HTTP server started at Sat Mar 10 19:59:11 2018
Hostname: 0.0.0.0
Port: 8080
2018-03-10 19:59:12 ERROR Application Could not import Products.ATContentTypes
Traceback (most recent call last):
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/OFS/Application.py", line 606, in import_product
product=__import__(pname, global_dict, global_dict, silly)
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/__init__.py", line 12, in <module>
from Products.ATContentTypes.config import GLOBALS
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/config.py", line 9, in <module>
from Products.ATContentTypes.configuration import zconf
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/configuration/__init__.py", line 2, in <module>
from Products.ATContentTypes.configuration.config import zconf # noqa
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/configuration/config.py", line 3, in <module>
from Products.ATContentTypes.configuration.schema import atctSchema
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/configuration/schema.py", line 2, in <module>
from Products.ATContentTypes.configuration import datatype
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/configuration/datatype.py", line 3, in <module>
from Products.CMFCore import permissions as CMFCorePermissions
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.CMFCore-2.2.10-py2.7.egg/Products/CMFCore/__init__.py", line 34, in <module>
import FSReSTMethod
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.CMFCore-2.2.10-py2.7.egg/Products/CMFCore/FSReSTMethod.py", line 16, in <module>
from docutils.core import publish_parts
File "/Users/felipelukavei/Plone/buildout-cache/eggs/docutils-0.12-py2.7.egg/docutils/core.py", line 20, in <module>
from docutils import frontend, io, utils, readers, writers
File "/Users/felipelukavei/Plone/buildout-cache/eggs/docutils-0.12-py2.7.egg/docutils/frontend.py", line 41, in <module>
import docutils.utils
File "/Users/felipelukavei/Plone/buildout-cache/eggs/docutils-0.12-py2.7.egg/docutils/utils/__init__.py", line 20, in <module>
import docutils.io
File "/Users/felipelukavei/Plone/buildout-cache/eggs/docutils-0.12-py2.7.egg/docutils/io.py", line 18, in <module>
from docutils.utils.error_reporting import locale_encoding, ErrorString, ErrorOutput
File "/Users/felipelukavei/Plone/buildout-cache/eggs/docutils-0.12-py2.7.egg/docutils/utils/error_reporting.py", line 47, in <module>
locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1]
File "/Users/felipelukavei/Plone/zinstance/lib/python2.7/locale.py", line 543, in getdefaultlocale
return _parse_localename(localename)
File "/Users/felipelukavei/Plone/zinstance/lib/python2.7/locale.py", line 475, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
Traceback (most recent call last):
File "/Users/felipelukavei/Plone/zinstance/parts/instance/bin/interpreter", line 280, in <module>
exec(compile(__file__f.read(), __file__, "exec"))
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/Startup/run.py", line 76, in <module>
run()
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/Startup/run.py", line 22, in run
starter.prepare()
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/Startup/__init__.py", line 92, in prepare
self.startZope()
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/Startup/__init__.py", line 268, in startZope
Zope2.startup()
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/__init__.py", line 47, in startup
_startup()
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/App/startup.py", line 69, in startup
OFS.Application.import_products()
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/OFS/Application.py", line 583, in import_products
import_product(product_dir, product_name, raise_exc=debug_mode)
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/OFS/Application.py", line 606, in import_product
product=__import__(pname, global_dict, global_dict, silly)
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/__init__.py", line 12, in <module>
from Products.ATContentTypes.config import GLOBALS
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/config.py", line 9, in <module>
from Products.ATContentTypes.configuration import zconf
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/configuration/__init__.py", line 2, in <module>
from Products.ATContentTypes.configuration.config import zconf # noqa
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/configuration/config.py", line 3, in <module>
from Products.ATContentTypes.configuration.schema import atctSchema
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/configuration/schema.py", line 2, in <module>
from Products.ATContentTypes.configuration import datatype
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/configuration/datatype.py", line 3, in <module>
from Products.CMFCore import permissions as CMFCorePermissions
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.CMFCore-2.2.10-py2.7.egg/Products/CMFCore/__init__.py", line 34, in <module>
import FSReSTMethod
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.CMFCore-2.2.10-py2.7.egg/Products/CMFCore/FSReSTMethod.py", line 16, in <module>
from docutils.core import publish_parts
File "/Users/felipelukavei/Plone/buildout-cache/eggs/docutils-0.12-py2.7.egg/docutils/core.py", line 20, in <module>
from docutils import frontend, io, utils, readers, writers
File "/Users/felipelukavei/Plone/buildout-cache/eggs/docutils-0.12-py2.7.egg/docutils/frontend.py", line 41, in <module>
import docutils.utils
File "/Users/felipelukavei/Plone/buildout-cache/eggs/docutils-0.12-py2.7.egg/docutils/utils/__init__.py", line 20, in <module>
import docutils.io
File "/Users/felipelukavei/Plone/buildout-cache/eggs/docutils-0.12-py2.7.egg/docutils/io.py", line 18, in <module>
from docutils.utils.error_reporting import locale_encoding, ErrorString, ErrorOutput
File "/Users/felipelukavei/Plone/buildout-cache/eggs/docutils-0.12-py2.7.egg/docutils/utils/error_reporting.py", line 47, in <module>
locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1]
File "/Users/felipelukavei/Plone/zinstance/lib/python2.7/locale.py", line 543, in getdefaultlocale
return _parse_localename(localename)
File "/Users/felipelukavei/Plone/zinstance/lib/python2.7/locale.py", line 475, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
Looks like some files are missing. Should I have installed Zope before installing Plone?
- Listed the files and got inside /bin/
Felipes-MacBook-Pro-3:zinstance felipelukavei$ ls -l
total 136
-rw-r--r-- 1 felipelukavei staff 3430 Mar 9 15:09 README.html
-rw------- 1 felipelukavei staff 429 Mar 9 15:09 adminPassword.txt
-rw-r--r-- 1 felipelukavei staff 8690 Mar 9 15:06 base.cfg
drwxr-xr-x 39 felipelukavei staff 1248 Mar 9 15:09 bin
-rw------- 1 felipelukavei staff 6669 Mar 9 15:06 buildout.cfg
drwxr-xr-x 2 felipelukavei staff 64 Mar 9 15:06 develop-eggs
-rw-r--r-- 1 felipelukavei staff 4820 Mar 9 15:06 develop.cfg
drwxr-xr-x 3 felipelukavei staff 96 Mar 9 15:06 include
drwxr-xr-x 3 felipelukavei staff 96 Mar 9 15:06 lib
-rw-r--r-- 1 felipelukavei staff 759 Mar 9 15:06 lxml_static.cfg
drwxr-xr-x 4 felipelukavei staff 128 Mar 9 15:09 parts
-rw-r--r-- 1 felipelukavei staff 60 Mar 9 15:06 pip-selfcheck.json
drwxr-xr-x 3 felipelukavei staff 96 Mar 9 15:06 products
drwxr-xr-x 5 felipelukavei staff 160 Mar 9 15:06 src
drwx------ 7 felipelukavei staff 224 Mar 10 19:59 var
-rw-r--r-- 1 felipelukavei staff 11887 Mar 9 15:06 versions.cfg
-rw-r--r-- 1 felipelukavei staff 1038 Mar 9 15:06 zope-2-13-26-versions.cfg
-rw-r--r-- 1 felipelukavei staff 1917 Mar 9 15:06 zopetoolkit-1-0-8-zopeapp-versions.cfg
-rw-r--r-- 1 felipelukavei staff 2533 Mar 9 15:06 zopetoolkit-1-0-8-ztk-versions.cfg
Felipes-MacBook-Pro-3:zinstance felipelukavei$ cd bin
Felipes-MacBook-Pro-3:bin felipelukavei$ ls -l
total 1008
-rw-r--r-- 1 felipelukavei staff 2095 Mar 9 15:06 activate
-rw-r--r-- 1 felipelukavei staff 1037 Mar 9 15:06 activate.csh
-rw-r--r-- 1 felipelukavei staff 2191 Mar 9 15:06 activate.fish
-rw-r--r-- 1 felipelukavei staff 1137 Mar 9 15:06 activate_this.py
-rwxr-xr-x 1 felipelukavei staff 2386 Mar 9 15:09 backup
-rwxr-xr-x 1 felipelukavei staff 254 Mar 9 15:06 buildout
-rwxr-xr-x 1 felipelukavei staff 21963 Mar 9 15:09 createfontdatachunk.py
-rwxr-xr-x 1 felipelukavei staff 265 Mar 9 15:06 easy_install
-rwxr-xr-x 1 felipelukavei staff 265 Mar 9 15:06 easy_install-2.7
-rwxr-xr-x 1 felipelukavei staff 23003 Mar 9 15:09 enhancer.py
-rwxr-xr-x 1 felipelukavei staff 23859 Mar 9 15:09 explode.py
-rwxr-xr-x 1 felipelukavei staff 2390 Mar 9 15:09 fullbackup
-rwxr-xr-x 1 felipelukavei staff 22062 Mar 9 15:09 gifmaker.py
-rwxr-xr-x 1 felipelukavei staff 21923 Mar 9 15:09 instance
-rwxr-xr-x 1 felipelukavei staff 23529 Mar 9 15:09 painter.py
-rwxr-xr-x 1 felipelukavei staff 23779 Mar 9 15:09 pilconvert.py
-rwxr-xr-x 1 felipelukavei staff 36931 Mar 9 15:09 pildriver.py
-rwxr-xr-x 1 felipelukavei staff 24087 Mar 9 15:09 pilfile.py
-rwxr-xr-x 1 felipelukavei staff 22448 Mar 9 15:09 pilfont.py
-rwxr-xr-x 1 felipelukavei staff 24018 Mar 9 15:09 pilprint.py
-rwxr-xr-x 1 felipelukavei staff 237 Mar 9 15:06 pip
-rwxr-xr-x 1 felipelukavei staff 237 Mar 9 15:06 pip2
-rwxr-xr-x 1 felipelukavei staff 237 Mar 9 15:06 pip2.7
-rwxr-xr-x 1 felipelukavei staff 23594 Mar 9 15:09 player.py
-rwxr-xr-x 1 felipelukavei staff 677 Mar 9 15:09 plonectl
-rwxr-xr-x 1 felipelukavei staff 51744 Mar 9 15:06 python
-rwxr-xr-x 1 felipelukavei staff 2354 Mar 9 15:06 python-config
lrwxr-xr-x 1 felipelukavei staff 6 Mar 9 15:06 python2 -> python
lrwxr-xr-x 1 felipelukavei staff 6 Mar 9 15:06 python2.7 -> python
-rwxr-xr-x 1 felipelukavei staff 838 Mar 9 15:09 repozo
-rwxr-xr-x 1 felipelukavei staff 2387 Mar 9 15:09 restore
-rwxr-xr-x 1 felipelukavei staff 2388 Mar 9 15:09 snapshotbackup
-rwxr-xr-x 1 felipelukavei staff 2396 Mar 9 15:09 snapshotrestore
-rwxr-xr-x 1 felipelukavei staff 23293 Mar 9 15:09 thresholder.py
-rwxr-xr-x 1 felipelukavei staff 22388 Mar 9 15:09 viewer.py
-rwxr-xr-x 1 felipelukavei staff 244 Mar 9 15:06 wheel
-rwxr-xr-x 1 felipelukavei staff 22210 Mar 9 15:09 zopepy
Looks like I have no Plone developer tools in here, not sure if I should.
4. Ran /plonectl start
Felipes-MacBook-Pro-3:bin felipelukavei$ ./plonectl start
instance: .
daemon process started, pid=1533
Looks like it worked, but probably it is not enough, ran "./plonectl fg" again and got the same result, pretty sure I should really have Zope installed.
Again, sorry for bringing more problems, but would really appreciate a little more help, thanks!
No, you don't have to install Zope separately. It's part of the Plone unified installer (and every other Plone installation method).
They are needed only if you are going to create your own add-ons, or customize add-ons or Plone.
A side note: you need to be careful with '/' ... the way you write it there means you're running plonectl from the root of your file system, when from what you write next ('./') it's clear you mean plonectl in your current directory.
As I said above, you don't need to run bin/buildout -c develop.cfg unless you are going to do some development work which you don't need if all you want to do now is to run Plone.
But when you did run bin/buildout -c develop.cfg you got some errrors that caused buildout to stop before completing successfully. Since buildout starts by removing everything it creates, that means the unsuccessful buildout run left you without most executables in the bin directory.
Run bin/buildout normally and things should work fine.
a pointer
https://bugs.python.org/issue18378
Still not working. As you said, buildout without "/" did it, but plonectl fg still looks like need Zope and testing http://www.yourserver.com:8080 on browser do not load anything
Felipes-MacBook-Pro-3:zinstance felipelukavei$ ls -l
total 136
-rw-r--r-- 1 felipelukavei staff 3430 Mar 9 15:09 README.html
-rw------- 1 felipelukavei staff 429 Mar 9 15:09 adminPassword.txt
-rw-r--r-- 1 felipelukavei staff 8690 Mar 9 15:06 base.cfg
drwxr-xr-x 39 felipelukavei staff 1248 Mar 9 15:09 bin
-rw------- 1 felipelukavei staff 6669 Mar 9 15:06 buildout.cfg
drwxr-xr-x 2 felipelukavei staff 64 Mar 9 15:06 develop-eggs
-rw-r--r-- 1 felipelukavei staff 4820 Mar 9 15:06 develop.cfg
drwxr-xr-x 3 felipelukavei staff 96 Mar 9 15:06 include
drwxr-xr-x 3 felipelukavei staff 96 Mar 9 15:06 lib
-rw-r--r-- 1 felipelukavei staff 759 Mar 9 15:06 lxml_static.cfg
drwxr-xr-x 4 felipelukavei staff 128 Mar 9 15:09 parts
-rw-r--r-- 1 felipelukavei staff 60 Mar 9 15:06 pip-selfcheck.json
drwxr-xr-x 3 felipelukavei staff 96 Mar 9 15:06 products
drwxr-xr-x 5 felipelukavei staff 160 Mar 9 15:06 src
drwx------ 7 felipelukavei staff 224 Mar 11 11:35 var
-rw-r--r-- 1 felipelukavei staff 11887 Mar 9 15:06 versions.cfg
-rw-r--r-- 1 felipelukavei staff 1038 Mar 9 15:06 zope-2-13-26-versions.cfg
-rw-r--r-- 1 felipelukavei staff 1917 Mar 9 15:06 zopetoolkit-1-0-8-zopeapp-versions.cfg
-rw-r--r-- 1 felipelukavei staff 2533 Mar 9 15:06 zopetoolkit-1-0-8-ztk-versions.cfg
Felipes-MacBook-Pro-3:zinstance felipelukavei$ bin/buildout
Updating instance.
Updating repozo.
Updating backup.
Updating zopepy.
Updating unifiedinstaller.
Felipes-MacBook-Pro-3:zinstance felipelukavei$ bin/plonectl fg
instance: 2018-03-11 11:37:21 INFO ZServer HTTP server started at Sun Mar 11 11:37:21 2018
Hostname: 0.0.0.0
Port: 8080
2018-03-11 11:37:21 ERROR Application Could not import Products.ATContentTypes
Traceback (most recent call last):
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/OFS/Application.py", line 606, in import_product
product=__import__(pname, global_dict, global_dict, silly)
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/__init__.py", line 12, in <module>
from Products.ATContentTypes.config import GLOBALS
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/config.py", line 9, in <module>
from Products.ATContentTypes.configuration import zconf
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/configuration/__init__.py", line 2, in <module>
from Products.ATContentTypes.configuration.config import zconf # noqa
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/configuration/config.py", line 3, in <module>
from Products.ATContentTypes.configuration.schema import atctSchema
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/configuration/schema.py", line 2, in <module>
from Products.ATContentTypes.configuration import datatype
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/configuration/datatype.py", line 3, in <module>
from Products.CMFCore import permissions as CMFCorePermissions
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.CMFCore-2.2.10-py2.7.egg/Products/CMFCore/__init__.py", line 34, in <module>
import FSReSTMethod
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.CMFCore-2.2.10-py2.7.egg/Products/CMFCore/FSReSTMethod.py", line 16, in <module>
from docutils.core import publish_parts
File "/Users/felipelukavei/Plone/buildout-cache/eggs/docutils-0.12-py2.7.egg/docutils/core.py", line 20, in <module>
from docutils import frontend, io, utils, readers, writers
File "/Users/felipelukavei/Plone/buildout-cache/eggs/docutils-0.12-py2.7.egg/docutils/frontend.py", line 41, in <module>
import docutils.utils
File "/Users/felipelukavei/Plone/buildout-cache/eggs/docutils-0.12-py2.7.egg/docutils/utils/__init__.py", line 20, in <module>
import docutils.io
File "/Users/felipelukavei/Plone/buildout-cache/eggs/docutils-0.12-py2.7.egg/docutils/io.py", line 18, in <module>
from docutils.utils.error_reporting import locale_encoding, ErrorString, ErrorOutput
File "/Users/felipelukavei/Plone/buildout-cache/eggs/docutils-0.12-py2.7.egg/docutils/utils/error_reporting.py", line 47, in <module>
locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1]
File "/Users/felipelukavei/Plone/zinstance/lib/python2.7/locale.py", line 543, in getdefaultlocale
return _parse_localename(localename)
File "/Users/felipelukavei/Plone/zinstance/lib/python2.7/locale.py", line 475, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
Traceback (most recent call last):
File "/Users/felipelukavei/Plone/zinstance/parts/instance/bin/interpreter", line 280, in <module>
exec(compile(__file__f.read(), __file__, "exec"))
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/Startup/run.py", line 76, in <module>
run()
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/Startup/run.py", line 22, in run
starter.prepare()
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/Startup/__init__.py", line 92, in prepare
self.startZope()
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/Startup/__init__.py", line 268, in startZope
Zope2.startup()
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/__init__.py", line 47, in startup
_startup()
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/App/startup.py", line 69, in startup
OFS.Application.import_products()
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/OFS/Application.py", line 583, in import_products
import_product(product_dir, product_name, raise_exc=debug_mode)
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/OFS/Application.py", line 606, in import_product
product=__import__(pname, global_dict, global_dict, silly)
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/__init__.py", line 12, in <module>
from Products.ATContentTypes.config import GLOBALS
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/config.py", line 9, in <module>
from Products.ATContentTypes.configuration import zconf
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/configuration/__init__.py", line 2, in <module>
from Products.ATContentTypes.configuration.config import zconf # noqa
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/configuration/config.py", line 3, in <module>
from Products.ATContentTypes.configuration.schema import atctSchema
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/configuration/schema.py", line 2, in <module>
from Products.ATContentTypes.configuration import datatype
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/configuration/datatype.py", line 3, in <module>
from Products.CMFCore import permissions as CMFCorePermissions
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.CMFCore-2.2.10-py2.7.egg/Products/CMFCore/__init__.py", line 34, in <module>
import FSReSTMethod
File "/Users/felipelukavei/Plone/buildout-cache/eggs/Products.CMFCore-2.2.10-py2.7.egg/Products/CMFCore/FSReSTMethod.py", line 16, in <module>
from docutils.core import publish_parts
File "/Users/felipelukavei/Plone/buildout-cache/eggs/docutils-0.12-py2.7.egg/docutils/core.py", line 20, in <module>
from docutils import frontend, io, utils, readers, writers
File "/Users/felipelukavei/Plone/buildout-cache/eggs/docutils-0.12-py2.7.egg/docutils/frontend.py", line 41, in <module>
import docutils.utils
File "/Users/felipelukavei/Plone/buildout-cache/eggs/docutils-0.12-py2.7.egg/docutils/utils/__init__.py", line 20, in <module>
import docutils.io
File "/Users/felipelukavei/Plone/buildout-cache/eggs/docutils-0.12-py2.7.egg/docutils/io.py", line 18, in <module>
from docutils.utils.error_reporting import locale_encoding, ErrorString, ErrorOutput
File "/Users/felipelukavei/Plone/buildout-cache/eggs/docutils-0.12-py2.7.egg/docutils/utils/error_reporting.py", line 47, in <module>
locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1]
File "/Users/felipelukavei/Plone/zinstance/lib/python2.7/locale.py", line 543, in getdefaultlocale
return _parse_localename(localename)
File "/Users/felipelukavei/Plone/zinstance/lib/python2.7/locale.py", line 475, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
Felipes-MacBook-Pro-3:zinstance felipelukavei$ bin/plonectl start
instance: .
daemon process started, pid=26492
I should test it any other way?
I thought you said before that you got the installer working? What did you change in buildout.cfg since then?
The install completed, so I continued the flow of Plone documentation.
That listed to do so, so I did. Still, couldn't accomplish it, should I do it in a different way?
All I did I listed on 32th reply, really confused if I should or not follow the documentation's steps
Thank you!
Looks promising. Will dive into.
Later I reply if got it working
This indeed helped, the error is not there anymore, but I still couldn't start developing.
used de "export LC_CTYPE=en_US.UTF8" on .bash solution and the error stoped, now I get this in the prompt:
Felipes-MacBook-Pro-3:zinstance felipelukavei$ bin/plonectl fg
instance: 2018-03-13 11:34:21 INFO ZServer HTTP server started at Tue Mar 13 11:34:21 2018
Hostname: 0.0.0.0
Port: 8080
2018-03-13 11:34:29 INFO Plone OpenID system packages not installed, OpenID support not available
2018-03-13 11:34:31 INFO Zope Ready to handle requests
It's been almost five hours and yet not done, guess it won't. opened other terminal window and used the tried bin/plonectl start, no error, but nothing on http://yourserver:8080 also.
Should I open plone any other way to start developing? Maybe this browser test has something related with zope and that is why I don't have anything there?
Thanks guys.