Re: [Zope-dev] zopectl's -p options
On Mon, Jul 26, 2010 at 7:36 PM, Chris Withers wrote: > ...is currently useless, as far as I can see. I thought the -p option was an artifact of zdaemon, which zopectl just didn't support. I took it as a case of the lower level API's leaking through. > I think the attached patch fixes this, but I'm wondering: > > - are these are tests for this area I'm not aware of any. > - why does self.program need to be a one element list? No idea. I find most of the zdaemon and Zope2 startup code rather obscure. Hanno ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] zopectl's -p options
...is currently useless, as far as I can see. This stops you specifying a different location for runzope, which is handy if you're doing buildout-based stuff that uses a deployment. I think the attached patch fixes this, but I'm wondering: - are these are tests for this area - why does self.program need to be a one element list? cheers, Chris === --- src/Zope2/Startup/zopectl.py(revision 115104) +++ src/Zope2/Startup/zopectl.py(working copy) @@ -114,11 +114,14 @@ positional_args_allowed = 1 -program = "zopectl" schemadir = os.path.dirname(Zope2.Startup.__file__) schemafile = "zopeschema.xml" uid = gid = None +# this indicates that no explict program has been provided. +# the command line option can set this. +program = None + # XXX Suppress using Zope's section to avoid using the # same logging for zdctl as for the Zope appserver. There still # needs to be a way to set a logfile for zdctl. @@ -169,7 +172,9 @@ config = self.configroot self.directory = config.instancehome self.clienthome = config.clienthome -if config.runner and config.runner.program: +if self.program: +self.program = [self.program] +elif config.runner and config.runner.program: self.program = config.runner.program else: self.program = [os.path.join(self.directory, "bin", "runzope")] -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] chinese text and zope.index
On 7/26/10 14:52 , Manabu TERADA wrote: > Hi > > I think zope.index will not work for indexing simplified or traditional > Chinese. That is my observation of zope.index when I was working on > Plone4 CJK indexing. However by looking at SVN record of zope.indexing, > I see some changes. It could be working on Chinese, now. I'm afraid it doesn't work at all. > I feel that zope.index should be fixed to work on CJK as well. > However, I have not get at it. When will be the due date for the new > zope.index which works CJK indexing. (It should not that hard to fix it.) I'ld like to have it working today if at all possible :). I have no idea how to go about fixing it though. > PS: > I don't think it is good idea to use CJKSplitter on a new project. None > is maintaining CJKSplitter any more. Moreover, CJKSplitter will not > work on Japanese, and some problem on indexing English. I looked at cjktools as well, but could not find a splitter in there. That might be due to my lack of understanding of CJK languages though. Wichert. ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] chinese text and zope.index
Hi I think zope.index will not work for indexing simplified or traditional Chinese. That is my observation of zope.index when I was working on Plone4 CJK indexing. However by looking at SVN record of zope.indexing, I see some changes. It could be working on Chinese, now. (On Plone4 CJK indexing I am using Products.ZCTextIndex instead of zope.indexing.) I feel that zope.index should be fixed to work on CJK as well. However, I have not get at it. When will be the due date for the new zope.index which works CJK indexing. (It should not that hard to fix it.) PS: I don't think it is good idea to use CJKSplitter on a new project. None is maintaining CJKSplitter any more. Moreover, CJKSplitter will not work on Japanese, and some problem on indexing English. Cheers, Manabu TERADA 2010/7/26 Wichert Akkerman : > Does anyone have the text index from zope.index working for simplified > or traditional Chinese? The default pipeline is ships with effectively > makes sure I never get a search result. I tried to drop the splitter > from http://www.zope.org/Members/panjunyong/CJKSplitter in. This worked > a bit better in that I got search results, but there seems to be little > relation between my query and the result. > > Wichert. > > -- > Wichert Akkerman It is simple to make things. > http://www.wiggy.net/ It is hard to make things simple. > ___ > Zope-Dev maillist - zope-...@zope.org > https://mail.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > https://mail.zope.org/mailman/listinfo/zope-announce > https://mail.zope.org/mailman/listinfo/zope ) > ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Zope Tests: 33 OK, 19 Failed, 1 Unknown
Summary of messages to the zope-tests list. Period Sun Jul 25 12:00:00 2010 UTC to Mon Jul 26 12:00:00 2010 UTC. There were 53 messages: 6 from Zope Tests, 1 from buildbot at enfoldsystems.com, 4 from buildbot at pov.lt, 13 from buildbot at winbot.zope.org, 12 from ccomb at free.fr, 17 from jdriessen at thehealthagency.com. Test failures - Subject: FAILED : Zope 3.4 Known Good Set / py2.4-64bit-linux From: buildbot at pov.lt Date: Sun Jul 25 21:08:30 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017328.html Subject: FAILED : Zope 3.4 Known Good Set / py2.4-32bit-linux From: buildbot at pov.lt Date: Sun Jul 25 21:29:04 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017329.html Subject: FAILED : Bluebream / Python2.4.6 32bit linux From: ccomb at free.fr Date: Sun Jul 25 22:05:57 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017336.html Subject: FAILED : Bluebream / Python2.6.4 32bit linux From: ccomb at free.fr Date: Sun Jul 25 22:06:17 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017338.html Subject: FAILED : Bluebream / Python2.5.2 32bit linux From: ccomb at free.fr Date: Sun Jul 25 22:06:17 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017337.html Subject: FAILED : winbot / ztk_dev py_244_win32 From: buildbot at winbot.zope.org Date: Sun Jul 25 22:08:16 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017339.html Subject: FAILED : Zope 3.4 Known Good Set / py2.5-64bit-linux From: buildbot at pov.lt Date: Sun Jul 25 22:09:11 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017340.html Subject: FAILED : winbot / ztk_dev py_254_win32 From: buildbot at winbot.zope.org Date: Sun Jul 25 22:15:14 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017341.html Subject: FAILED : winbot / ztk_dev py_265_win32 From: buildbot at winbot.zope.org Date: Sun Jul 25 22:21:46 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017342.html Subject: FAILED : winbot / ztk_dev py_265_win64 From: buildbot at winbot.zope.org Date: Sun Jul 25 22:28:26 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017343.html Subject: FAILED : Zope 3.4 Known Good Set / py2.5-32bit-linux From: buildbot at pov.lt Date: Sun Jul 25 22:28:56 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017344.html Subject: FAILED : winbot / ztk_10 py_244_win32 From: buildbot at winbot.zope.org Date: Sun Jul 25 22:36:35 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017345.html Subject: FAILED : ZTK 1.0dev / Python2.4.6 Linux 32bit From: ccomb at free.fr Date: Sun Jul 25 23:46:59 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017349.html Subject: FAILED : ZTK 1.0dev / Python2.6.4 Linux 32bit From: ccomb at free.fr Date: Sun Jul 25 23:47:43 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017350.html Subject: FAILED : ZTK 1.0dev / Python2.5.2 Linux 32bit From: ccomb at free.fr Date: Sun Jul 25 23:48:17 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017351.html Subject: FAILED : Zope 3.4.1 KGS / Python2.4.6 32bit linux From: ccomb at free.fr Date: Mon Jul 26 00:00:21 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017352.html Subject: FAILED : Zope 3.4.1 KGS / Python2.5.2 32bit linux From: ccomb at free.fr Date: Mon Jul 26 00:00:37 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017353.html Subject: FAILED : winbot / ZODB_dev py_270_win32 From: buildbot at winbot.zope.org Date: Mon Jul 26 03:10:46 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017361.html Subject: FAILED : winbot / ZODB_dev py_270_win64 From: buildbot at winbot.zope.org Date: Mon Jul 26 04:06:26 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017362.html Unknown --- Subject: [zodb-tests] buildbot failure in Enfold Systems on zodb-trunk-python-2.6-maestro From: buildbot at enfoldsystems.com Date: Mon Jul 26 03:01:49 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017360.html Tests passed OK --- Subject: OK : Bluebream / Python2.4.6 32bit linux From: ccomb at free.fr Date: Sun Jul 25 12:05:36 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017320.html Subject: OK : Zope Buildbot / zope2 slave-osx From: jdriessen at thehealthagency.com Date: Sun Jul 25 18:54:50 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017321.html Subject: OK : Zope Buildbot / zope2 slave-ubuntu64 From: jdriessen at thehealthagency.com Date: Sun Jul 25 18:54:58 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017322.html Subject: OK : Zope Buildbot / zope2 slave-ubuntu32 From: jdriessen at thehealthagency.com Date: Sun Jul 25 18:55:07 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-July/017323.html Subject: OK : Zope Buildbot / ztk slave-ubuntu64 F