[Grok-dev] Grokinstallation corrupts when editing source remotely over AFP

Sebastian Ware sebastian at urbantalk.se
Wed Jun 11 08:08:14 EDT 2008


Hi!

I have this recurring problem that is quite a pain.

If I edit a source file on my production server remotely over an AFP- 
connection the project is corrupted (I use Textmate). The only  
solution is to reinstall a new grokproject and copy the source files  
etc, but it is a royal... Traceback:

Macintosh:/Volumes/PsycadeliaRAID/groklive/Nackademin grandvinumserver 
$ bin/zopectl fg
/Volumes/PsycadeliaRAID/groklive/Nackademin/parts/app/runzope -C / 
Volumes/PsycadeliaRAID/groklive/Nackademin/parts/zopectl/zope.conf
Traceback (most recent call last):
   File "/Volumes/PsycadeliaRAID/groklive/Nackademin/parts/app/ 
runzope", line 116, in ?
     zope.app.twisted.main.main()
   File "/Volumes/PsycadeliaRAID/groklive/eggs/tmp9QsID1/ 
zope.app.twisted-3.4.0a1-py2.4.egg/zope/app/twisted/main.py", line 74,  
in main
   File "/Volumes/PsycadeliaRAID/groklive/eggs/tmp9QsID1/ 
zope.app.twisted-3.4.0a1-py2.4.egg/zope/app/twisted/main.py", line  
145, in setup
   File "/Volumes/PsycadeliaRAID/groklive/eggs/zope.app.appsetup-3.4.1- 
py2.4.egg/zope/app/appsetup/appsetup.py", line 111, in config
     context = xmlconfig.file(file, context=context, execute=execute)
   File "/Volumes/PsycadeliaRAID/groklive/eggs/tmpQo8stg/ 
zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",  
line 610, in file
   File "/Volumes/PsycadeliaRAID/groklive/eggs/tmpQo8stg/ 
zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",  
line 546, in include
   File "/Volumes/PsycadeliaRAID/groklive/eggs/tmpQo8stg/ 
zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",  
line 378, in processxmlfile
   File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 107,  
in parse
     xmlreader.IncrementalParser.parse(self, source)
   File "/usr/local/lib/python2.4/xml/sax/xmlreader.py", line 123, in  
parse
     self.feed(buffer)
   File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 207,  
in feed
     self._parser.Parse(data, isFinal)
   File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 348,  
in end_element_ns
     self._cont_handler.endElementNS(pair, None)
   File "/Volumes/PsycadeliaRAID/groklive/eggs/tmpQo8stg/ 
zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",  
line 357, in endElementNS
   File "/Volumes/PsycadeliaRAID/groklive/eggs/tmpQo8stg/ 
zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line  
542, in end
   File "/Volumes/PsycadeliaRAID/groklive/eggs/tmpQo8stg/ 
zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line  
690, in finish
   File "/Volumes/PsycadeliaRAID/groklive/eggs/tmpQo8stg/ 
zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",  
line 546, in include
   File "/Volumes/PsycadeliaRAID/groklive/eggs/tmpQo8stg/ 
zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",  
line 378, in processxmlfile
   File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 107,  
in parse
     xmlreader.IncrementalParser.parse(self, source)
   File "/usr/local/lib/python2.4/xml/sax/xmlreader.py", line 123, in  
parse
     self.feed(buffer)
   File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 207,  
in feed
     self._parser.Parse(data, isFinal)
   File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 348,  
in end_element_ns
     self._cont_handler.endElementNS(pair, None)
   File "/Volumes/PsycadeliaRAID/groklive/eggs/tmpQo8stg/ 
zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",  
line 357, in endElementNS
   File "/Volumes/PsycadeliaRAID/groklive/eggs/tmpQo8stg/ 
zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line  
542, in end
   File "/Volumes/PsycadeliaRAID/groklive/eggs/tmpQo8stg/ 
zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py", line  
690, in finish
   File "/Volumes/PsycadeliaRAID/groklive/eggs/tmph7phJQ/grok-0.12- 
py2.4.egg/grok/zcml.py", line 48, in grokDirective
   File "/Volumes/PsycadeliaRAID/groklive/eggs/tmph7phJQ/grok-0.12- 
py2.4.egg/grok/zcml.py", line 53, in do_grok
   File "/Volumes/PsycadeliaRAID/groklive/eggs/tmpq-k-CA/martian-0.9.3- 
py2.4.egg/martian/core.py", line 193, in grok_dotted_name
   File "/Volumes/PsycadeliaRAID/groklive/eggs/tmpq-k-CA/martian-0.9.3- 
py2.4.egg/martian/core.py", line 198, in grok_package
   File "/Volumes/PsycadeliaRAID/groklive/eggs/tmpq-k-CA/martian-0.9.3- 
py2.4.egg/martian/core.py", line 196, in grok_package
   File "/Volumes/PsycadeliaRAID/groklive/eggs/tmpq-k-CA/martian-0.9.3- 
py2.4.egg/martian/core.py", line 201, in grok_module
   File "/Volumes/PsycadeliaRAID/groklive/eggs/tmpq-k-CA/martian-0.9.3- 
py2.4.egg/martian/scan.py", line 118, in getModule
   File "/Volumes/PsycadeliaRAID/groklive/eggs/tmpq-k-CA/martian-0.9.3- 
py2.4.egg/martian/scan.py", line 188, in resolve
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/Volumes/ 
PsycadeliaRAID/groklive/Nackademin/parts/app/site.zcml", line 4.0-4.32
     ZopeXMLConfigurationError: File "/Volumes/PsycadeliaRAID/groklive/ 
Nackademin/src/nackademin/configure.zcml", line 5.2-5.27
     ValueError: Empty module name


Mvh Sebastian



More information about the Grok-dev mailing list