Re: MediaCtrl Learning resources
Nick Adams <[email protected]>
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <CAFGC78=wOzEOqRDskwNDFVRXZXbN=wVDjfmAbpkq1KG3cBosqQ@mail.gmail.com> |
I solved the problem after I sent this email. 1.) I read that MediaCtrl is an asynchronous module and that you must ensure media is loaded before you attempt to play it 2.) you cannot manipulate UI elements and display them simultaneously. 3.) ^ In my case, I was (stupidly) trying to consecutively write to and load a file with the same name. I just made a directory in /tmp for temporary unique file names and be sure to clean up the directory upon exit in my application class. Cheers On Fri, Jul 31, 2020 at 12:18 PM FreddyJohn <[email protected]> wrote: > Hello, I’ve read through all of wxpython in action and have had a fun time > learning about building a GUI in python but unfortunately I’m having > trouble learning and working with MediaCtrl. > I’ve read through the documentation and I’ve analyzed other peoples > programs. > But it has not helped me truly understand why these errors happen and how > they can be fixed > > 1.) [xcb] Unknown requesting queue while dequeuing > 2.) GTK-Message Fatal IO error 0 (Success) on X server :0 > 3.) Gdk-ERROR received an X Window System error. This probably reflects a > bug in the program... > > Where can I learn about these errors? > > > -- > You received this message because you are subscribed to the Google Groups > "wxPython-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/wxpython-users/eb1a1f11-d796-46aa-be22-835ea63d2e10n%40googlegroups.com > <https://groups.google.com/d/msgid/wxpython-users/eb1a1f11-d796-46aa-be22-835ea63d2e10n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "wxPython-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/CAFGC78%3DwOzEOqRDskwNDFVRXZXbN%3DwVDjfmAbpkq1KG3cBosqQ%40mail.gmail.com.