[wingide-users] Anyone get wingDB working with new Plone 4.1 beta?
Jason Mehring
nrgaway at yahoo.com
Fri Feb 25 20:21:24 MST 2011
I was wondering if anyone has been able to get WingDB working with Plone 4.1
beta. I am currently using some hacks support gave me for Plone 4.0, which
don't seem to work with 4.1 beta (Zope 2.13.1, python 2.6.5, linux2). I get
instant errors when trying to access a page (work with Plone 3.x and 4.0
though).
Also, is there an official egg released yet for 4.0? I still need to use the
hacked one and was disappointed it was not included in the newest WingIDE 4.0
release (I have been waiting a long time for this and zope debugging was the
main reason I purchased Wing).
Any help would be greatly appreciated.
Thanks,
Jason
Here is the traceback of the error:
2011-02-25 22:17:21 INFO ZServer HTTP server started at Fri Feb 25 22:17:21 2011
Hostname: lg-laptop
Port: 50080
2011-02-25 22:17:21 INFO WingDBG IDE connection pending
2011-02-25 22:17:25 INFO Zope Ready to handle requests
<WingDBG.DebugHttpServer.CDebugZHttpServer listening localhost:50080 at
0xc332e4c>
None
2011-02-25 22:18:36 ERROR Zope.SiteErrorLog 1298690315.830.252000525442
http://localhost:8081/Plone/front-page/document_view
Traceback (innermost last):
Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 46, in call_object
Module Shared.DC.Scripts.Bindings, line 322, in __call__
Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
Module Products.CMFCore.FSPageTemplate, line 240, in _exec
Module Products.CMFCore.FSPageTemplate, line 180, in pt_render
Module Products.PageTemplates.PageTemplate, line 79, in pt_render
Module zope.pagetemplate.pagetemplate, line 113, in pt_render
Module zope.tal.talinterpreter, line 271, in __call__
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 888, in do_useMacro
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 954, in do_defineSlot
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 858, in do_defineMacro
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 852, in do_condition
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
Module Products.PageTemplates.Expressions, line 218, in evaluateStructure
Module zope.tales.tales, line 696, in evaluate
- URL:
file:/home/plone/projects/buildouts/test-buildouts/deco/src/plonetheme.wireframe/plonetheme/wireframe/skins/plonetheme_wireframe_templates/main_template.pt
- Line 79, Column 20
- Expression: <StringExpr u'plone.contentviews'>
- Names:
{'container': <PloneSite at /Plone>,
'context': <ATDocument at /Plone/front-page>,
'default': <object object at 0xb76417c0>,
'here': <ATDocument at /Plone/front-page>,
'loop': {},
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at
0xafbdfa4>,
'request': <HTTPRequest,
URL=http://localhost:8081/Plone/front-page/document_view>,
'root': <Application at >,
'template': <FSPageTemplate at /Plone/document_view used for
/Plone/front-page>,
'traverse_subpath': [],
'user': <PropertiedUser 'admin'>}
Module zope.contentprovider.tales, line 80, in __call__
Module plone.app.viewletmanager.manager, line 154, in render
Module plone.app.viewletmanager.manager, line 85, in render
Module plone.app.layout.viewlets.common, line 48, in render
Module Products.Five.browser.pagetemplatefile, line 125, in __call__
Module Products.Five.browser.pagetemplatefile, line 59, in __call__
Module zope.pagetemplate.pagetemplate, line 113, in pt_render
Module zope.tal.talinterpreter, line 271, in __call__
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 852, in do_condition
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 531, in do_optTag_tal
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 583, in do_setLocal_tal
Module zope.tales.tales, line 696, in evaluate
- URL:
/home/plone/projects/buildouts/test-buildouts/deco/eggs/plone.app.layout-2.1-py2.6.egg/plone/app/layout/viewlets/contentviews.pt
- Line 6, Column 4
- Expression: <PathExpr standard:u'view/prepareObjectTabs'>
- Names:
{'args': (),
'container': <ATDocument at /Plone/front-page>,
'context': <ATDocument at /Plone/front-page>,
'default': <object object at 0xb76417c0>,
'here': <ATDocument at /Plone/front-page>,
'loop': {},
'nothing': None,
'options': {},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at
0xba1fc0c>,
'request': <HTTPRequest,
URL=http://localhost:8081/Plone/front-page/document_view>,
'root': <Application at >,
'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile
object at 0xb198eac>,
'traverse_subpath': [],
'user': <PropertiedUser 'admin'>,
'view': <Products.Five.viewlet.metaconfigure.ContentViewsViewlet object
at 0xce2c86c>,
'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at
0xcf02d8c>}
Module zope.tales.expressions, line 217, in __call__
Module Products.PageTemplates.Expressions, line 155, in _eval
Module Products.PageTemplates.Expressions, line 117, in render
Module plone.memoize.view, line 44, in memogetter
Module plone.app.layout.viewlets.common, line 251, in prepareObjectTabs
Module plone.memoize.view, line 44, in memogetter
Module plone.app.layout.globals.context, line 221, in actions
Module Products.CMFPlone.ActionsTool, line 79, in listActionInfos
Module Products.CMFCore.ActionInformation, line 209, in __getitem__
Module Products.CMFCore.Expression, line 50, in __call__
Module zope.tales.expressions, line 217, in __call__
Module Products.PageTemplates.Expressions, line 155, in _eval
Module Products.PageTemplates.Expressions, line 105, in render
Module Products.PageTemplates.ZRPythonExpr, line 80, in call_with_ns
Module Products.CMFCore.FSPythonScript, line 124, in __render_with_namespace__
Module Products.CMFCore.FSObject, line 178, in _updateFromFS
Module Products.CMFCore.FSPythonScript, line 117, in _readFile
Module WingDBG.ScriptDebugging, line 233, in FSPythonScript_write
TypeError: _makeFunction() takes exactly 1 argument (2 given)
2011-02-25 22:18:36 ERROR root Exception while rendering an error message
Traceback (most recent call last):
File
"/home/plone/projects/buildouts/test-buildouts/deco/eggs/Zope2-2.13.1-py2.6.egg/OFS/SimpleItem.py",
line 241, in raise_standardErrorMessage
v = s(**kwargs)
File
"/home/plone/projects/buildouts/test-buildouts/deco/eggs/Products.CMFCore-2.2.2-py2.6.egg/Products/CMFCore/FSPythonScript.py",
line 129, in __call__
self._updateFromFS()
File
"/home/plone/projects/buildouts/test-buildouts/deco/eggs/Products.CMFCore-2.2.2-py2.6.egg/Products/CMFCore/FSObject.py",
line 178, in _updateFromFS
self._readFile(1)
File
"/home/plone/projects/buildouts/test-buildouts/deco/eggs/Products.CMFCore-2.2.2-py2.6.egg/Products/CMFCore/FSPythonScript.py",
line 117, in _readFile
self._write(data, reparse)
File "/home/plone/projects/src/wing/WingDBG-jason/WingDBG/ScriptDebugging.py",
line 233, in FSPythonScript_write
ps._makeFunction(1)
TypeError: _makeFunction() takes exactly 1 argument (2 given)
More information about the wingide-users
mailing list