23.04.2024, 20:16 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
marcia
Titel: Python program help please  BeitragVerfasst am: 30.06.2006, 17:38 Uhr



Anmeldung: 19. Mai 2006
Beiträge: 23

Dear All,

I just recently downloaded an interesting looking program from sourceforge called PhotoDVDSlideshow which is a python program. When I run the program as instructed which is to use : python gui.py , I get an error message-

xmlControl.py", line 15, in ?
from xml.dom import implementation
ImportError: cannot import name implementation

and of course the program does not run. I have researched this for a few days and tried their forum but no help so far. I am not familiar with python or any programming language. Anyone here know what I can do to run this program?

Any suggestions are appreciated.

Thank you very much,

Marcia
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
marcia
Titel:   BeitragVerfasst am: 30.06.2006, 20:20 Uhr



Anmeldung: 19. Mai 2006
Beiträge: 23

Dear All,

I believe I resolved the xml problem by installing more xml packages and those with references to python as well. That got rid of the xml error, however now I have a new error.

python gui.py
Traceback (most recent call last):
File "gui.py", line 2504, in ?
w = gui()
File "gui.py", line 19, in __init__
self.setSizePolicy(QSizePolicy(0,0,0,0,self.sizePolicy().hasHeightForWidth()))
TypeError: argument 1 of QSizePolicy() has an invalid type

I researched this and got a fix which I am not sure how to do. The fix is:

PyQt has been built with SIP v4.2 (or later) which triggers
a bug in pyuic 3.13 (and earlier). You need to upgrade your PyQt - then
re-run pyuic on your .ui files

I then upgraded as suggested however I do not know the first thing abour re-running pyuic on a .ui file. I have been researching this now, however, the how-to's are a bit over my head. Is there a simple way to do this? Would using QT designer help?

Any suggestions are welcome.

Thank you very much.

Marcia
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.