Given below is the error which I am getting while running the code (which is in my previous post ) in python 2.6. Can anyone tell about this error? .. i am unable to understand it.

Traceback (most recent call last):
File "C:\Python26\music_player_v1\", line 153, in <module>
frame = MediaFrame()
File "C:\Python26\music_player_v1\", line 148, in init
panel = MediaPanel(self)
File "C:\Python26\music_player_v1\", line 25, in init
File "C:\Python26\music_player_v1\", line 46, in layoutControls
audioTBSizer = self.buildAudioToolBar()
File "C:\Python26\music_player_v1\", line 65, in buildAudioToolBar
self.rewind = SBitmapButton(self, -1, upbmp, (48, 48))
File "C:\Python26\Lib\wx-2.8-msw-unicode\wx\lib\agw\", line 995, in init
File "C:\Python26\Lib\wx-2.8-msw-unicode\wx\lib\agw\", line 1068, in SetBitmapLabel
image = wx.ImageFromBitmap(bitmap)
File "C:\Python26\Lib\wx-2.8-msw-unicode\", line 3473, in ImageFromBitmap
val = core.new_ImageFromBitmap(*args, **kwargs)
PyAssertionError: C++ assertion "bmp.Ok()" failed at ....\src\msw\dib.cpp(148) in wxDIB::Create(): wxDIB::Create(): invalid bitmap

why dont you recheck all.
try adding the python installation location to the path variable and try to confirm your wxPython version matches with your installed python version.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.