On Mon, 24 Oct 2016 02:24:16 -0700 (PDT) lewis <[email protected]> wrote:
> Hi Terry, > > Good news, I successfully exported a PNG file, and more than once! > Your work on this plugin is appreciated. > For this test please note I have switched to a laptop running > PyQt5.6.0 > > However later when I used the 'Clear formatting' button I managed to > crash Leo. Here is the console: Ok, thanks, fixed that in 68548f0. There's definitely something change with exception handling. Or something related. python launchLeo.py ~/.leo/del.leo starts Leo, del.leo is my testing outline. This is Python 2.7.12, PyQt version 5.5.1. Prior to my fix in 68548f0, I get Lewis's crash to console. python3 launchLeo.py ~/.leo/del.leo seg-faults without starting (splash is displayed) But using the script I usually use to start Leo, it runs with Python 3.5.2, PyQt version 5.5.1 and while I see Lewis's traceback in the console, Leo doesn't crash. That's what I'm talking about when I say I think Leo's recently become more crashable by these kind of bugs. But it's not something you can pin down with git bisect, I think it's probably also related to Python and Qt versions, particularly the recent(ish) jump from Qt 4 to 5 for Python 2.7 deployments. Cheers -Terry > *Leo 5.4, Mon Oct 24 09:25:33 2016* > *Git commit: f78504fc* > *Python 3.5.2, PyQt version 5.6.0* > *Windows Vista x86 (build 6.0.6002) SP2* > *reading settings in N:\leo\DServe_Eff_Filters.leo* > *Traceback (most recent call last):* > * File "N:\git\leo-editor\leo\plugins\graphcanvas.py", line 167, in > <lambda>* > * u.btnClearFormatting.clicked.connect(lambda checked: > o.clearFormatting())* > * File "N:\git\leo-editor\leo\plugins\graphcanvas.py", line 1341, in > clearFormatting* > * item.bg.setBrush(QtGui.QBrush(QtGui.QColor(200,240,200)))* > *AttributeError: 'QGraphicsPixmapItem' object has no attribute > 'setBrush'* > > Later I will repeat the testing back on my win10 desktop and report > the progress. > > Regards > Lewis > > On Monday, 24 October 2016 09:26:17 UTC+11, Terry Brown wrote: > > > > > > Gah, ok, try f78504f > > > > Cheers -Terry > > > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
