I apologize for the name confusion... actually the OP is Stephen
I need a holiday!
Andrea.
路路路
On 8/10/07, Andrea Gavana wrote:
Hi Cody,
On 8/10/07, Stephen Hansen wrote:
> I just upgraded to 2.8.4.2 on my devbox, and my flat notebooks don't work
> anymore
>
> I get:
>
> CGBitmapContextCreate: invalid data bytes/row: should be at least 4 for 8
> integer bits/component, 3 components, kCGImageAlphaNoneSkipFirst.
> CGContextConcatCTM: invalid context
> CGContextConcatCTM: invalid context
> CGBitmapContextCreate: invalid data bytes/row: should be at least 4 for 8
> integer bits/component, 3 components,
> kCGImageAlphaPremultipliedFirst.
> CGContextConcatCTM: invalid context
> CGContextConcatCTM: invalid context
> Traceback (most recent call last):
> File
> "//Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/wx-2.8-mac-unicode
> /wx/lib/flatnotebook.py", line 3885, in OnPaint
> renderer.DrawTabs(self, dc)
> File
> "//Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/wx-2.8-mac-unicode/wx/lib/flatnotebook.py",
> line 2533, in DrawTabs
> mem_dc.Blit(0, 0, rect.width, rect.height, dc, rect.x, rect.y)
> File
> "//Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/wx-2.8-mac-unicode/wx/_gdi.py",
> line 3373, in Blit
> return _gdi_.DC_Blit(*args, **kwargs)
> wx._core.PyAssertionError: C++ assertion "wxAssertFailure" failed at
> /BUILD/wxPython-src-2.8.4.2/src/common/dcgraph.cpp(776) in DoBlit(): Cannot
> Blit. Unable to get contents of DC as bitmap.
>
> I reinstalled 2.8.4.0 and confirmed it worked then. I dunno what's
> different, don't get drawing code enoughI have no idea of what is causing this assertion... as far as I know,
nothing has changed in the drawing part of FlatNotebook except the
ability to draw focused rectangle, which seems not to be related to
your problem... is it Mac specific? Is anyone else seeing the same
problem?Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
--
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/