[Grok-dev] Conflict between megrok.kss and megrok.form?

Douglas Cerna douglascerna at yahoo.com
Fri Nov 7 15:43:21 EST 2008

Hi everybody.

I've been trying KSS and I like it :)

I started with the example in the "Adding AJAX to Grok with KSS" tutorial on grok.zope.org (http://grok.zope.org/documentation/how-to/adding-ajax-with-kss-to-grok) and it worked well. (I added megrok.kss to my setup.py and run buildout for this)

But then I added features like dates and tried to use the zc.datetimewidget for my date fields. I know megrok.form gives this widget in an easy way. So I added megrok.form to my setup.py too and run buildout. And then my kss functionality stop working :( telling me:

exceptions.TypeError: There isn't enough context to get URL information. This is probably due to a bug in setting up location information.

I googled for an answer and the closest I got was:


Then I tried to install only zc.datetimewidget the same way megrok.form does it (using <include /> directives in my configure.zcml), but I get an configuration conflict error when I include the zc.datetimewidget's overrides.zcml file.

Does anyone know how to solve this problem?

Maybe using the kss svn checkouts will solve this but I don't know how to do it.



"... allí­ es cuando te das cuenta que las cosas malas pueden resultar bastante buenas..." - Lionel Messi

Por favor, evite enviarme adjuntos de Word, Excel o PowerPoint.
Vea http://www.gnu.org/philosophy/no-word-attachments.es.html


More information about the Grok-dev mailing list