Maurits van Rees wrote:

> Derek Broughton, on 2008-08-05:
>> I otoh have never had "debug" work from buildout.  Since my first
>> buildout, I get (and it doesn't matter if it runs from the directory with
>> the buildout.cfg or from bin):
>>
>> [EMAIL PROTECTED]:~/plone/nagisa$ bin/instance2 debug
>> Starting debugger (the name "app" is bound to the top-level Zope object)
>> Traceback (most recent call last):
>>   File "<string>", line 1, in ?
>>   File
>>   "/home/derek/plone/nagisa/parts/zope2/lib/python/Zope2/__init__.py",
>> line 51, in app
>>     startup()
>>   File
>>   "/home/derek/plone/nagisa/parts/zope2/lib/python/Zope2/__init__.py",
>> line 46, in startup
>>     from Zope2.App.startup import startup as _startup
>>  
>> File
>> "/home/derek/plone/nagisa/parts/zope2/lib/python/Zope2/App/startup.py",
>> line 32, in ?
>>     import OFS.Application
>>   File
>>   "/home/derek/plone/nagisa/parts/zope2/lib/python/OFS/Application.py",
>> line 30, in ?
>>     from App.ApplicationManager import ApplicationManager
>>  
>> File
>> "/home/derek/plone/nagisa/parts/zope2/lib/python/App/ApplicationManager.py",
>> line 92, in ?
>>     class DatabaseChooser (SimpleItem.SimpleItem):
>>  
>> File
>> "/home/derek/plone/nagisa/parts/zope2/lib/python/App/ApplicationManager.py",
>> line 104, in DatabaseChooser
>>     manage_main = PageTemplateFile('www/chooseDatabase.pt', globals())
>>  
>> File
>> "/home/derek/plone/nagisa/parts/zope2/lib/python/Products/PageTemplates/PageTemplateFile.py",
>> line 90, in __init__
>>     self.pt_edit( content, guess_type(filename, content))
>>  
>> File
>> "/home/derek/plone/nagisa/parts/zope2/lib/python/zope/pagetemplate/pagetemplate.py",
>> line 83, in pt_edit
>>     self.write(text)
>>  
>> File
>> "/home/derek/plone/nagisa/parts/zope2/lib/python/zope/pagetemplate/pagetemplate.py",
>> line 151, in write
>>     self._cook()
>>  
>> File
>> "/home/derek/plone/nagisa/parts/zope2/lib/python/zope/pagetemplate/pagetemplate.py",
>> line 202, in _cook
>>     self._v_warnings = parser.getWarnings()
>> AttributeError: HTMLTALParser instance has no attribute 'getWarnings'
>>>>>
> 
> So bin/instance fg does work here?

Yes, as does "bin/instance start".

> Wild guess: would renaming the /home/derek/plone directory to
> /home/derek/foo help?  (And then removing the pyc files and running
> bin/buildout again.)

Ah.  You think actually having a directory named plone might be confusing? 
I'll give that a try.

-- 
derek


_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to