<div dir="ltr">probably happened because you ran qgis as root - or a long-standing bug with ubuntu...<div><br></div><div>just remove your /home/huckleberry/.qgis2// folder as root and then run qgis again (not as root).</div>
<div><br></div><div>sudo rm -rf /home/huckleberry/.qgis2//</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Feb 15, 2014 at 8:04 PM, Drizzle <span dir="ltr"><<a href="mailto:asanch505@hotmail.com" target="_blank">asanch505@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hello Quantum Community,<br>
I have installed QGIS 2.01 Dufour on Ubuntu 12.04 LTS. When Qgis
starts i get a couple of error messages:<br>
the first is:<br>
<i><br>
</i><i>Private qgis.db [ERROR] - Can not make qgis.db private copy.</i>
(not sure exactly what this means)<br>
<br>
the second is:<br>
<i>Python error - Couldn't load plugin processing due an error when
calling its classFactory() method.</i><i><br>
</i><i> </i>
<i> </i>
<p style="margin-bottom:0in"><i>Traceback (most
recent
call last):</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i> File
"/usr/lib/python2.7/dist-packages/qgis/utils.py", line 204,
in startPlugin</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i>
plugins[packageName] = package.classFactory(iface)</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i> File
"/usr/share/qgis/python/plugins/processing/__init__.py",
line 33, in classFactory</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i> return
ProcessingPlugin(iface)</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i> File
"/usr/share/qgis/python/plugins/processing/ProcessingPlugin.py",
line 53, in __init__</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i>
Processing.initialize()</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i> File
"/usr/share/qgis/python/plugins/processing/core/Processing.py",
line 127, in initialize</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i>
Processing.addProvider(RAlgorithmProvider())</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i> File
"/usr/share/qgis/python/plugins/processing/core/Processing.py",
line 75, in addProvider</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i>
provider.initializeSettings()</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i> File
"/usr/share/qgis/python/plugins/processing/r/RAlgorithmProvider.py",
line
51, in initializeSettings</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i>
ProcessingConfig.addSetting(Setting(self.getDescription(),
RUtils.RSCRIPTS_FOLDER, "R Scripts folder",
RUtils.RScriptsFolder()))</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i> File
"/usr/share/qgis/python/plugins/processing/r/RUtils.py",
line 55, in RScriptsFolder</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i> mkdir(folder)</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i> File
"/usr/share/qgis/python/plugins/processing/core/ProcessingUtils.py",
line
95, in mkdir</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i> mkdir(head)</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i> File
"/usr/share/qgis/python/plugins/processing/core/ProcessingUtils.py",
line
97, in mkdir</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i> os.mkdir(newdir)</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i>OSError: [Errno 13]
Permission denied: '/home/huckleberry/.qgis2//processing'</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i><br>
</i>
</p>
<i>
</i>
<p style="margin-bottom:0in"><i>Python version:</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i>2.7.3 (default, Sep
26
2013, 20:13:52) </i></p>
<i>
</i>
<p style="margin-bottom:0in"><i>[GCC 4.6.3]</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i><br>
</i>
</p>
<i>
</i>
<p style="margin-bottom:0in"><i><br>
</i>
</p>
<i>
</i>
<p style="margin-bottom:0in"><i>QGIS version:</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i>2.0.1-Dufour
Dufour,
exported</i></p>
<i>
</i>
<p style="margin-bottom:0in"><i><br>
</i>
</p>
<i>
</i>
<p style="margin-bottom:0in"><i>Python path:
['/usr/share/qgis/python/plugins/processing',
'/usr/share/qgis/python', '/home/huckleberry/.qgis2/python',
'/home/huckleberry/.qgis2/python/plugins',
'/usr/share/qgis/python/plugins', '/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PIL',
'/usr/lib/python2.7/dist-packages/gst-0.10',
'/usr/lib/python2.7/dist-packages/gtk-2.0',
'/usr/lib/pymodules/python2.7',
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
'/usr/lib/python2.7/dist-packages/ubuntuone-couch',
'/usr/lib/python2.7/dist-packages/ubuntuone-installer',
'/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol',
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode']</i><br>
</p>
<p style="margin-bottom:0in">I thought I had
installed the python from the terminal prompt when installing but
obviously not : sudo apt-get install qgis python-qgis.<br>
</p>
<p style="margin-bottom:0in">ANY SUGGESTIONS ON HOW
TO FIX THESE ERRORS???<br>
Thanks,<br>
A<br>
</p>
<br>
</div>
<br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br></blockquote></div><br></div>