Re: [Zope3-Users] ImportError: No module named viewlet.interfaces !!
Chetan Kumar wrote: bump!! This is not a bulletin board. Appending exclamation marks and making stupid posts like this will just get you ignored/blocked. I suggest you read the whole of this: http://www.catb.org/~esr/faqs/smart-questions.htm Specifically: http://www.catb.org/~esr/faqs/smart-questions.html#urgent cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] ImportError: No module named viewlet.interfaces !!
Chetan Kumar wrote: The reason was the absence of path to zope.viewlet egg from the sys.path. This slippage can surely be attributed to buildout. Also discovered that out of 170 eggs listed in buildout.cfg only about 60 appear in the scipts generated by buildout (paster, debug, ctl, python). Does it sound reasonable to say that buildout machinary may need attention? While we're at it: http://www.catb.org/~esr/faqs/smart-questions.html#id306810 Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] ImportError: No module named viewlet.interfaces !!
On Tue, Apr 7, 2009 at 7:37 AM, Chetan Kumar chetan.ml...@gmail.com wrote: Stephan Richter wrote: For some reason that smells like a circular import problem, Regards, Stephan The reason was the absence of path to zope.viewlet egg from the sys.path. This slippage can surely be attributed to buildout. Also discovered that out of 170 eggs listed in buildout.cfg only about 60 appear in the scipts generated by buildout (paster, debug, ctl, python). Does it sound reasonable to say that buildout machinary may need attention? You should produce a small, self-contained example of the problem so it can be evaluated. My suspicion is a bug in your buildout config rather than buildout itself, but I can't tell from here. -- Benji York Senior Software Engineer Zope Corporation ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] ImportError: No module named viewlet.interfaces !!
Stephan Richter wrote: For some reason that smells like a circular import problem, Regards, Stephan The reason was the absence of path to zope.viewlet egg from the sys.path. This slippage can surely be attributed to buildout. Also discovered that out of 170 eggs listed in buildout.cfg only about 60 appear in the scipts generated by buildout (paster, debug, ctl, python). Does it sound reasonable to say that buildout machinary may need attention? I do not know if this issue has hit others. I added the paths to the scripts and moved one step further before getting caught in another situation. Now, the browser:viewletManager directive is absent. meta.zcml ??? Cheers ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] ImportError: No module named viewlet.interfaces !!
Made a mistake in posting last time. Posting again for the sake of completeness: The problem started after installation. Without bothering about KGS the result of the installation is here http://paste.plone.org/27456 (./bin/xv-debug show errors at seen at the bottom) With KGS 3.4.0 (using buildout.cfg snippet from http://download.zope.org/zope3.4/3.4.0/versions.cfg) the situation is different http://paste.plone.org/27457 Here I cannot from zope.viewlet.interfaces import IviewletManager. This is because zope.viewlet-3.4.2-py2.5.egg and zope.contentprovider-3.4.0-py2.5.egg are missing from bin/xv_kgs-debug. If I add these manually I get over the problem. This is not the way it should be. These eggs are listed in the buildout.cfg file http://paste.plone.org/27458 as these were copied from the buildout.cfg snippet The list of eggs in the buildout.cfg and those in the bin/paster and its friends have to be same as this is generated by buildout. Cheers ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] ImportError: No module named viewlet.interfaces !!
Hi This is a surprising output from ./bin/paster serve debug.ini KGS 3.4.0 with zope.viewlet-3.4.2-py2.5.egg installed alright in it usual place. Portion of the Error Message File /home/zope3/Work/z3w/nx/src/nx/skin/interfaces.py, line 1, in module from zope.viewlet.interfaces import IViewletManager zope.configuration.xmlconfig.ZopeXMLConfigurationError: File /home/zope3/Work/z3w/nx/site.zcml, line 4.2-4.26 ZopeXMLConfigurationError: File /home/zope3/Work/z3w/nx/src/nx/configure.zcml, line 60.0-60.27 ZopeXMLConfigurationError: File /home/zope3/Work/z3w/nx/src/nx/skin/configure.zcml, line 5.2-9.3 ImportError: No module named viewlet.interfaces Portion of the Error Message ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] ImportError: No module named viewlet.interfaces !!
Hi This is a surprising output from ./bin/paster serve debug.ini KGS 3.4.0 with zope.viewlet-3.4.2-py2.5.egg installed alright in it usual place. Portion of the Error Message File /home/zope3/Work/z3w/nx/src/nx/skin/interfaces.py, line 1, in module from zope.viewlet.interfaces import IViewletManager zope.configuration.xmlconfig.ZopeXMLConfigurationError: File /home/zope3/Work/z3w/nx/site.zcml, line 4.2-4.26 ZopeXMLConfigurationError: File /home/zope3/Work/z3w/nx/src/nx/configure.zcml, line 60.0-60.27 ZopeXMLConfigurationError: File /home/zope3/Work/z3w/nx/src/nx/skin/configure.zcml, line 5.2-9.3 ImportError: No module named viewlet.interfaces Portion of the Error Message Cheers ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] ImportError: No module named viewlet.interfaces !!
On Monday 06 April 2009, Chetan Kumar wrote: This is a surprising output from ./bin/paster serve debug.ini KGS 3.4.0 with zope.viewlet-3.4.2-py2.5.egg installed alright in it usual place. Portion of the Error Message File /home/zope3/Work/z3w/nx/src/nx/skin/interfaces.py, line 1, in module from zope.viewlet.interfaces import IViewletManager zope.configuration.xmlconfig.ZopeXMLConfigurationError: File /home/zope3/Work/z3w/nx/site.zcml, line 4.2-4.26 ZopeXMLConfigurationError: File /home/zope3/Work/z3w/nx/src/nx/configure.zcml, line 60.0-60.27 ZopeXMLConfigurationError: File /home/zope3/Work/z3w/nx/src/nx/skin/configure.zcml, line 5.2-9.3 ImportError: No module named viewlet.interfaces Portion of the Error Message For some reason that smells like a circular import problem, Regards, Stephan -- Stephan Richter Web Software Design, Development and Training Google me. Zope Stephan Richter ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users