Re: leo traceback python 3.4.2

2014-10-09 Thread lewis
The reason for the problem was that I had installed python-3.4.2.msi and not python-3.4.2.amd64.msi This has reminded me how much I dislike websites which decide which download is right for you! Lewis -- You received this message because you are subscribed to the Google Groups "leo-editor" gr

QPainter error on OSX

2014-10-09 Thread pmmagic
Hi All, I've been a long time on and off again user of Leo. My main impediment to consistent use has been variable cross-platform support, especially on OSX. With PyQT well supported in recent Anaconda python distributions I've been interested in trying to make Leo part of my workflow again.

Re: A Leo pep8 tool?

2014-10-09 Thread Edward K. Ream
On Wed, Oct 8, 2014 at 2:23 PM, Matt Wilkie wrote: > Yes please. I'd like to conform to pep8 as closely as possible. I haven't > been programming long enough to have adopted strong differing preferences. My preference have evolved, usually in the direction of pep 8. There are several areas of p

Re: QPainter error on OSX

2014-10-09 Thread 'Terry Brown' via leo-editor
On Thu, 9 Oct 2014 06:27:32 -0700 (PDT) pmma...@gmail.com wrote: > Hi All, > > I've been a long time on and off again user of Leo. My main > impediment to consistent use has been variable cross-platform > support, especially on OSX. > > With PyQT well supported in recent Anaconda python distrib

Re: QPainter error on OSX

2014-10-09 Thread pmmagic
On Thursday, October 9, 2014 11:31:24 AM UTC-4, Terry wrote: > > On Thu, 9 Oct 2014 06:27:32 -0700 (PDT) > pmm...@gmail.com wrote: > > > Hi All, > > > > I've been a long time on and off again user of Leo. My main > > impediment to consistent use has been variable cross-platform > > suppor

Re: A Leo pep8 tool?

2014-10-09 Thread Matt Wilkie
I'm happy to follow local convention, insofar as I notice and understand them, please do feel free to point out variances; I'm always learning. ;-) -matt On Thu, Oct 9, 2014 at 7:52 AM, Edward K. Ream wrote: > On Wed, Oct 8, 2014 at 2:23 PM, Matt Wilkie wrote: > > > Yes please. I'd like to c

Re: QPainter error on OSX

2014-10-09 Thread 'Terry Brown' via leo-editor
On Thu, 9 Oct 2014 08:51:52 -0700 (PDT) pmma...@gmail.com wrote: > Hi Terry, > > Thanks for the fast response. I just pulled the latest code from > GitHub. Here's what my log window now says: Ok, thanks for testing that, it does confirm that the problem was in the obvious place, but I'm not real

Re: QPainter error on OSX

2014-10-09 Thread 'Terry Brown' via leo-editor
On Thu, 9 Oct 2014 06:27:32 -0700 (PDT) pmma...@gmail.com wrote: > pyqt 4.10.4 py27_0 > -- > file name : pyqt-4.10.4-py27_0.tar.bz2 > name: pyqt > version : 4.10.4 p.s. I assume there's no easy option to use Qt 5? Not a definite fix, but worth trying if it's easy.

Re: QPainter error on OSX

2014-10-09 Thread 'Terry Brown' via leo-editor
On Thu, 9 Oct 2014 11:50:19 -0500 "'Terry Brown' via leo-editor" wrote: > p.s. I assume there's no easy option to use Qt 5? > > Not a definite fix, but worth trying if it's easy. But before you try that it looks like there might be some things to explore with QImage vs QPixmap and GIF vs PNG...

Re: QPainter error on OSX

2014-10-09 Thread 'Terry Brown' via leo-editor
On Thu, 9 Oct 2014 12:02:31 -0500 "'Terry Brown' via leo-editor" wrote: > On Thu, 9 Oct 2014 11:50:19 -0500 > "'Terry Brown' via leo-editor" wrote: > > > p.s. I assume there's no easy option to use Qt 5? > > > > Not a definite fix, but worth trying if it's easy. > > But before you try that it

Re: QPainter error on OSX

2014-10-09 Thread pmmagic
Hi Terry, Thanks for giving it a shot. Unfortunately, the error type changed but I'm still getting a QPainter error. QPainter::begin: Paint device returned engine == 0, type: 3 Failed to init. painter for icon QPainter::end: Painter not active, aborted reading settings in /Users/pmagwene/tmp/le

Re: QPainter error on OSX

2014-10-09 Thread 'Terry Brown' via leo-editor
On Thu, 9 Oct 2014 12:22:09 -0700 (PDT) pmma...@gmail.com wrote: > In desperation I installed Python3 and Qt/PyQT from Homebrew and it > worked! Great. The latest changes seem to have broken PyQt 4.7, so I'm wondering if you'd mind trying https://github.com/leo-editor/leo-editor/archive/master

Re: QPainter error on OSX

2014-10-09 Thread pmmagic
On Thursday, October 9, 2014 3:35:20 PM UTC-4, Terry wrote: > > On Thu, 9 Oct 2014 12:22:09 -0700 (PDT) > pmm...@gmail.com wrote: > > > In desperation I installed Python3 and Qt/PyQT from Homebrew and it > > worked! > > Great. The latest changes seem to have broken PyQt 4.7, so I'm > wonderi

Re: QPainter error on OSX

2014-10-09 Thread 'Terry Brown' via leo-editor
On Thu, 9 Oct 2014 12:54:17 -0700 (PDT) pmma...@gmail.com wrote: > Terry, > > I can confirm that Homebrew Python3 with PyQt 4.11.1 works fine on > the master from 2 days ago. Ok, so if we drop the changes from QPixmap to QImage which somewhat surprisingly breaks 4.7, that works for you now becau

Re: QPainter error on OSX

2014-10-09 Thread pmmagic
Just to confirm. Python3 with PyQT 4.11.1 works with all recent builds, utilizing either QPixmap and Qimage. This is what I'll probably use for my day-to-day needs. Anaconda Python 2.7 with PyQT 5.3.1 also works with recent builds as long as several plugins that assume PyQt4 are disabled. Than

who has the idea about the missing "icon box" before node in the outline pane?

2014-10-09 Thread HaveF
Hi, all, I don't know when my icon boxes are lost. I have tried to remove my .leo dir for reset my setting, but have no success. If I add task property to the node, the relevant icon can appear, but I still can not see the icon box before node in the outline pane. What can I do now? Thanks! --

Re: who has the idea about the missing "icon box" before node in the outline pane?

2014-10-09 Thread HaveF
I find the reason, but don’t know what to do, reinstall qt? QPainter::begin: Paint device returned engine == 0, type: 3 Failed to init. painter for icon QPainter::end: Painter not active, aborted QPainter::begin: Paint device returned engine == 0, type: 3 Failed to init. painter for icon QPainte

Re: who has the idea about the missing "icon box" before node in the outline pane?

2014-10-09 Thread 'Terry Brown' via leo-editor
On Thu, 9 Oct 2014 19:50:45 -0700 (PDT) HaveF wrote: > > > I find the reason, but don’t know what to do, reinstall qt? This seems to be exactly the problem discussed in this thread, from earlier today: https://groups.google.com/forum/#!topic/leo-editor/lH5n1M3s3W8 So maybe just installing the

Re: who has the idea about the missing "icon box" before node in the outline pane?

2014-10-09 Thread HaveF
Very interesting. Paul: I've been a long time on and off again user of Leo. Anaconda ... pull code from github This is exactly what I have done except I’m in windows. QPainter::begin: Paint device returned engine == 0, type: 3 Failed to init. painter for icon QPainter::end: Painter not activ