<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Allan Saddi's projects blog Comments</title>
    <link>http://www.saddi.com/software/news/</link>
    <description>Comments from Announcements and ramblings about projects new and old.</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.0.4 - http://www.s9y.org/</generator>
    <pubDate>Fri, 12 Mar 2010 20:46:21 GMT</pubDate>

    <image>
        <url>http://www.saddi.com/software/news/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Allan Saddi's projects blog Comments - Comments from Announcements and ramblings about projects new and old.</title>
        <link>http://www.saddi.com/software/news/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>James: flup 1.0.2 released</title>
    <link>http://www.saddi.com/software/news/archives/66-flup-1.0.2-released.html</link>
            <category></category>
    
    <comments>http://www.saddi.com/software/news/archives/66-flup-1.0.2-released.html#comments</comments>
    <wfw:comment>http://www.saddi.com/software/news/wfwcomment.php?cid=66</wfw:comment>

    

    <author>nospam@example.com (James)</author>
    <content:encoded>
    Hi,&lt;br /&gt;
&lt;br /&gt;
I&#039;m forced to use the prefork method in my django-fastcgi configuration as when using the threaded method, the django fastcgi process seg-faults - again, it works fine in prefork.&lt;br /&gt;
&lt;br /&gt;
When I say it seg-faults, let me explain:&lt;br /&gt;
&lt;br /&gt;
python manage.py runfcgi host=127.0.0.1 port=8001 method=threaded daemonize=false debug=true&lt;br /&gt;
&lt;br /&gt;
is the django fastcgi startup comment I&#039;m testing with.  If I then run a benchmark test to load the server like so:&lt;br /&gt;
&lt;br /&gt;
ab -n1000 -c15 -H &#039;Host: www.example.com&#039; http://127.0.0.1/&lt;br /&gt;
&lt;br /&gt;
With nginx running on port 80 in a fastcgi configuration to port 8001, a few requests will go through successfully, but then eventually the fastcgi process segfaults.  No stack trace.&lt;br /&gt;
&lt;br /&gt;
I&#039;m hoping to use the threaded model in the future as it should use less memory than the prefork.  Anyhow, the only reason I can think of as to why this is bugging out is to do with threading issues to do with the Python GIL (http://docs.python.org/c-api/init.html#thread-state-and-the-global-interpreter-lock)&lt;br /&gt;
&lt;br /&gt;
Thoughts?  Can I provide further information to you?  Feel free to email me.  Thank you!&lt;br /&gt;
&lt;br /&gt;
James 
    </content:encoded>

    <pubDate>Wed, 10 Jun 2009 10:02:29 -0700</pubDate>
    <guid isPermaLink="false">http://www.saddi.com/software/news/archives/66-guid.html#c210</guid>
    
</item>
<item>
    <title>amittiwari: flup 1.0.2 released</title>
    <link>http://www.saddi.com/software/news/archives/66-flup-1.0.2-released.html</link>
            <category></category>
    
    <comments>http://www.saddi.com/software/news/archives/66-flup-1.0.2-released.html#comments</comments>
    <wfw:comment>http://www.saddi.com/software/news/wfwcomment.php?cid=66</wfw:comment>

    

    <author>nospam@example.com (amittiwari)</author>
    <content:encoded>
    marketing 
    </content:encoded>

    <pubDate>Tue, 09 Jun 2009 00:36:50 -0700</pubDate>
    <guid isPermaLink="false">http://www.saddi.com/software/news/archives/66-guid.html#c209</guid>
    
</item>
<item>
    <title>Jon Nelson: flup 1.0.1 released</title>
    <link>http://www.saddi.com/software/news/archives/63-flup-1.0.1-released.html</link>
            <category></category>
    
    <comments>http://www.saddi.com/software/news/archives/63-flup-1.0.1-released.html#comments</comments>
    <wfw:comment>http://www.saddi.com/software/news/wfwcomment.php?cid=63</wfw:comment>

    

    <author>nospam@example.com (Jon Nelson)</author>
    <content:encoded>
    I just saw in mercurial that you have done this.&lt;br /&gt;
Fantastic!&lt;br /&gt;
&lt;br /&gt;
I&#039;ll try to give this a test soon.&lt;br /&gt;
&lt;br /&gt;
I&#039;m really looking forward to the next release! 
    </content:encoded>

    <pubDate>Thu, 21 May 2009 11:38:04 -0700</pubDate>
    <guid isPermaLink="false">http://www.saddi.com/software/news/archives/63-guid.html#c206</guid>
    
</item>
<item>
    <title>Allan Saddi: flup 1.0.1 released</title>
    <link>http://www.saddi.com/software/news/archives/63-flup-1.0.1-released.html</link>
            <category></category>
    
    <comments>http://www.saddi.com/software/news/archives/63-flup-1.0.1-released.html#comments</comments>
    <wfw:comment>http://www.saddi.com/software/news/wfwcomment.php?cid=63</wfw:comment>

    

    <author>nospam@example.com (Allan Saddi)</author>
    <content:encoded>
    I don&#039;t really remember the rationale for deprecating the factories in Paste. Though I guess it makes more sense if they were packaged with flup.&lt;br /&gt;
&lt;br /&gt;
A problem is that flup&#039;s paste_factory is a one-size-fits-all deal. (And it doesn&#039;t really fit all...)&lt;br /&gt;
&lt;br /&gt;
I guess I might look into pulling Paste&#039;s factories into flup. This may cause some issues, mainly with regards to defaults. 
    </content:encoded>

    <pubDate>Mon, 18 May 2009 15:35:31 -0700</pubDate>
    <guid isPermaLink="false">http://www.saddi.com/software/news/archives/63-guid.html#c202</guid>
    
</item>
<item>
    <title>Jon: flup 1.0.1 released</title>
    <link>http://www.saddi.com/software/news/archives/63-flup-1.0.1-released.html</link>
            <category></category>
    
    <comments>http://www.saddi.com/software/news/archives/63-flup-1.0.1-released.html#comments</comments>
    <wfw:comment>http://www.saddi.com/software/news/wfwcomment.php?cid=63</wfw:comment>

    

    <author>nospam@example.com (Jon)</author>
    <content:encoded>
    Another problem is that PasteScript is deprecating the use of this style of factory:&lt;br /&gt;
&lt;br /&gt;
use = egg:PasteScript#flup_fcgi_thread&lt;br /&gt;
&lt;br /&gt;
However, if one does this:&lt;br /&gt;
&lt;br /&gt;
use = egg:flup#fcgi&lt;br /&gt;
(or egg:flup#fcgi_thread, they are the same)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PasteScript#flup_fcgi_thread accepts any of&lt;br /&gt;
&lt;br /&gt;
host, port, and socket&lt;br /&gt;
(and a few others that aren&#039;t relevant here).&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t specify them, then bindAddress=None is used.&lt;br /&gt;
There is no way to replicate bindAddress=None (that I can see) using flup#fcgi, a problem for any app that relies on that behavior.&lt;br /&gt;
&lt;br /&gt;
Can you think of a reasonable fix?&lt;br /&gt;
Also, when might the next flup release be? 
    </content:encoded>

    <pubDate>Mon, 18 May 2009 14:56:16 -0700</pubDate>
    <guid isPermaLink="false">http://www.saddi.com/software/news/archives/63-guid.html#c201</guid>
    
</item>
<item>
    <title>Timothy Farrell: Dabbling in Python 3.0</title>
    <link>http://www.saddi.com/software/news/archives/64-Dabbling-in-Python-3.0.html</link>
            <category></category>
    
    <comments>http://www.saddi.com/software/news/archives/64-Dabbling-in-Python-3.0.html#comments</comments>
    <wfw:comment>http://www.saddi.com/software/news/wfwcomment.php?cid=64</wfw:comment>

    

    <author>nospam@example.com (Timothy Farrell)</author>
    <content:encoded>
    Just so you know, I&#039;m working on a native Python 3 framework (yet to see the public eye).  I&#039;ve tested it with your FCGI adapter and have had success with both Apache on Linux (via pipes) and LightTPd on Windows (via FastCGI server).&lt;br /&gt;
&lt;br /&gt;
I don&#039;t have file upload support in yet and there is a bit of wonkiness in cgi.FieldStorage.&lt;br /&gt;
&lt;br /&gt;
Anyway, thanks for the fine adapter! 
    </content:encoded>

    <pubDate>Tue, 10 Mar 2009 14:23:44 -0700</pubDate>
    <guid isPermaLink="false">http://www.saddi.com/software/news/archives/64-guid.html#c192</guid>
    
</item>
<item>
    <title>v+python: flup 1.0.1 released</title>
    <link>http://www.saddi.com/software/news/archives/63-flup-1.0.1-released.html</link>
            <category></category>
    
    <comments>http://www.saddi.com/software/news/archives/63-flup-1.0.1-released.html#comments</comments>
    <wfw:comment>http://www.saddi.com/software/news/wfwcomment.php?cid=63</wfw:comment>

    

    <author>nospam@example.com (v+python)</author>
    <content:encoded>
    flup seems to depend on setuptools at http://cheeseshop.python.org/packages/2.6/s/setuptools/setuptools-0.6c6-py2.6.egg&lt;br /&gt;
&lt;br /&gt;
Now it is at&lt;br /&gt;
http://cheeseshop.python.org/packages/2.6/s/setuptools/setuptools-0.6c9-py2.6.egg&lt;br /&gt;
&lt;br /&gt;
the c6 version doesn&#039;t exist, the c9 version is the only one there.  Renaming the c9 version to c6 and placing it in the flup directory seems to work, but could confuse or delay people. 
    </content:encoded>

    <pubDate>Sun, 30 Nov 2008 23:54:51 -0800</pubDate>
    <guid isPermaLink="false">http://www.saddi.com/software/news/archives/63-guid.html#c185</guid>
    
</item>
<item>
    <title>Dan Roberts: flup 1.0.1 released</title>
    <link>http://www.saddi.com/software/news/archives/63-flup-1.0.1-released.html</link>
            <category></category>
    
    <comments>http://www.saddi.com/software/news/archives/63-flup-1.0.1-released.html#comments</comments>
    <wfw:comment>http://www.saddi.com/software/news/wfwcomment.php?cid=63</wfw:comment>

    

    <author>nospam@example.com (Dan Roberts)</author>
    <content:encoded>
    Oh, I didn&#039;t realize there was a factory available with paste... Well at least there&#039;s now a version in trunk that works &lt;img src=&quot;http://www.saddi.com/software/news/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks for the speedy response 
    </content:encoded>

    <pubDate>Thu, 24 Jul 2008 02:28:24 -0700</pubDate>
    <guid isPermaLink="false">http://www.saddi.com/software/news/archives/63-guid.html#c179</guid>
    
</item>
<item>
    <title>Allan Saddi: flup 1.0.1 released</title>
    <link>http://www.saddi.com/software/news/archives/63-flup-1.0.1-released.html</link>
            <category></category>
    
    <comments>http://www.saddi.com/software/news/archives/63-flup-1.0.1-released.html#comments</comments>
    <wfw:comment>http://www.saddi.com/software/news/wfwcomment.php?cid=63</wfw:comment>

    

    <author>nospam@example.com (Allan Saddi)</author>
    <content:encoded>
    Thanks for the suggestion. It looks like the original flup factories (bundled with Paste) supported the &#039;socket&#039; option. I didn&#039;t realize that feature was lost.&lt;br /&gt;
&lt;br /&gt;
I went ahead and committed your change, but I have no idea when I&#039;ll be making the next release (I knew I was a bit hasty with yesterday&#039;s release). But the latest is always available at http://hg.saddi.com/flup-server/&lt;br /&gt;
&lt;br /&gt;
And as for trac, the username/password is trac/trac1234. I should make it more prominent.&lt;br /&gt;
&lt;br /&gt;
Thanks again. 
    </content:encoded>

    <pubDate>Wed, 23 Jul 2008 22:57:00 -0700</pubDate>
    <guid isPermaLink="false">http://www.saddi.com/software/news/archives/63-guid.html#c178</guid>
    
</item>
<item>
    <title>Dan Roberts: flup 1.0.1 released</title>
    <link>http://www.saddi.com/software/news/archives/63-flup-1.0.1-released.html</link>
            <category></category>
    
    <comments>http://www.saddi.com/software/news/archives/63-flup-1.0.1-released.html#comments</comments>
    <wfw:comment>http://www.saddi.com/software/news/wfwcomment.php?cid=63</wfw:comment>

    

    <author>nospam@example.com (Dan Roberts)</author>
    <content:encoded>
    Sorry, the comment system ate my leading spaces, but i&#039;m pretty sure the meaning is obvious &lt;img src=&quot;http://www.saddi.com/software/news/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Wed, 23 Jul 2008 21:45:57 -0700</pubDate>
    <guid isPermaLink="false">http://www.saddi.com/software/news/archives/63-guid.html#c177</guid>
    
</item>
<item>
    <title>Dan Roberts: flup 1.0.1 released</title>
    <link>http://www.saddi.com/software/news/archives/63-flup-1.0.1-released.html</link>
            <category></category>
    
    <comments>http://www.saddi.com/software/news/archives/63-flup-1.0.1-released.html#comments</comments>
    <wfw:comment>http://www.saddi.com/software/news/wfwcomment.php?cid=63</wfw:comment>

    

    <author>nospam@example.com (Dan Roberts)</author>
    <content:encoded>
    First I&#039;d like to say that flup is awesome!  However, I&#039;m having a little bit of trouble...&lt;br /&gt;
&lt;br /&gt;
I can&#039;t seem to get flup.server.fcgi to work with a unix domain socket.  After investigating the problem a bit, i found this file:&lt;br /&gt;
&lt;br /&gt;
flup/server/paste_factory.py&lt;br /&gt;
&lt;br /&gt;
which (for me, as a turbogears user) was actually controlling the creation of flup.server.fcgi  I noticed that no matter what, bindAddress is set to a tuple (therefore eliminating the ability to run a server on a unix domain socket)&lt;br /&gt;
&lt;br /&gt;
The simple fix that I employed was to add a conditional to line 6&lt;br /&gt;
&lt;br /&gt;
if not &#039;bindAddress&#039; in local_config:&lt;br /&gt;
&lt;br /&gt;
which would make it so that the tuple is only created if bindAddress is empty.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you could provide a config value &quot;socket&quot;&lt;br /&gt;
&lt;br /&gt;
and do something like&lt;br /&gt;
&lt;br /&gt;
if &#039;socket&#039; in local_config:&lt;br /&gt;
    local_config[&#039;bindAddress&#039;] = local_config[&#039;socket&#039;]&lt;br /&gt;
    del local_config[&#039;socket&#039;] #no sense storing it twice, plus socket could cause a name collision&lt;br /&gt;
else:&lt;br /&gt;
    local_conf[&#039;bindAddress&#039;] = (host, int(port))&lt;br /&gt;
&lt;br /&gt;
**** I prefer this second method as it provides a more consistent configuration value to the user&lt;br /&gt;
&lt;br /&gt;
Also sorry, I would have posted a trac ticket, but I don&#039;t see a way to sign up to do so...&lt;br /&gt;
&lt;br /&gt;
Anyways great work! There&#039;s my two cents.&lt;br /&gt;
&lt;br /&gt;
cheers&lt;br /&gt;
-Dan 
    </content:encoded>

    <pubDate>Wed, 23 Jul 2008 20:37:42 -0700</pubDate>
    <guid isPermaLink="false">http://www.saddi.com/software/news/archives/63-guid.html#c176</guid>
    
</item>
<item>
    <title>owen: EPIPE no longer ignored</title>
    <link>http://www.saddi.com/software/news/archives/34-EPIPE-no-longer-ignored.html</link>
            <category></category>
    
    <comments>http://www.saddi.com/software/news/archives/34-EPIPE-no-longer-ignored.html#comments</comments>
    <wfw:comment>http://www.saddi.com/software/news/wfwcomment.php?cid=34</wfw:comment>

    

    <author>nospam@example.com (owen)</author>
    <content:encoded>
    perdon por el idioma.&lt;br /&gt;
como consigues el .scgi? 
    </content:encoded>

    <pubDate>Wed, 11 Jun 2008 12:56:54 -0700</pubDate>
    <guid isPermaLink="false">http://www.saddi.com/software/news/archives/34-guid.html#c174</guid>
    
</item>
<item>
    <title>Erwin: flup 1.0 released</title>
    <link>http://www.saddi.com/software/news/archives/58-flup-1.0-released.html</link>
            <category></category>
    
    <comments>http://www.saddi.com/software/news/archives/58-flup-1.0-released.html#comments</comments>
    <wfw:comment>http://www.saddi.com/software/news/wfwcomment.php?cid=58</wfw:comment>

    

    <author>nospam@example.com (Erwin)</author>
    <content:encoded>
    Thank&#039;s for the response. I did upgrade from Beaker-0.5 to Beaker-0.9.1 and now it works. Thank&#039;s again for helping me. 
    </content:encoded>

    <pubDate>Tue, 25 Mar 2008 04:16:35 -0700</pubDate>
    <guid isPermaLink="false">http://www.saddi.com/software/news/archives/58-guid.html#c170</guid>
    
</item>
<item>
    <title>Allan Saddi: flup 1.0 released</title>
    <link>http://www.saddi.com/software/news/archives/58-flup-1.0-released.html</link>
            <category></category>
    
    <comments>http://www.saddi.com/software/news/archives/58-flup-1.0-released.html#comments</comments>
    <wfw:comment>http://www.saddi.com/software/news/wfwcomment.php?cid=58</wfw:comment>

    

    <author>nospam@example.com (Allan Saddi)</author>
    <content:encoded>
    I use Beaker and ajp-wsgi pretty extensively and I haven&#039;t run into any problems like you&#039;ve described. The frameworks I use with the two are Pylons, Flannel, or sometimes no framework at all (e.g. an authentication middleware component that just requires sessions).&lt;br /&gt;
&lt;br /&gt;
The issue could be with web.py or with mod_jk, as these are the 2 major differences between our configurations. (I use Apache 2.2&#039;s mod_proxy_ajp.) Though I don&#039;t see how mod_jk could really affect this.&lt;br /&gt;
&lt;br /&gt;
Have you tried web.py + Beaker on another WSGI server? I&#039;m a bit suspicious about the way session.save() is being called in web.py. And like you mentioned, the non-web.py example worked fine. 
    </content:encoded>

    <pubDate>Mon, 24 Mar 2008 14:14:37 -0700</pubDate>
    <guid isPermaLink="false">http://www.saddi.com/software/news/archives/58-guid.html#c169</guid>
    
</item>
<item>
    <title>Erwin: flup 1.0 released</title>
    <link>http://www.saddi.com/software/news/archives/58-flup-1.0-released.html</link>
            <category></category>
    
    <comments>http://www.saddi.com/software/news/archives/58-flup-1.0-released.html#comments</comments>
    <wfw:comment>http://www.saddi.com/software/news/wfwcomment.php?cid=58</wfw:comment>

    

    <author>nospam@example.com (Erwin)</author>
    <content:encoded>
    Beaker didn&#039;t work for me in conjunction with ajp-wsgi. I got the same session-id for different browsers. Can you give me an example for Beaker Session in conjunction with ajp-wsgi.&lt;br /&gt;
&lt;br /&gt;
I&#039;have documented my experiences at http://www.xhostplus.at/static/webpy-ajp-wsgi.html. 
    </content:encoded>

    <pubDate>Mon, 24 Mar 2008 02:25:08 -0700</pubDate>
    <guid isPermaLink="false">http://www.saddi.com/software/news/archives/58-guid.html#c168</guid>
    
</item>

</channel>
</rss>