zoperunner section in zope.conf doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In my zope.conf I have a zoperunner section like that:
<zoperunner>
program $INSTANCE/
</zoperunner>
When I try to start my instance using 'zopectl fg' I get the following traceback
Traceback (most recent call last):
File "bin/zctl", line 119, in <module>
Zope2.
File "/home/
exitstatus = main()
File "/home/
c.onecmd(" ".join(
File "/usr/lib64/
return func(arg)
File "/home/
self.
File "/home/
command = quote_command(
File "/home/
print " ".join(command)
TypeError: sequence item 0: expected string, list found
I guess the error comes from the following change:
Filename: Zope/trunk/
Revision 115377 - (view) (download) (as text) - [select for diffs]
Modified Mon Aug 2 13:38:05 2010 UTC (2 years, 1 month ago) by chrisw
File length: 15486 byte(s)
Diff to previous 110402
allow the -p option to zopectl to work again, handy for buildout-based zope instances
In that change the the self.program attribute is made into a list unconditionally even when it already is a list.
in zopeschema.xml the zoperunner/program attribute is defined as a multikey and thus is parsed as a list when set in zope.conf.
Changed in zope2: | |
milestone: | none → 2.13.19 |
status: | New → Fix Committed |
Changed in zope2: | |
status: | Fix Committed → Fix Released |