--
You received this message because you are subscribed to the Google Groups "Kotti" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kotti+unsubscribe@googlegroups.com.
To post to this group, send email to ko...@googlegroups.com.
Visit this group at https://groups.google.com/group/kotti.
To view this discussion on the web visit https://groups.google.com/d/msgid/kotti/CA0557ED-3FD6-4886-B377-0904CE8F3F5A%40binary-punks.com.
For more options, visit https://groups.google.com/d/optout.
On 23 Feb 2018, at 14:58, mike.cu...@gmail.com wrote:
FYI, this doesn't build on my macbook pro running Sierra 10.12.6. Tried it
with new virtual envs for both 3.5 and 3.6.
Pretty sure I've seen this, too. I think it was a buggy version of setuptools which caused this issue…
Works here (High Sierra 10.13.3):
disko@diskobook:~/tmp ✔ uname -a
Darwin diskobook2011 17.4.0 Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64 x86_64
Python 3.5, setuptools-28.8.0:
disko@diskobook:~/tmp ✔ pyenv local 3.5.4
disko@diskobook:~/tmp ✔ python -m venv kotti35
disko@diskobook:~/tmp ✔ kotti35/bin/pip install Kotti==2.0.0a1
[…]
Successfully installed Babel-2.5.3 Chameleon-3.2 Kotti-2.0.0a1 LEPL-5.1.3 Mako-1.0.7 MarkupSafe-1.0 PasteDeploy-1.5.2 WebOb-1.7.4 alembic-0.9.8 appdirs-1.4.3 beaker-1.9.0 bleach-2.1.2 bleach-whitelist-0.0.8 colander-1.4 deform-2.0.5 docopt-0.6.2 fanstatic-1.0.0 filedepot-0.5.2 formencode-2.0.0a1 html2text-2018.1.9 html5lib-1.0.1 hupper-1.0 iso8601-0.1.11 js.angular-1.1.4 js.bootstrap-3.3.4 js.deform-2.0.3 js.fineuploader-5.14.0 js.html5shiv-3.7.3 js.jquery-1.9.1 js.jquery-form-3.9 js.jquery-maskedinput-1.4.1 js.jquery-maskmoney-3.0.2 js.jquery-sortable-0.9.13 js.jquery-tablednd-0.4 js.jquery-timepicker-addon-1.5.3 js.jqueryui-1.10.3 js.jqueryui-tagit-2.0.24.post2 js.modernizr-2.5.3.1 js.select2-4.0.4.post1 js.tinymce-4.5.4 lingua-4.13 peppercorn-0.5 plaster-1.0 plaster-pastedeploy-0.4.2 polib-1.1.0 py-bcrypt-0.4 pyramid-1.9.1 pyramid-beaker-0.8 pyramid-chameleon-0.3 pyramid-deform-0.2 pyramid-mailer-0.15.1 pyramid-tm-2.2 pyramid-zcml-1.1.0 python-dateutil-2.6.1 python-editor-1.0.3 pytz-2018.3 repoze.lru-0.7 repoze.sendmail-4.4.1 repoze.workflow-1.0b1 repoze.zcml-1.0b1 rfc6266-parser-0.0.5.post2 shutilwhich-1.1.0 six-1.11.0 sqlalchemy-1.2.4 sqlalchemy-utils-0.33.0 transaction-2.1.2 translationstring-1.3 unidecode-1.0.22 usersettings-1.0.7 venusian-1.1.0 waitress-1.1.0 webencodings-0.5.1 zope.component-4.4.1 zope.configuration-4.1.0 zope.deprecation-4.3.0 zope.event-4.3.0 zope.i18nmessageid-4.1.0 zope.interface-4.4.3 zope.schema-4.5.0 zope.sqlalchemy-1.0
Python 3.6, setuptools-28.8.0:
disko@diskobook:~/tmp ✔ pyenv local 3.6.3
disko@diskobook:~/tmp ✔ python -m venv kotti36
disko@diskobook:~/tmp ✔ kotti36/bin/pip install Kotti==2.0.0a1
[…]
Successfully installed Babel-2.5.3 Chameleon-3.2 Kotti-2.0.0a1 LEPL-5.1.3 Mako-1.0.7 MarkupSafe-1.0 PasteDeploy-1.5.2 WebOb-1.7.4 alembic-0.9.8 appdirs-1.4.3 beaker-1.9.0 bleach-2.1.2 bleach-whitelist-0.0.8 colander-1.4 deform-2.0.5 docopt-0.6.2 fanstatic-1.0.0 filedepot-0.5.2 formencode-2.0.0a1 html2text-2018.1.9 html5lib-1.0.1 hupper-1.0 iso8601-0.1.11 js.angular-1.1.4 js.bootstrap-3.3.4 js.deform-2.0.3 js.fineuploader-5.14.0 js.html5shiv-3.7.3 js.jquery-1.9.1 js.jquery-form-3.9 js.jquery-maskedinput-1.4.1 js.jquery-maskmoney-3.0.2 js.jquery-sortable-0.9.13 js.jquery-tablednd-0.4 js.jquery-timepicker-addon-1.5.3 js.jqueryui-1.10.3 js.jqueryui-tagit-2.0.24.post2 js.modernizr-2.5.3.1 js.select2-4.0.4.post1 js.tinymce-4.5.4 lingua-4.13 peppercorn-0.5 plaster-1.0 plaster-pastedeploy-0.4.2 polib-1.1.0 py-bcrypt-0.4 pyramid-1.9.1 pyramid-beaker-0.8 pyramid-chameleon-0.3 pyramid-deform-0.2 pyramid-mailer-0.15.1 pyramid-tm-2.2 pyramid-zcml-1.1.0 python-dateutil-2.6.1 python-editor-1.0.3 pytz-2018.3 repoze.lru-0.7 repoze.sendmail-4.4.1 repoze.workflow-1.0b1 repoze.zcml-1.0b1 rfc6266-parser-0.0.5.post2 shutilwhich-1.1.0 six-1.11.0 sqlalchemy-1.2.4 sqlalchemy-utils-0.33.0 transaction-2.1.2 translationstring-1.3 unidecode-1.0.22 usersettings-1.0.7 venusian-1.1.0 waitress-1.1.0 webencodings-0.5.1 zope.component-4.4.1 zope.configuration-4.1.0 zope.deprecation-4.3.0 zope.event-4.3.0 zope.i18nmessageid-4.1.0 zope.interface-4.4.3 zope.schema-4.5.0 zope.sqlalchemy-1.0
Python 3.6, setuptools-38.5.1:
disko@diskobook:~/tmp ✔ pyenv local 3.6.3
disko@diskobook:~/tmp ✔ python -m venv kotti362
disko@diskobook:~/tmp ✔ kotti362/bin/pip install -U setuptools
Collecting setuptools
Using cached setuptools-38.5.1-py2.py3-none-any.whl
Installing collected packages: setuptools
Found existing installation: setuptools 28.8.0
Uninstalling setuptools-28.8.0:
Successfully uninstalled setuptools-28.8.0
Successfully installed setuptools-38.5.1
disko@diskobook:~/tmp ✔ kotti362/bin/pip install Kotti==2.0.0a1
[…]
Successfully installed Babel-2.5.3 Chameleon-3.2 Kotti-2.0.0a1 LEPL-5.1.3 Mako-1.0.7 MarkupSafe-1.0 PasteDeploy-1.5.2 WebOb-1.7.4 alembic-0.9.8 appdirs-1.4.3 beaker-1.9.0 bleach-2.1.2 bleach-whitelist-0.0.8 colander-1.4 deform-2.0.5 docopt-0.6.2 fanstatic-1.0.0 filedepot-0.5.2 formencode-2.0.0a1 html2text-2018.1.9 html5lib-1.0.1 hupper-1.0 iso8601-0.1.11 js.angular-1.1.4 js.bootstrap-3.3.4 js.deform-2.0.3 js.fineuploader-5.14.0 js.html5shiv-3.7.3 js.jquery-1.9.1 js.jquery-form-3.9 js.jquery-maskedinput-1.4.1 js.jquery-maskmoney-3.0.2 js.jquery-sortable-0.9.13 js.jquery-tablednd-0.4 js.jquery-timepicker-addon-1.5.3 js.jqueryui-1.10.3 js.jqueryui-tagit-2.0.24.post2 js.modernizr-2.5.3.1 js.select2-4.0.4.post1 js.tinymce-4.5.4 lingua-4.13 peppercorn-0.5 plaster-1.0 plaster-pastedeploy-0.4.2 polib-1.1.0 py-bcrypt-0.4 pyramid-1.9.1 pyramid-beaker-0.8 pyramid-chameleon-0.3 pyramid-deform-0.2 pyramid-mailer-0.15.1 pyramid-tm-2.2 pyramid-zcml-1.1.0 python-dateutil-2.6.1 python-editor-1.0.3 pytz-2018.3 repoze.lru-0.7 repoze.sendmail-4.4.1 repoze.workflow-1.0b1 repoze.zcml-1.0b1 rfc6266-parser-0.0.5.post2 shutilwhich-1.1.0 six-1.11.0 sqlalchemy-1.2.4 sqlalchemy-utils-0.33.0 transaction-2.1.2 translationstring-1.3 unidecode-1.0.22 usersettings-1.0.7 venusian-1.1.0 waitress-1.1.0 webencodings-0.5.1 zope.component-4.4.1 zope.configuration-4.1.0 zope.deprecation-4.3.0 zope.event-4.3.0 zope.i18nmessageid-4.1.0 zope.interface-4.4.3 zope.schema-4.5.0 zope.sqlalchemy-1.0
How can I help troubleshoot this?
Could you please pip install -U setuptools
in your virtualenv and try again? If it solves the issue, adding a sentence to the installation section of the docs would be highly appreciated!
HTH,
Andreas
On 23 Feb 2018, at 14:58, mike.cu...@gmail.com wrote:
FYI, this doesn't build on my macbook pro running Sierra 10.12.6. Tried it
with new virtual envs for both 3.5 and 3.6.
How can I help troubleshoot this?
Oh, and of course thanks for trying it out, that helps a lot!
Cheers,
Andreas
On 14 Mar 2018, at 19:28, Andreas Kaiser wrote:
Am 14.03.2018 um 18:52 schrieb Anders Nylund <nylund...@gmail.com>:
It was a while since I worked with Kotti, so I have probably just forgot something essential. I installed with
pip install Kotti==2.0.0a1 kotti-image kotti_tinymce
and added kotti_image to kotti.configurators.
pserve app.ini errors out with:
File "/home/anders/Kotti-2/lib/python3.5/site-packages/kotti_tinymce/__init__.py", line 10, in <module>
from kotti.resources import Image
ImportError: cannot import name 'Image'
If I uninstall kotti_tinymce and disable it in app.ini then it starts. Am I missing something or isn't tinymce working?you’ve found an issue with kotti_tinymce, which imports Image from kotti.resources, which has been deprecated for some time. With Kotti 2.0.0 this no longer works. I’ll try to make a new release for kotti_tinymce tomorrow.
I've released kotti_image 1.0.1
and kotti_tinymce 0.7.0
today. These should fix the above issue (as well as updating TinyMCE and CodeMirror to their latest respective versions).
Please try updating and let us know whether it also solves the issue for you.
Have a nice weekend,
Andreas
Hmm, I don't really get this, it just says 'message deleted' when I try to reply...