[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] Eric5 Tutorial problem
From:       al <comtronic_99 () yahoo ! com>
Date:       2013-05-20 17:54:38
Message-ID: 1369072478.47728.YahooMailNeo () web164002 ! mail ! gq1 ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi folks,

working on the Eric tutorial \
http://eric-ide.python-projects.org/tutorials/LogParser/index.html I ran into \
trouble:

"object has no  attribute retranslateUi"

I know that I have a newer Code Generator PyQt4 UI code generator 4.4.2 <-> 4.10.1.

When I use the tutorial files which I have downloaded from \
http://eric-ide.python-projects.org/tutorials/LogParser/src/LogParser.zip and create \
a new project of this I get the project running.

But when I follow the tutorial and try to do my own source code I get the above \
problems.

Comparing the source I can find that in the downloaded source in Ui_LogParser.py a \
def retranslateUi(self, MainWindow) section is generated but not in my generated \
code. :-(

How can I solve this issue and avoid the above error message?


[Attachment #5 (text/html)]

<html><body><div style="color:#000; background-color:#fff; font-family:times new \
roman, new york, times, serif;font-size:12pt"><div id="yiv4959579867"><div><div \
style="color:#000;background-color:#fff;font-family:times new roman, new york, times, \
serif;font-size:12pt;"><div id="yiv4959579867yui_3_7_2_28_1369078822977_142">Hi \
folks,</div><div id="yiv4959579867yui_3_7_2_28_1369078822977_144"><br></div><div \
style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, \
times, serif;background-color:transparent;font-style:normal;" \
id="yiv4959579867yui_3_7_2_28_1369078822977_145">working on the Eric tutorial \
http://eric-ide.python-projects.org/tutorials/LogParser/index.html I ran into \
trouble:</div><div id="yiv4959579867yui_3_7_2_28_1369078822977_164" \
style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, \
times, serif;background-color:transparent;font-style:normal;"><br  \
id="yiv4959579867yui_3_7_2_28_1369078822977_169"></div><div \
id="yiv4959579867yui_3_7_2_28_1369078822977_166" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;">"object has no&nbsp; attribute \
retranslateUi"</div><div id="yiv4959579867yui_3_7_2_28_1369078822977_177" \
style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, \
times, serif;background-color:transparent;font-style:normal;"><br \
id="yiv4959579867yui_3_7_2_28_1369078822977_182"></div><div \
id="yiv4959579867yui_3_7_2_28_1369078822977_179" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;">I know that I have a newer \
Code Generator PyQt4 UI code generator 4.4.2 &lt;-&gt; 4.10.1.</div><div \
id="yiv4959579867yui_3_7_2_28_1369078822977_185" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new  roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><br \
id="yiv4959579867yui_3_7_2_28_1369078822977_190"></div><div \
id="yiv4959579867yui_3_7_2_28_1369078822977_187" style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;">When I use the tutorial files \
which I have downloaded from \
http://eric-ide.python-projects.org/tutorials/LogParser/src/LogParser.zip and create \
a new project of this I get the project running.<br><br>But when I follow the \
tutorial and try to do my own source code I get the above problems.<br><br>Comparing \
the source I can find that in the downloaded source in Ui_LogParser.py a def \
retranslateUi(self, MainWindow) section is generated but not in my generated code. \
:-(<br><br>How can I solve this issue and avoid the above error message? \
<br></div><div class="yiv4959579867yui_3_7_2_28_1369078822977_58"  \
id="yiv4959579867yui_3_7_2_28_1369078822977_59" style="font-family:times new roman, \
new york, times, serif;font-size:12pt;"><div \
id="yiv4959579867yui_3_7_2_28_1369078822977_121" \
class="yiv4959579867yui_3_7_2_28_1369078822977_62" style="font-family:times new \
roman, new york, times, serif;font-size:12pt;"><div \
id="yiv4959579867yui_3_7_2_28_1369078822977_120" \
class="yiv4959579867y_msg_container"><br></div> </div> </div>  \
<span></span><div></div></div></div></div></div></body></html>



_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic