Hi Anthony, thanks for the link to the example. Cute browser :-)
The example ran under Python Ok. Frozen it did not play audio files. I manually did copied the plugin\phonon_backend\phonon_ds94.dll into build\exe.win32-3.1\phonon_backend and it ran Ok that is it played audio files. On closing the app you need to tell phonon to release the last played file or you will get an error message about memory not beeing there. On my app I did ignore this but found that phonon had still hold of the audio file when I wanted it to recreate. I did a clear() on the closing event and found that this memory problem was gone too. In your example I have added to the class MainWindow def closeEvent(self, event): self.m_media.clear() Here is my system. WindowsXP Professional Python 3.1.2 Qt 4.6.2 PyQt 4.7.3 sip 4.10.2 Qscintilla 2.4.3 eric5 5.0.0(rev71d06e51cf0) cx_freeze-4.1.2.win32-py3.1 So in essence it is the same problem. You said it ran on Linux without this phonon_backend. Do you have this folder and dll in your distribution? C:\Python31\Lib\site-packages\PyQt4\plugins\phonon_backend [ ok, on the Linux equivalent place that is ] I will do one uninstall and install of cx_freeze right now to be sure I did not kill something. ..... it looks and feel the same. I will compare my app against your example to see what I did different to make it not run on your Linux. thanks. Frans. Op 7/15/2010 6:16 AM, Anthony Tuininga schreef: > Hi, > > I tried your code on my Linux box at home and ran into problems. It > claimed to play the file but really didn't. So I tried this example > instead: > > http://techbase.kde.org/Development/Tutorials/Phonon/Introduction/Python > > That one works fine. I then froze it and it worked just fine, too, > without the need for any hooks. Can you try that sample yourself and > confirm whether or not it works for you? It looks like you are using > Windows so perhaps I'll have to give it a try on that platform as well > but it would be good to know whether the sample does/does not work for > you first. One way or the other we'll get it to work for you. :-) > > Anthony > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ cx-freeze-users mailing list cx-freeze-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cx-freeze-users