<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:black;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle24
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle25
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-CA" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi again,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I have sent an email which was rejected because of the size. I removed the attachments and send it back.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Please let me know if you need that attachments.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thank you,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Marian<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> Tudorache, Marian
<br>
<b>Sent:</b> June-17-15 1:38 PM<br>
<b>To:</b> qgis-user@lists.osgeo.org<br>
<b>Cc:</b> Dave Johansen (davejohansen@gmail.com); Kluew, Vlad<br>
<b>Subject:</b> Issue with QGIS code responsabile of launching plugins and launching Python console<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:5.0pt;margin-right:72.0pt;margin-bottom:5.0pt;margin-left:0cm">
<span style="font-family:"Arial","sans-serif"">Hi everyone,<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-right:36.0pt"><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:5.0pt;margin-right:72.0pt;margin-bottom:5.0pt;margin-left:0cm">
<span style="font-family:"Arial","sans-serif"">I just want to mention the community group that I had to do some changes to 5 python scripts from QGIS.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:5.0pt;margin-right:72.0pt;margin-bottom:5.0pt;margin-left:0cm">
<span style="font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:5.0pt;margin-right:72.0pt;margin-bottom:5.0pt;margin-left:0cm">
<span style="font-family:"Arial","sans-serif"">Problem Definition:<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:5.0pt;margin-right:72.0pt;margin-bottom:5.0pt;margin-left:0cm">
<span style="font-family:"Arial","sans-serif"">When QGIS 2.8 Wien was launched on Red Hat 7 a Python Error popup window shows up.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:5.0pt;margin-right:72.0pt;margin-bottom:5.0pt;margin-left:0cm">
<span style="font-family:"Arial","sans-serif"">I had attach the screenshot ErrorLaunch.png and Error.txt with the complete error message.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:5.0pt;margin-right:72.0pt;margin-bottom:5.0pt;margin-left:0cm">
<span style="font-family:"Arial","sans-serif"">Hitting Close allows QGIS to start and it seems the main features of the application were affected except Python Console and Plugins.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:5.0pt;margin-right:72.0pt;margin-bottom:5.0pt;margin-left:0cm">
<span style="font-family:"Arial","sans-serif"">When I tried to activate Python console I got another  error (see ErroLaunchPython.png). The same error was when I tried to launch any Plugin.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-right:36.0pt"><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:5.0pt;margin-right:72.0pt;margin-bottom:5.0pt;margin-left:0cm">
<span style="font-family:"Arial","sans-serif"">Initially I thought the issue is from an installation mistake but I was wrong. In reality was some problematic python code.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:0cm"><span style="font-size:12.0pt;font-family:"Arial","sans-serif";color:#1F497D">The script:
</span><b><span style="font-size:12.0pt;font-family:"Arial","sans-serif";color:red">ui_console_compile_apis.py</span></b><span style="font-size:12.0pt;font-family:"Arial","sans-serif""> had at the end an import statement like this:
<b><span style="color:red">from Qsci.qscisciscintilla import QsciScintilla.</span></b><o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:0cm"><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">I checked with PyQt4 and I found that
<b><span style="color:red">QsciScintilla</span></b><span style="color:red"> </span>
is part of PyQt4.Qsci there is no <b><span style="color:red">qscisciscintilla </span>
</b>class inside <b><span style="color:red">Qsci.</span> So I replaced the importing statement with
<span style="color:red">from PtQt4. Qsci import QsciScintilla.<o:p></o:p></span></b></span></p>
<p class="MsoListParagraph" style="margin-left:0cm"><b><span style="font-size:12.0pt;font-family:"Arial","sans-serif";color:red"><o:p> </o:p></span></b></p>
<p class="MsoListParagraph" style="margin-left:0cm"><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">The scripts:<b>
<span style="color:red">ui_DlgGetScriptsAndModels.py, ui_DlgHelpEdition.py, ui_DlgAlgorithmBase.py, ui_DlgResults.py
</span></b>had at the end an import statement like this: <b><span style="color:red">from QtWebKit.QtWebView import QWebView.</span></b><o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:0cm"><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">I checked with PyQt4 and I found that
<b><span style="color:red">QWebView </span></b>is part of <b>PyQt4. QtWebKit<span style="color:red">.</span> So I replaced the importing statement with
<span style="color:red">PtQt4.QtWebKit import QWebView.<o:p></o:p></span></b></span></p>
<p class="MsoListParagraph" style="margin-left:0cm"><b><span style="font-size:12.0pt;font-family:"Arial","sans-serif";color:red"><o:p> </o:p></span></b></p>
<p class="MsoListParagraph" style="margin-left:0cm"><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">I recompiled those files and replace them in QGIS application and the errors were gone. Now I am able to use QGIS, Python and all plugins without
 any problem.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:0cm"><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="margin-left:0cm"><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">So I would like to advise me what is the procedure if I had to change QGIS source code.
<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:0cm"><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="margin-left:0cm"><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">NB.<o:p></o:p></span></p>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td style="background:white;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The source that I used to install QGIS and I found those issues is:
</span><span style="color:windowtext">FEDORA-EPEL-2015-6639 <o:p></o:p></span></p>
</td>
<td style="background:white;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="color:windowtext"><a href="https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-6639/qgis-2.8.2-1.el7?_csrf_token=e4be1107678b48ddd258829378af126dc23700a0">qgis-2.8.2-1.el7</a>
<o:p></o:p></span></p>
</td>
<td style="background:white;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="color:windowtext"><a href="https://admin.fedoraproject.org/updates/EPEL-7?_csrf_token=e4be1107678b48ddd258829378af126dc23700a0">Fedora EPEL 7</a>
<o:p></o:p></span></p>
</td>
<td style="background:white;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="color:windowtext">.<o:p></o:p></span></p>
</td>
<td style="background:white;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="center" style="text-align:center"><span style="color:windowtext"><o:p> </o:p></span></p>
</td>
<td style="background:white;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="center" style="text-align:center"><span style="color:windowtext"><o:p> </o:p></span></p>
</td>
<td style="background:white;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
</td>
<td style="background:white;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoListParagraph" style="margin-left:0cm"><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="margin-left:0cm"><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="margin-left:0cm"><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">Thanks,<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:0cm"><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">Marian<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:0cm"><b><span style="color:red"><o:p> </o:p></span></b></p>
<p class="MsoListParagraph" style="margin-left:0cm"><b><span style="color:red"><o:p> </o:p></span></b></p>
<p class="MsoListParagraph" style="margin-left:0cm"><o:p> </o:p></p>
<pre style="margin-right:36.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></pre>
<pre style="margin-right:36.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></pre>
<pre style="margin-right:36.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></pre>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">This electronic message, as well as any transmitted files included in the electronic message, may contain privileged or confidential information and is intended solely for the use of the individual(s) or entity to which
 it is addressed. If you have received this electronic message in error please notify the sender immediately and delete the electronic message. Any unauthorized copying, disclosure or distribution of the electronic message is strictly forbidden. NAV CANADA
 accepts no liability for any damage caused by any virus and/or other malicious code transmitted by this electronic communication.<br>
<br>
Le présent message électronique et tout fichier qui peut y être joint peuvent contenir des renseignements privilégiés ou confidentiels destinés à l’usage exclusif des personnes ou des organismes à qui ils s’adressent. Si vous avez reçu ce message électronique
 par erreur, veuillez en informer l’expéditeur immédiatement et supprimez le. Toute reproduction, divulgation ou distribution du présent message électronique est strictement interdite. NAV CANADA n’assume aucune responsabilité en cas de dommage causé par tout
 virus ou autre programme malveillant transmis par ce message électronique.<br>
</font>
</body>
</html>