Hello.
I have just starting working with Plone 5 and I have a problem. I installed the quintagroup.transmogrifier 0.5 plug-in, but now Plone is not working at all... Could you please suggest any solutions?
I am using centOS 6.9.
Thank you!
Ane
Hello.
I have just starting working with Plone 5 and I have a problem. I installed the quintagroup.transmogrifier 0.5 plug-in, but now Plone is not working at all... Could you please suggest any solutions?
I am using centOS 6.9.
Thank you!
Ane
Hallo Ane,
your request is kind of useless without any traceback. Best you'd be starting Plone in foreground mode - start it up with bin/instance fg
an post all printed messages formated as code. At the bottom of this stacktrace you will probably see yourself what causes the error.
2017-07-21 10:13:51 INFO ZServer HTTP server started at Fri Jul 21 10:13:51 2017
Hostname: 0.0.0.0
Port: 8080
2017-07-21 10:13:51 INFO Zope Set effective user to "plone_daemon"
2017-07-21 10:13:55 INFO Products.PloneHotfix20160830 Applied resource patch
2017-07-21 10:13:55 INFO Products.PloneHotfix20160830 Applied confirm patch
2017-07-21 10:13:55 INFO Products.PloneHotfix20160830 Applied z3c_form patch
2017-07-21 10:13:55 INFO Products.PloneHotfix20160830 Applied in_portal patch
2017-07-21 10:13:55 INFO Products.PloneHotfix20160830 Applied plonerootlogin patch
2017-07-21 10:13:55 INFO Products.PloneHotfix20160830 Applied redirects patch
2017-07-21 10:13:55 INFO Products.PloneHotfix20160830 Applied redirect_folderfactories patch
2017-07-21 10:13:55 INFO Products.PloneHotfix20160830 Applied redirect_qi patch
2017-07-21 10:13:55 INFO Products.PloneHotfix20160830 Applied redirectto patch
2017-07-21 10:13:55 INFO Products.PloneHotfix20160830 Applied discussion patch
2017-07-21 10:13:55 INFO Products.PloneHotfix20160830 Applied user patch
2017-07-21 10:13:55 INFO Products.PloneHotfix20160830 Applied zmi patch
2017-07-21 10:13:55 INFO Products.PloneHotfix20160830 Hotfix installed
2017-07-21 10:13:55 INFO Products.PloneHotfix20161129 Applied publishing patch
2017-07-21 10:13:55 INFO Products.PloneHotfix20161129 Applied copy patch
2017-07-21 10:13:55 INFO Products.PloneHotfix20161129 You should call /@@apply-hotfix20161129 on all Plone Sites that have comments enabled.
2017-07-21 10:13:55 INFO Products.PloneHotfix20161129 Applied comments patch
2017-07-21 10:13:55 INFO Products.PloneHotfix20161129 Hotfix installed
2017-07-21 10:13:55 WARNING ZODB.blob (3667) Blob dir /opt/plone/zinstance/var/blobstorage/ has insecure mode setting
Traceback (most recent call last):
File "/opt/plone/zinstance/parts/instance/bin/interpreter", line 282, in
exec(compile(__file__f.read(), file, "exec"))
File "/opt/plone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Startup/run.py", line 76, in
run()
File "/opt/plone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Startup/run.py", line 22, in run
starter.prepare()
File "/opt/plone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Startup/init.py", line 92, in prepare
self.startZope()
File "/opt/plone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Startup/init.py", line 268, in startZope
Zope2.startup()
File "/opt/plone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/init.py", line 47, in startup
_startup()
File "/opt/plone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/App/startup.py", line 118, in startup
load_zcml()
File "/opt/plone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/App/startup.py", line 52, in load_zcml
load_site()
File "/opt/plone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/App/zcml.py", line 46, in load_site
_context = xmlconfig.file(site_zcml)
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 649, in file
include(context, name, package)
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/local/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
actions = self.handler(context, **args)
File "/opt/plone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/OFS/metaconfigure.py", line 46, in loadProducts
xmlconfig.include(_context, zcml, package=product)
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/local/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
actions = self.handler(context, **args)
File "/opt/plone/buildout-cache/eggs/z3c.autoinclude-0.3.6-py2.7.egg/z3c/autoinclude/zcml.py", line 101, in includePluginsDirective
info = PluginFinder(dotted_name).includableInfo(zcml_to_look_for)
File "/opt/plone/buildout-cache/eggs/z3c.autoinclude-0.3.6-py2.7.egg/z3c/autoinclude/plugin.py", line 18, in includableInfo
groups = zcml_to_include(plugin_dottedname, zcml_to_look_for)
File "/opt/plone/buildout-cache/eggs/z3c.autoinclude-0.3.6-py2.7.egg/z3c/autoinclude/plugin.py", line 36, in zcml_to_include
filename = resource_filename(dotted_name, zcmlgroup)
File "/opt/plone/zinstance/lib/python2.7/site-packages/pkg_resources/init.py", line 1203, in resource_filename
return get_provider(package_or_requirement).get_resource_filename(
File "/opt/plone/zinstance/lib/python2.7/site-packages/pkg_resources/init.py", line 431, in get_provider
import(moduleOrReq)
File "/opt/plone/buildout-cache/eggs/quintagroup.transmogrifier-0.5-py2.7.egg/quintagroup/transmogrifier/init.py", line 2, in
import namespaces
File "/opt/plone/buildout-cache/eggs/quintagroup.transmogrifier-0.5-py2.7.egg/quintagroup/transmogrifier/namespaces/init.py", line 3, in
from Products.Marshall import namespaces
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/opt/plone/zinstance/parts/instance/etc/site.zcml", line 12.2-12.39
ZopeXMLConfigurationError: File "/opt/plone/buildout-cache/eggs/Products.CMFPlone-5.0.6rc1-py2.7.egg/Products/CMFPlone/meta.zcml", line 46.4-50.10
ImportError: No module named Marshall
This is what I got after executing bin/instance fg. Thank you for your time and help a lot. This is still new to me. I was starting plone from localhost and that is how I have been using it. But yesterday I installed the plug-in and suddenly it gives me
Firefox can’t establish a connection to the server at 127.0.0.1:8080.
The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer’s network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
So, you see: No module named Marshall
. Plone wont start up before installing this, as you can see for example on
https://stackoverflow.com/questions/31437226/make-quintagroup-transmogrifier-work-version-conflict-configuration-id-plone
try adding
eggs += .... Products.Marshall ....
to the eggs section within your buildout.cfg, run bin/buildout -v
and start instance afterward again. If all eggs versions are ok it should be working.
Good luck.
I added Products.Marshall to the eggs, and run bin/instance fg and this time I got The program seems already to be running. If you believe not, check for dangling .pid and .lock files in var/.
However, it is still not working...
Seems you are using Plone 5.0.6rc1, while 5.0.6 final release is already out and there's even 5.0.7 and 5.0.8
But this Marshall error, feels like the buildout did not run properly? I would start first by moving to a final release and then running buildout again.
i agree with gforcada - but before doeing upgrades, just kill the plone/instance running. and as i already said, after running buildout (if you did not already), check again with bin/instance fg
.
[root@localhost zinstance]# bin/instance fg
The program seems already to be running. If you believe not, check for dangling .pid and .lock files in var/.
This is the result of bin/instance fg but Plone is still not working...
How can I check if the packet is installed correctly?
I did add Products.Marshal in the buildout.cfg eggs, and also set the version.
Then I tried sudo -u plone_buildout bin/buildout (bin/buildout resultet with an error and suggested that I use this one, and then I used bin/instance restart.
I am probably doing something wrong, but I am not sure what exactly. I have never used plone before, so I apologize for bothering with silly stuff.
Also, can I only use quintagroup.transmogrifier for migrating (I read somewhere in the documents that it is an independent tool for migration), or do I also need collective.transmogrifier?
Updating instance.
Updating repozo.
Updating backup.
Updating zopepy.
Updating unifiedinstaller.
Updating precompiler.
Compiling Python files.
Compiling locale files.
Error while compiling /opt/plone/buildout-cache/eggs/python_gettext-3.0-py2.7.egg/pythongettext/tests/test_escape.po
Error while compiling /opt/plone/buildout-cache/eggs/python_gettext-3.0-py2.7.egg/pythongettext/tests/test5.po
Updating setpermissions.
setpermissions: Running # Dummy references to force this to execute after referenced parts
echo /opt/plone/zinstance/var/backups yes > /dev/null
chmod 600 .installed.cfg
find /opt/plone/zinstance/var -type d -exec chmod 770 {} ; 2> /dev/null
find /opt/plone/zinstance/var -type f -exec chmod 660 {} ; 2> /dev/null
find /opt/plone/zinstance/var -type d -exec chmod 770 {} ; 2> /dev/null
find /opt/plone/zinstance/var -type f -exec chmod 660 {} ; 2> /dev/null
chmod 754 /opt/plone/zinstance/bin/*
Versions had to be automatically picked.
The following part definition lists the versions picked:
[versions]
buildout.sanitycheck = 1.0.2
collective.transmogrifier = 1.4
plone.recipe.command = 1.1
plone.recipe.precompiler = 0.6
plone.app.transmogrifier = 1.4
->Output of bin/buildout
Hallo Ane,
you'll have to be clear about following:
ps axf | grep python
bin/instance fg
The output of ps axf | grep python:
5250 pts/0 S+ 0:00 _ grep python
2809 ? Ssl 0:02 /opt/plone/zinstance/bin/python2.7 /opt/plone/zinstance/parts/instance/bin/interpreter /opt/plone/buildout-cache/eggs/zdaemon-2.0.7-py2.7.egg/zdaemon/zdrun.py -S /opt/plone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Startup/zopeschema.xml -b 10 -d -s /opt/plone/zinstance/var/instance/zopectlsock -x 0,2 -z /opt/plone/zinstance/parts/instance /opt/plone/zinstance/bin/python2.7 /opt/plone/zinstance/parts/instance/bin/interpreter /opt/plone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Startup/run.py -C /opt/plone/zinstance/parts/instance/etc/zope.conf
5245 ? R 0:09 _ /opt/plone/zinstance/bin/python2.7 /opt/plone/zinstance/parts/instance/bin/interpreter /opt/plone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Startup/run.py -C /opt/plone/zinstance/parts/instance/etc/zope.conf
[root@localhost zinstance]# bin/instance fg
The program seems already to be running. If you believe not, check for dangling .pid and .lock files in var/.
I am not sure, but I think that's the issue here... (Plone is not starting because it is still running)
I am using a centOS 6.9 (if that's what you mean by sytem).
I am trying to start it from localhost (127.0.0.1:8080) which was starting it ok before I installed the transmogrifier.
So, either bin/instance stop
or kill -9 2809
will stop the running instance, afterwards start it up again and post output of bin/instance fg
if there are any futher problems.
It says ImportError: cannot import name traverse
As usual: Please have a full log, at least teh last lines...
For this special Problem with quintagroups transmogifier see: data migration - Make quintagroup.transmogrifier work (version conflict, configuration_id) (Plone) - Stack Overflow
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
actions = self.handler(context, **args)
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/local/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
actions = self.handler(context, **args)
File "/opt/plone/buildout-cache/eggs/z3c.autoinclude-0.3.6-py2.7.egg/z3c/autoinclude/zcml.py", line 104, in includePluginsDirective
includeZCMLGroup(_context, info, filename)
File "/opt/plone/buildout-cache/eggs/z3c.autoinclude-0.3.6-py2.7.egg/z3c/autoinclude/zcml.py", line 30, in includeZCMLGroup
include(_context, filename, includable_package)
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/local/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
actions = self.handler(context, **args)
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/local/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 705, in finish
args = toargs(context, *self.argdata)
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 1397, in toargs
args[str(name)] = field.fromUnicode(s)
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/fields.py", line 137, in fromUnicode
value = self.context.resolve(name)
File "/opt/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 179, in resolve
mod = import(mname, *_import_chickens)
File "/opt/plone/buildout-cache/eggs/plone.app.transmogrifier-1.4-py2.7.egg/plone/app/transmogrifier/atschemaupdater.py", line 8, in
from collective.transmogrifier.utils import traverse
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/opt/plone/zinstance/parts/instance/etc/site.zcml", line 16.2-16.23
ZopeXMLConfigurationError: File "/opt/plone/buildout-cache/eggs/Products.ATContentTypes-2.2.13-py2.7.egg/Products/ATContentTypes/configure.zcml", line 18.2-18.44
ZopeXMLConfigurationError: File "/opt/plone/buildout-cache/eggs/plone.app.collection-1.1.6-py2.7.egg/plone/app/collection/configure.zcml", line 9.2-9.45
ZopeXMLConfigurationError: File "/opt/plone/buildout-cache/eggs/plone.app.querystring-1.3.15-py2.7.egg/plone/app/querystring/configure.zcml", line 11.2-11.42
ZopeXMLConfigurationError: File "/opt/plone/buildout-cache/eggs/plone.app.registry-1.3.12-py2.7.egg/plone/app/registry/configure.zcml", line 12.4-12.34
ZopeXMLConfigurationError: File "/opt/plone/buildout-cache/eggs/plone.app.registry-1.3.12-py2.7.egg/plone/app/registry/browser/configure.zcml", line 6.4-6.43
ZopeXMLConfigurationError: File "/opt/plone/buildout-cache/eggs/plone.app.z3cform-1.2.1-py2.7.egg/plone/app/z3cform/configure.zcml", line 10.2-10.41
ZopeXMLConfigurationError: File "/opt/plone/buildout-cache/eggs/plone.app.widgets-2.0.6-py2.7.egg/plone/app/widgets/configure.zcml", line 12.2-12.41
ZopeXMLConfigurationError: File "/opt/plone/buildout-cache/eggs/Products.CMFPlone-5.0.6rc1-py2.7.egg/Products/CMFPlone/configure.zcml", line 108.4-112.10
ZopeXMLConfigurationError: File "/opt/plone/buildout-cache/eggs/quintagroup.transmogrifier-0.5-py2.7.egg/quintagroup/transmogrifier/configure.zcml", line 11.4-11.50
ZopeXMLConfigurationError: File "/opt/plone/buildout-cache/eggs/plone.app.transmogrifier-1.4-py2.7.egg/plone/app/transmogrifier/configure.zcml", line 9.2-12.8
ImportError: cannot import name traverse
Sorry about that, the output was too long
Hallo Ane,
in the linked URL above it says: "However, the installed version 1.4 of collective.transmogrifier was not sufficient, since it lacks the traverse function in the utils module" ... so maybe following the instructions there you'll get it working.
In my experience, transmogrifier is quite uneasy in handling for not so experienced programmers. Easiest way working for migrations (Plone 2 or 3 to 4 or 5) with it is using it with 'collective.jsonmigrator' on the importing site and 'collective.jsonify==1.2' on exporting site - both in Plone.
Plone Addons are quite often not working out of the box as expected, sometimes it's lot of work getting all of them together working as thy should - but if you get it running, it runs and runs..
talking to a collegue lst month, he mentioned: after getting all things with plone done and working, it is even more comfortable for doing e.g. pages for artists and photographers.. and so on.
@anek93 maybe let's take a step back. Why are you trying to install this add-on? If it's to copy a small amount of content from another Plone site, there may be an easier way. Transmogrifier is complicated enough that I haven't ever used it.
I need to migrate a site, and I read it in the Plone docimentation that it is an independent tool for migration. I am open for any other ideas.