Resultaat met andere versie:
maasnet@ubuntu:~/Bureaublad$ python mcw.py
Traceback (most recent call last):
File "mcw.py", line 61, in
myapp = MCW()
File "mcw.py", line 28, in __init__
self.ui = Ui_MainWindow()
File "/home/maasnet/Bureaublad/mcw_ui.py", line 15, in __init__
self.document = xml.dom.minidom.parse("/home/milan/programming/channelswitcher/channels.xml")
File "/usr/lib/python2.5/xml/dom/minidom.py", line 1915, in parse
return expatbuilder.parse(file)
File "/usr/lib/python2.5/xml/dom/expatbuilder.py", line 922, in parse
fp = open(file, 'rb')
IOError: [Errno 2] Bestand of map bestaat niet: '/home/milan/programming/channelswitcher/channels.xml'
Ik heb ff snel jou mappen aangemaakt en werkt het al goed hoor!!
Alleen krijg bij editor.py nu de volgende melding:
Traceback (most recent call last):
File "editor.py", line 96, in
myapp = editor()
File "editor.py", line 14, in __init__
self.ui.setupUi(self)
File "/home/maasnet/Bureaublad/editor_ui.py", line 59, in setupUi
self.retranslateUi(MainWindow)
File "/home/maasnet/Bureaublad/editor_ui.py", line 68, in retranslateUi
self.kanalenLijst.item(i).setText(QtGui.QApplication.translate("MainWindow", self.title.childNodes[0].nodeValue, None, QtGui.QApplication.UnicodeUTF8))
TypeError: argument 2 of QCoreApplication.translate() has an invalid type