could this be satisficed by putting an apache proxy in front of both zope and twisted?<br><br><div class="gmail_quote">On Thu, Mar 5, 2009 at 6:17 AM, Peter Sabaini <span dir="ltr"><<a href="mailto:peter@sabaini.at">peter@sabaini.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I'd like to run a Twisted client in Zope 2.10 (for a legacy app).<br>
<br>
How do I do that? Simply loading twisted.internet is probably not a good idea<br>
since Twisted would not work well with ZServer threads, right?<br>
<br>
One thing I tried was enabling Twisted in zope.conf but that gives me the<br>
following stacktrace (abbr):<br>
<br>
...<br>
File "/usr/local/zope/2.10/src/Zope-2.10.7-<br>
final/lib/python/ZConfig/matcher.py", line 188, in constuct<br>
s = st.datatype(s)<br>
File "/usr/local/zope/2.10/src/Zope-2.10.7-<br>
final/lib/python/Zope2/Startup/datatypes.py", line 349, in __init__<br>
raise ImportError("You do not have twisted installed.")<br>
ImportError: You do not have twisted installed.<br>
<br>
<br>
I've got Twisted on my Pythonpath though.<br>
<br>
TIA,<br>
<font color="#888888">peter.<br>
<br>
</font><br>_______________________________________________<br>
Zope maillist - <a href="mailto:Zope@zope.org">Zope@zope.org</a><br>
<a href="http://mail.zope.org/mailman/listinfo/zope" target="_blank">http://mail.zope.org/mailman/listinfo/zope</a><br>
** No cross posts or HTML encoding! **<br>
(Related lists -<br>
<a href="http://mail.zope.org/mailman/listinfo/zope-announce" target="_blank">http://mail.zope.org/mailman/listinfo/zope-announce</a><br>
<a href="http://mail.zope.org/mailman/listinfo/zope-dev" target="_blank">http://mail.zope.org/mailman/listinfo/zope-dev</a> )<br>
<br></blockquote></div><br><br clear="all"><br>-- <br>David Bear<br>College of Public Programs at ASU<br>602-464-0424<br>