<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Smooth as slime (Debian)</title><link>https://polz.si/</link><description></description><atom:link href="https://polz.si/categories/debian.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 28 Sep 2016 14:51:29 GMT</lastBuildDate><generator>https://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Giving up on TurboGears in Debian</title><link>https://polz.si/posts/Giving_up_on_TurboGears_in_Debian/</link><dc:creator>Polž</dc:creator><description>&lt;div&gt;&lt;p&gt;Looks like it's time to migrate to a more stable framework... :(.&lt;/p&gt;
&lt;p&gt;Update: there were some errors in app.cfg. Everything seems to be working for the moment. I guess I can afford to put off the migration for a while longer.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://polz.si/posts/Giving_up_on_TurboGears_in_Debian/"&gt;Read more…&lt;/a&gt; (1 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>Debian</category><category>TurboGears</category><guid>https://polz.si/posts/Giving_up_on_TurboGears_in_Debian/</guid><pubDate>Fri, 30 Jan 2009 10:58:56 GMT</pubDate></item><item><title>TurboGears &amp;&amp; Debian == problems</title><link>https://polz.si/posts/TurboGears_Debian_problems/</link><dc:creator>Polž</dc:creator><description>&lt;div&gt;&lt;p&gt;First of all, the &lt;a class="reference external" href="http://www.turbogears.org"&gt;TurboGears&lt;/a&gt; package from Debian is old and outdated. In fact, as of Jan. 6. 2009, it doesn't even work. The "preferred" solution to this problem is to install all your dependencies in a &lt;a class="reference external" href="http://docs.turbogears.org/1.0/InstallNonRoot"&gt;virtualenv directory&lt;/a&gt;. On top of that, most of the TurboGears-based blogs don't even seem to work out of the box (I'm not sure if this was due to a PEBKAC or not). In the end, I decided to install &lt;a class="reference external" href="http://chrisarndt.de/projects/cblog/"&gt;CBlog&lt;/a&gt; . Unfortunately, CBlog uses cheetah templates which don't work on Debian's version of TurboGears. I have therefore rewritten all the templates in &lt;a class="reference external" href="http://www.kid-templating.org/"&gt;KID&lt;/a&gt;, only to be told by TurboGears developers that I should be using &lt;a class="reference external" href="http://genshi.edgewall.org"&gt;Genshi&lt;/a&gt; . I've also noticed that if I use py:layout in a KID template, the template doesn't get reloaded automatically. Paradoxically, this isn't really that problematic since the AutoReload feature of TurboGears affects it's performance so a production server is supposed to be restarted every time your web app is updated.&lt;/p&gt;
&lt;p&gt;Anyway, the blog is up and I intend to start filling it with useful tips and information regarding computing in general in the following weeks.&lt;/p&gt;
&lt;p&gt;Oh, and feel free to post some spam in the comments, filtering is still on my TODO list.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://polz.si/posts/TurboGears_Debian_problems/"&gt;Read more…&lt;/a&gt; (1 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>Debian</category><category>TurboGears</category><guid>https://polz.si/posts/TurboGears_Debian_problems/</guid><pubDate>Tue, 06 Jan 2009 17:26:54 GMT</pubDate></item></channel></rss>