Hey<br><br><div class="gmail_quote">On Mon, May 19, 2008 at 4:59 PM, Martin Aspeli &lt;<a href="mailto:optilude@gmx.net">optilude@gmx.net</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Martijn Faassen wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hey,<br>
<br>
Santiago Videla wrote:<br>
[snip]<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I&#39;m trying the rdbexample app from the branch, but I got an error: <a href="http://codedumper.com/oraxo" target="_blank">http://codedumper.com/oraxo</a><br>
<br>
seems to be something deprecated on collective.lead, I don&#39;t understand what the error is.</blockquote></blockquote></div></blockquote><div><br>answer to myself: I realize that collective.lead should work with SQLAlchemy 0.3, I guess that this is the reason for the error.<br>
<br>But I don&#39;t understand why it should work the rdbexample from the grokapps repo, any special instructions?<br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Any advice about where to start fixing ?<br>
</blockquote>
<br>
Hm, this is a mystery to me. What kind of relational database are you using? So far we&#39;ve only tested with PostgreSQL.<br>
<br>
Ideally the *right* fix would be to dump the dependency on collective.lead and move to zope.sqlalchemy.</blockquote></div></blockquote><div><br>I really want to work on this, but I don&#39;t understand all the parts yet. For the moment, I got something similar to your post but using zope.sqlalchemy. not big deal.<br>
&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
</blockquote>
<br></div>
Bear in mind that collective.lead itself will be using zope.sqlalchemy for transaction integration, and focus on providing a pattern for registering and accessing database utilities. If Grok needs/wants such a pattern, collective.lead should continue to be a viable solution. If it wants/needs its own way of looking up and managing database connections, then obviously not.</blockquote>
<div><br>I&#39;m not sure to understand Martin.<br><br>I thought that zope.sqlalchemy was born to unify all the developments on sqlalchemy integration (collective.lead included). am I right?<br><br>I&#39;m really newbie on Zope3 and Grok, so maybe I will understand your point in some time<br>
<br><br>cheers<br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Martin<br><font color="#888888">
<br>
-- <br>
Author of `Professional Plone Development`, a book for developers who<br>
want to work with Plone. See <a href="http://martinaspeli.net/plone-book" target="_blank">http://martinaspeli.net/plone-book</a></font><div><div></div><div class="Wj3C7c"><br>
<br>
_______________________________________________<br>
Grok-dev mailing list<br>
<a href="mailto:Grok-dev@zope.org" target="_blank">Grok-dev@zope.org</a><br>
<a href="http://mail.zope.org/mailman/listinfo/grok-dev" target="_blank">http://mail.zope.org/mailman/listinfo/grok-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Santiago Videla<br><a href="http://www.revolucionesweb.com.ar">www.revolucionesweb.com.ar</a><br><a href="http://www.linkedin.com/in/svidela">http://www.linkedin.com/in/svidela</a><br>
<br>Sigue la mata dando de que hablar siempre abajo y a la izquierda donde el pensamiento que se hace corazón resplandece con la palabra sencilla y humilde que l@s tod@s somos.