Just in case anyone else, with the same lack of python and supervisord knowledge comes alooking for the same problem:<br><br>#&gt;python -V<br>Python 2.3.4<br><br>(remove old installation)<br>#&gt; easy_install -m supervisor<br>
Searching for supervisor<br>Best match: supervisor 3.0a7<br>Processing supervisor-3.0a7-py2.3.egg<br>Removing supervisor 3.0a7 from easy-install.pth file<br>Installing echo_supervisord_conf script to /usr/bin<br>Installing pidproxy script to /usr/bin<br>
Installing supervisorctl script to /usr/bin<br>Installing supervisord script to /usr/bin<br><br>Using /usr/lib/python2.3/site-packages/supervisor-3.0a7-py2.3.egg<br><br>Because this distribution was installed --multi-version, before you can<br>
import modules from this package in an application, you will need to<br>&#39;import pkg_resources&#39; and then use a &#39;require()&#39; call similar to one of<br>these examples, in order to select the desired version:<br>
<br>    pkg_resources.require(&quot;supervisor&quot;)  # latest installed version<br>    pkg_resources.require(&quot;supervisor==3.0a7&quot;)  # this exact version<br>    pkg_resources.require(&quot;supervisor&gt;=3.0a7&quot;)  # this version or higher<br>
<br>Processing dependencies for supervisor<br>Finished processing dependencies for supervisor<br><br>#&gt; rm -fr /usr/lib/python2.3/site-packages/supervisor-3.0a7-py2.3.egg<br><br>(download + install previous version)<br>
#&gt; wget <a href="http://dist.supervisord.org/supervisor-3.0a4.tar.gz">http://dist.supervisord.org/supervisor-3.0a4.tar.gz</a><br>#&gt; tar zxf supervisor-3.0a4.tar.gz<br>[...]<br>#&gt; cd supervisor-3.0a4<br>#&gt; python setup.py install<br>
[...]<br><br>(make config file and run supervisord)<br>#&gt; echo_supervisord_conf &gt;  /etc/supervisord.conf<br>#&gt; supervisord<br>#&gt; echo &#39;[program:foo]&#39; &gt;&gt; /etc/supervisord.conf<br>#&gt; echo &#39;command=/bin/cat&#39; &gt;&gt; /etc/supervisord.conf<br>
#&gt; supervisorctl reload<br>#&gt; supervisorctl status<br>foo                              RUNNING    pid 32175, uptime 0:00:05<br><br>NB: I found the link to the distribution page (<a href="http://dist.supervisord.org/">http://dist.supervisord.org/</a>) somewhat obfuscated.<br>
You have to click on a &#39;manual&#39; (installation manual?), and then select section 2 &#39;installing&#39; to get the link. I was expecting a link from the front page somewhere.<br><br><br>Still haven&#39;t actually got it doing any proper supervising yet, but at least I have a version of it installed :)<br>
<br><div class="gmail_quote">2009/12/10 Tom Barrett <span dir="ltr">&lt;<a href="mailto:tom@miramedia.co.uk">tom@miramedia.co.uk</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Mike<br><br>Thank you for the clarification. <br><br>Looking at your release dates, there can be a siginicant time period (this is not a criticisim) between releases. As the nature of Supervisor is to provide stability and reliability to an environment, unless you are considering a release soon it might be better for me to try a previous version? Looking at your manual page (<a href="http://supervisord.org/manual" target="_blank">http://supervisord.org/manual</a>) it appears that 3.0a4 is a recommended previous version? Or am I incorrectly assuming some kind of significance to 3.0a5 and 3.0a6 not being listed there?<br>

<br>This issue leads to another. I&#39;m an easy_install virgin! As lovely as easy_install is, there&#39;s a certain lack of easy_uninstall?<br><br>Is this blog correct in how to uninstall supervisor so I can play with different versions?<br>

<a href="http://thingsilearned.com/2009/04/13/easy_install-uninstalling/" target="_blank">http://thingsilearned.com/2009/04/13/easy_install-uninstalling/</a><br><br>&gt; easy_install -m supervisor<br>&gt; rm /usr/lib/python2.3/site-packages/supervisor-3.0a7-py2.3.egg<br>

<br>Tom<br><br><div class="gmail_quote">2009/12/9 Mike Naberezny <span dir="ltr">&lt;<a href="mailto:mike@maintainable.com" target="_blank">mike@maintainable.com</a>&gt;</span><div><div></div><div class="h5"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi Tom,<br>
<div><br>
On 12/9/09 4:45 AM, Tom Barrett wrote:<br>
&gt; But am getting a python error when running supervisord:<br>
&gt;<br>
</div>...<br>
<div>&gt;    File &quot;/usr/lib/python2.3/sre.py&quot;, line 179, in compile<br>
&gt;      return _compile(pattern, flags)<br>
&gt;    File &quot;/usr/lib/python2.3/sre.py&quot;, line 230, in _compile<br>
&gt;      raise error, v # invalid expression<br>
&gt; sre_constants.error: unexpected end of pattern<br>
&gt; #&gt; python -V<br>
&gt; Python 2.3.4<br>
<br>
</div>After we released Supervisor 3.0a7, we found a few incompatibilities with<br>
Python 2.3.  This is one of them.  The error above is caused by the use of<br>
regular expression syntax that was introduced in Python 2.4.  This has been<br>
fixed in our Subversion repository for the next release.<br>
<br>
Regards,<br>
Mike<br>
<font color="#888888"><br>
--<br>
Mike Naberezny<br>
Maintainable Software<br>
<a href="http://maintainable.com" target="_blank">http://maintainable.com</a><br>
</font><div><div></div><div>_______________________________________________<br>
Supervisor-users mailing list<br>
<a href="mailto:Supervisor-users@lists.supervisord.org" target="_blank">Supervisor-users@lists.supervisord.org</a><br>
<a href="http://lists.supervisord.org/mailman/listinfo/supervisor-users" target="_blank">http://lists.supervisord.org/mailman/listinfo/supervisor-users</a><br>
</div></div></blockquote></div></div></div><br>
</blockquote></div><br>