FIXED: Re: [Zope-dev] editing zope files

2005-03-31 Thread Pavel Zaitsev
Was a spacing issue thanks to #zope on freenode,
pavel
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] editing zope files

2005-03-31 Thread Pavel Zaitsev
I try to edit zope file in zope istalled directory, HTTPServer in 
particular, i want to debug some things,
but I get syntax errors on any code i try insert like a=1 , or 'print'.

like:
# 
/opt/web/bin/runzope  

Traceback (most recent call last):
 File "/opt/zope_core/lib/python/Zope/Startup/run.py", line 50, in ?
   run()
 File "/opt/zope_core/lib/python/Zope/Startup/run.py", line 18, in run
   opts = _setconfig()
 File "/opt/zope_core/lib/python/Zope/Startup/run.py", line 42, in 
_setconfig
   opts.realize(doc="Sorry, no option docs yet.")
 File "/opt/zope_core/lib/python/zdaemon/zdoptions.py", line 271, in 
realize
   self.load_schema()
 File "/opt/zope_core/lib/python/zdaemon/zdoptions.py", line 312, in 
load_schema
   self.schema = ZConfig.loadSchema(self.schemafile)
 File "/opt/zope_core/lib/python/ZConfig/loader.py", line 37, in loadSchema
   return SchemaLoader().loadURL(url)
 File "/opt/zope_core/lib/python/ZConfig/loader.py", line 71, in loadURL
   return self.loadResource(r)
 File "/opt/zope_core/lib/python/ZConfig/loader.py", line 137, in 
loadResource
   schema = ZConfig.schema.parseResource(resource, self)
 File "/opt/zope_core/lib/python/ZConfig/schema.py", line 43, in 
parseResource
   xml.sax.parse(resource.file, parser)
 File "/usr/lib/python2.3/site-packages/_xmlplus/sax/__init__.py", line 
31, in parse
   parser.parse(filename_or_stream)
 File "/usr/lib/python2.3/site-packages/_xmlplus/sax/expatreader.py", 
line 109, in parse
   xmlreader.IncrementalParser.parse(self, source)
 File "/usr/lib/python2.3/site-packages/_xmlplus/sax/xmlreader.py", 
line 123, in parse
   self.feed(buffer)
 File "/usr/lib/python2.3/site-packages/_xmlplus/sax/expatreader.py", 
line 216, in feed
   self._parser.Parse(data, isFinal)
 File "/usr/lib/python2.3/site-packages/_xmlplus/sax/expatreader.py", 
line 312, in start_element
   self._cont_handler.startElement(name, AttributesImpl(attrs))
 File "/opt/zope_core/lib/python/ZConfig/schema.py", line 119, in 
startElement
   getattr(self, "start_" + name)(attrs)
 File "/opt/zope_core/lib/python/ZConfig/schema.py", line 306, in 
start_import
   src = self._loader.schemaComponentSource(pkg, file)
 File "/opt/zope_core/lib/python/ZConfig/loader.py", line 154, in 
schemaComponentSource
   __import__(package)
 File "/opt/zope_core/lib/python/ZServer/__init__.py", line 36, in ?
   from HTTPServer import zhttp_server, zhttp_handler
 File "/opt/zope_core/lib/python/ZServer/HTTPServer.py", line 79
   print
   ^

How can I rectify this?
pavel
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )