On Sat, 22 Oct 2016 10:47:57 -0500 "Edward K. Ream" <[email protected]> wrote:
> On Sat, Oct 22, 2016 at 10:44 AM, Edward K. Ream <[email protected]> > wrote: > > > Everything works for me with Python 3.5.2, PyQt version 4.8.7. > > Maybe the problem is with PyQt 5.7... > > > > Furthermore, exceptions are caught properly. > > For example, just now Leo did catch this exception properly, > > Traceback (most recent call last): > File "c:\leo.repo\leo-editor\leo\plugins\graphcanvas.py", line 177, > in <lambda> > u.btnExport.clicked.connect(lambda checked: o.exportGraph()) > File "c:\leo.repo\leo-editor\leo\plugins\graphcanvas.py", line > 1279, in exportGraph > selectedFilter="Images (*.png)", > TypeError: QFileDialog.getSaveFileName(QWidget parent=None, str > caption='', str directory='', str filter='', QFileDialog.Options > options=0): 'selectedFilter' is not a valid keyword argument > > Again, I have not ever seen the behavior that Terry describes. Yep, my observation is equivocal, I /have/ in the past few weeks thought "huh, wouldn't have expected that to crash to console", but I've also been working on the QtDock stuff, fingers in places where exceptions might not be expected to be caught. OTOH graphcanvas hasn't changed, so it's either some specific sensitivity in Lewis's setup (or just that combination of Py / Qt versions that will soon hit others), or something weird like a change in exception handling. 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.
