[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] Problem Eric tutorial
From: al <comtronic_99 () yahoo ! com>
Date: 2013-05-21 17:14:09
Message-ID: 1369156449.46860.YahooMailNeo () web164005 ! 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 problem.
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="yiv6845537995yui_3_7_2_28_1369078822977_142">Hi \
folks,</div><div id="yiv6845537995yui_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="yiv6845537995yui_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="yiv6845537995yui_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="yiv6845537995yui_3_7_2_28_1369078822977_169"></div><div \
id="yiv6845537995yui_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 attribute \
retranslateUi"</div><div id="yiv6845537995yui_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="yiv6845537995yui_3_7_2_28_1369078822977_182"></div><div \
id="yiv6845537995yui_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 <-> 4.10.1.</div><div \
id="yiv6845537995yui_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="yiv6845537995yui_3_7_2_28_1369078822977_190"></div>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 problem.<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? </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