<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #1395: "Import Error: cannot import name UnicodeMultiDict" when installing ckan from source</title>
    <link>http://localhost/ticket/1395</link>
    <description>&lt;p&gt;
At the &lt;em&gt;paster db init&lt;/em&gt; command when installing ckan from source I get the error &lt;em&gt;"Import Error: cannot import name &lt;a class="missing wiki"&gt;UnicodeMultiDict?&lt;/a&gt;"&lt;/em&gt; (happens with both ckan 1.4.2 and today's latest bleeding edge code, on Ubuntu 10.04.3).
&lt;/p&gt;
&lt;p&gt;
&lt;a class="missing wiki"&gt;UnicodeMultiDict?&lt;/a&gt; has been removed in a recent version of python-webob, and the &lt;em&gt;pip install ... lucid_missing.txt&lt;/em&gt; causes a too-new version of python-webob to be installed into ckan's virtualenv (the new webob gets installed as a dependency of formalchemy).
&lt;/p&gt;
&lt;p&gt;
I manually did &lt;em&gt;pip uninstall webob&lt;/em&gt; and then ran &lt;em&gt;paster db init&lt;/em&gt; again and it worked.
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>CKAN</title>
      <url>http://assets.okfn.org/p/ckan/img/ckan_logo_shortname.png</url>
      <link>http://localhost/ticket/1395</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>seanh</dc:creator>

      <pubDate>Thu, 13 Oct 2011 15:42:23 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/1395#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/1395#comment:1</guid>
      <description>
        &lt;p&gt;
The exact command that introduced the too-new webob into my virtualenv was:
&lt;/p&gt;
&lt;pre class="wiki"&gt;pip install --ignore-installed -r pyenv/src/ckan/requires/lucid_missing.txt -r pyenv/src/ckan/requires/lucid_conflict.txt
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Thu, 13 Oct 2011 16:03:39 GMT</pubDate>
      <title>cc set</title>
      <link>http://localhost/ticket/1395#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/1395#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;cc&lt;/strong&gt;
              &lt;em&gt;dread&lt;/em&gt; added
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Thu, 13 Oct 2011 17:00:01 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/1395#comment:3</link>
      <guid isPermaLink="false">http://localhost/ticket/1395#comment:3</guid>
      <description>
        &lt;p&gt;
This problem is mentioned here: &lt;a class="ext-link" href="http://docs.ckan.org/en/latest/test.html"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://docs.ckan.org/en/latest/test.html&lt;/a&gt; but you're right, it really should be solved in the install instructions.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Wed, 09 Nov 2011 16:57:03 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost/ticket/1395#comment:4</link>
      <guid isPermaLink="false">http://localhost/ticket/1395#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I added this to the instructions a few days ago to fix this issue for the 1.5 release:
&lt;/p&gt;
&lt;pre class="wiki"&gt;       pip install webob==1.0.8
&lt;/pre&gt;&lt;p&gt;
Cheers Sean.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>