Hi Floris,
This is a problem with your version of wxPython. You should try
installing a more recent version. However, you might also be able to
work around it by changing the line in question from:
self.__bxSzrTrackTime.AddSpacer(5)
to something like:
self.__bxSzrTrackTime.AddSpacer((5, 5))
or maybe just:
self.__bxSzrTrackTime.Add((5, 5))
David
Floris wrote:
It is more as a month ago that you have posted this, so
I thought maybe now is the time to try it out.
Unfortunately I'm not able to get the program running.
uname -a
Linux Jessica 2.6.26-2-686 #1 SMP Thu Mar 26 01:08:11 UTC 2009 i686
GNU/Linux
(Debian Testing)
python --version
Python 2.5.4
$..kap/kap$ python kap.py
Media Library Thread Started
Kap version 0.2.0cvs Copyright (C) 2009 John Schneiderman
Kap comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome to redistribute it
under certain conditions; see the COPYING file for details,
or the Free Software Foundation's GPL.
Song database could not be opened: [Errno 2] Bestand of map bestaat
niet: './media_library.dat'
Player Thread Started
Traceback (most recent call last):
File "kap.py", line 716, in <module>
main(sys.argv)
File "kap.py", line 709, in main
kap = Kap(None, wx.ID_ANY, sfCnfgPrsrKap)
File "kap.py", line 129, in __init__
self.__createControls()
File "kap.py", line 274, in __createControls
volume=self.__volumeLevel)
File "/home/floris/Downloads/kap/kap/playerwindow.py", line 63, in
__init__
self.__doLayout()
File "/home/floris/Downloads/kap/kap/playerwindow.py", line 114, in
__doLayout
self.__bxSzrTrackTime.AddSpacer(5)
File
"/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line
11832, in AddSpacer
return self.Add(*args, **kw)
File
"/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line
11711, in Add
return _core_.Sizer_Add(*args, **kwargs)
TypeError: wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item
Maybe I miss some packages or is there another problem?
I hope you can help,
floris
John Schneiderman schreef:
Just wanted to announce the release of the DJ media player sister project. It
is ready in an alpha state. You can find the code at: http://kap.nongnu.org .
Look forward to your comments and suggestions. It currently only supports the
use of MPlayer, but it will eventually support many more players.
John S.
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Pykaraoke-discuss mailing list
Pykaraoke-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Pykaraoke-discuss mailing list
Pykaraoke-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Pykaraoke-discuss mailing list
Pykaraoke-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss