<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
     xmlns:atom="http://www.w3.org/2005/Atom"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:wfw="http://wellformedweb.org/CommentAPI/"
     >
  <channel>
    <title>Death of a Gremmie</title>
    <link>http://deathofagremmie.com</link>
    <description>Brian Neal's blog about programming.</description>
    <pubDate>Sat, 21 Jan 2012 05:35:56 GMT</pubDate>
    <generator>Blogofile</generator>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Upgrading Trac on Windows Gotchas</title>
      <link>http://deathofagremmie.com/2011/09/12/upgrading-trac-on-windows-gotchas</link>
      <pubDate>Mon, 12 Sep 2011 22:15:00 CDT</pubDate>
      <category><![CDATA[Python]]></category>
      <category><![CDATA[Subversion]]></category>
      <category><![CDATA[Windows]]></category>
      <category><![CDATA[Trac]]></category>
      <guid isPermaLink="true">http://deathofagremmie.com/2011/09/12/upgrading-trac-on-windows-gotchas</guid>
      <description>Upgrading Trac on Windows Gotchas</description>
      <content:encoded><![CDATA[<div class="document">
<p>At work, we are outfitted with Windows servers. Despite this obstacle, I managed
to install <a class="reference external" href="http://trac.edgewall.org/">Trac</a> and <a class="reference external" href="http://subversion.apache.org/">Subversion</a> a few years ago. During a break in the action,
we decided to update Subversion (SVN) and Trac. Since we are on Windows, this
means we have to rely on the <a class="reference external" href="http://sourceforge.net/projects/win32svn/">kindness of strangers</a> for Subversion binaries. I
ran into a couple of gotchas I'd like to document here to help anyone else who
runs into these.</p>
<p>I managed to get Subversion and Trac up and running without any real problems.
However when Trac needed to access SVN to display changesets or a timeline, for
example, I got an error:</p>
<p><tt class="docutils literal">tracerror: unsupported version control system &quot;svn&quot; no module named _fs</tt></p>
<p>After some googling, I finally found that this issue is <a class="reference external" href="http://trac.edgewall.org/wiki/TracSubversion">documented on the Trac
wiki</a>, but it was kind of hard to find. To fix this problem, you have to rename
the Python SVN binding's DLLs to <tt class="docutils literal">*.pyd</tt>. Specifically, change the
<tt class="docutils literal"><span class="pre">libsvn/*.dll</span></tt> files to <tt class="docutils literal"><span class="pre">libsvn/*.pyd</span></tt>, but don't change the name of
<tt class="docutils literal"><span class="pre">libsvn_swig_py-1.dll</span></tt>. I'd really like to hear an explanation of why one
needs to do this. Why doesn't the Python-Windows build process do this for you?</p>
<p>The second problem I ran into dealt with <a class="reference external" href="http://code.google.com/p/modwsgi/">mod_wsgi</a> on Windows. Originally, a few
years ago, I setup Trac to run under <a class="reference external" href="http://www.modpython.org/">mod_python</a>. mod_python has long been
out of favor, so I decided to cut over to mod_wsgi. On my Linux boxes, I always
run mod_wsgi in daemon mode. When I tried to configure this on Windows, Apache
complained about an unknown directive <tt class="docutils literal">WSGIDaemonProcess</tt>. It turns out that
<a class="reference external" href="http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIDaemonProcess">this mode is not supported on Windows</a>. You'll have to use the embedded mode on
Windows.</p>
</div>
]]></content:encoded>
    </item>
  </channel>
</rss>

