<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><font color="#000000">Hi,</font></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><font color="#000000"><br>

</font></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><font color="#000000">I am a new QGIS user. The program was working fine until I tried to use the Python Console which just does't open. I hope someone can help me out with this. Here is the description of my problem:</font></div>

<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><font color="#000000"><br></font></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><font color="#000000">Operating Syste: Windows 7 (64 bit)</font></div>

<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><font color="#000000"><br></font></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><font color="#000000">QGIS: 2.0.1 - Dufour</font></div>

<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><font color="#000000"><br></font></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><font color="#000000">Installation: osgeo4w (64bit)</font></div>

<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><font color="#000000"><br></font></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><font color="#000000">Problem: When I try to open the Python Console ("Plugins" --> "Python Console") an error message appears. When I close error window, I am back on QGIS interface. </font></div>

<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><font color="#000000">I have already tried to re-install everything, but it didn't fix the problem. I also tried going into the file and changing utf8 encoding to ascii, but the file is protected and I cannot save it once modified.</font></div>

<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><font color="#000000"><br></font></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><font color="#000000">Error message: </font></div>

<blockquote style="font-family:arial,sans-serif;font-size:12.727272033691406px;margin:0px 0px 0px 40px;border:none;padding:0px"><div><p style="margin:0px"><font face="courier new, monospace" color="#ff0000">Failed to open Python console:</font></p>

</div><div><pre style="white-space:pre-wrap;margin-top:12px;margin-bottom:12px"><font face="courier new, monospace" color="#000000"><br></font></pre></div><div><pre style="white-space:pre-wrap;margin-top:12px;margin-bottom:12px">

<font face="courier new, monospace" color="#000000">Traceback (most recent call last):</font></pre></div><div><pre style="white-space:pre-wrap;margin-top:12px;margin-bottom:12px"><font face="courier new, monospace" color="#000000">  File "", line 2, in </font></pre>

</div><div><pre style="white-space:pre-wrap;margin-top:12px;margin-bottom:12px"><font face="courier new, monospace" color="#000000">  File "C:/OSGEO4~1/apps/qgis/./python\console\console.py", line 43, in show_console</font></pre>

</div><div><pre style="white-space:pre-wrap;margin-top:12px;margin-bottom:12px"><font face="courier new, monospace" color="#000000">    _console = PythonConsole( parent )</font></pre></div><div><pre style="white-space:pre-wrap;margin-top:12px;margin-bottom:12px">

<font face="courier new, monospace" color="#000000">  File "C:/OSGEO4~1/apps/qgis/./python\console\console.py", line 75, in __init__</font></pre></div><div><pre style="white-space:pre-wrap;margin-top:12px;margin-bottom:12px">

<font face="courier new, monospace" color="#000000">    self.console = PythonConsoleWidget(self)</font></pre></div><div><pre style="white-space:pre-wrap;margin-top:12px;margin-bottom:12px"><font face="courier new, monospace" color="#000000">  File "C:/OSGEO4~1/apps/qgis/./python\console\console.py", line 103, in __init__</font></pre>

</div><div><pre style="white-space:pre-wrap;margin-top:12px;margin-bottom:12px"><font face="courier new, monospace" color="#000000">    self.shellOut = ShellOutputScintilla(self)</font></pre></div><div><pre style="white-space:pre-wrap;margin-top:12px;margin-bottom:12px">

<font face="courier new, monospace" color="#000000">  File "C:/OSGEO4~1/apps/qgis/./python\console\console_output.py", line 97, in __init__</font></pre></div><div><pre style="white-space:pre-wrap;margin-top:12px;margin-bottom:12px">

<font face="courier new, monospace" color="#000000">    self.insertInitText()</font></pre></div><div><pre style="white-space:pre-wrap;margin-top:12px;margin-bottom:12px"><font face="courier new, monospace" color="#000000">  File "C:/OSGEO4~1/apps/qgis/./python\console\console_output.py", line 139, in insertInitText</font></pre>

</div><div><pre style="white-space:pre-wrap;margin-top:12px;margin-bottom:12px"><font face="courier new, monospace" color="#000000">    socket.gethostname())</font></pre></div><div><pre style="white-space:pre-wrap;margin-top:12px;margin-bottom:12px">

<font face="courier new, monospace" color="#000000">UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 5: ordinal not in range(128)</font></pre></div><div><pre style="white-space:pre-wrap;margin-top:12px;margin-bottom:12px">

<font face="courier new, monospace" color="#000000"><br></font></pre></div><div><p style="margin:0px"><font face="courier new, monospace" color="#000000">Python version:</font></p></div><div><p style="margin:0px"><font face="courier new, monospace" color="#000000">2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]</font></p>

</div><div><p style="margin:0px"><font face="courier new, monospace" color="#000000"><br></font></p></div><div><p style="margin:0px"><font face="courier new, monospace" color="#000000">QGIS version:</font></p></div><div>
<p style="margin:0px">
<font face="courier new, monospace" color="#000000">2.0.1-Dufour 'Dufour', d94c044</font></p></div><div><p style="margin:0px"><font face="courier new, monospace" color="#000000"><br></font></p></div><div><p style="margin:0px">

<font face="courier new, monospace" color="#000000">Python path:</font></p></div><div><p style="margin:0px"><font face="courier new, monospace" color="#000000">['C:/OSGEO4~1/apps/qgis/./python/plugins\\processing', 'C:/OSGEO4~1/apps/qgis/./python', 'C:\\Users\\raphael_luthi/.qgis2/python', 'C:\\Users\\raphael_luthi/.qgis2/python/plugins', 'C:/OSGEO4~1/apps/qgis/./python/plugins', 'C:\\OSGEO4~1\\bin\\python27.zip', 'C:\\OSGEO4~1\\apps\\Python27\\DLLs', 'C:\\OSGEO4~1\\apps\\Python27\\lib', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\plat-win', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\lib-tk', 'C:\\OSGEO4~1\\bin', 'C:\\OSGEO4~1\\apps\\Python27', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\PIL', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\win32', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\Pythonwin', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win-amd64.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\six-1.3.0-py2.7.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\xlrd-0.9.2-py2.7.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\xlwt-0.7.5-py2.7.egg', 'C:\\OSGEO4~1\\apps\\qgis\\python\\plugins\\fTools\\tools']</font></p>

<p style="margin:0px"> </p></div></blockquote><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">Thanks to anyone who can help!</span><br style="font-family:arial,sans-serif;font-size:12.727272033691406px">

<div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Raph</div></div>