Hi there. I'm trying to run Leo 4.11-final on a Mac (10.11.1) on Python 2.7.
I followed the instructions here: http://leoeditor.com/installing.html#installing-leo-on-macos-10-7-lion-and-later I am using the system python (2.7) because that's what brew seems to want. I was able to install qt/pyqt ok: $ python [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.1)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import PyQt4 >>> But I can't run leo: $ python launchLeo.py Traceback (most recent call last): File "launchLeo.py", line 8, in <module> leo.core.runLeo.run() File "/Users/mjf/Downloads/Leo-4.11-final/leo/core/runLeo.py", line 81, in run g.app.loadManager.load(fileName,pymacs) File "/Users/mjf/Downloads/Leo-4.11-final/leo/core/leoApp.py", line 1903, in load ok = lm.doPostPluginsInit() File "/Users/mjf/Downloads/Leo-4.11-final/leo/core/leoApp.py", line 2260, in doPostPluginsInit c1 = lm.openEmptyWorkBook() File "/Users/mjf/Downloads/Leo-4.11-final/leo/core/leoApp.py", line 2314, in openEmptyWorkBook c = lm.loadLocalFile(fn,gui=g.app.gui,old_c=None) File "/Users/mjf/Downloads/Leo-4.11-final/leo/core/leoApp.py", line 2510, in loadLocalFile c = lm.openFileByName(fn,gui,old_c,previousSettings) File "/Users/mjf/Downloads/Leo-4.11-final/leo/core/leoApp.py", line 2561, in openFileByName lm.initWrapperLeoFile(c,fn) File "/Users/mjf/Downloads/Leo-4.11-final/leo/core/leoApp.py", line 2668, in initWrapperLeoFile c.chapterController.finishCreate() File "/Users/mjf/Downloads/Leo-4.11-final/leo/core/leoChapters.py", line 62, in finishCreate cc.selectChapterByName('main',collapse=False) File "/Users/mjf/Downloads/Leo-4.11-final/leo/core/leoChapters.py", line 431, in selectChapterByName cc.selectChapterByNameHelper(chapter,collapse=collapse) File "/Users/mjf/Downloads/Leo-4.11-final/leo/core/leoChapters.py", line 465, in selectChapterByNameHelper chapter.select() File "/Users/mjf/Downloads/Leo-4.11-final/leo/core/leoChapters.py", line 900, in select self.chapterSelectHelper(w,selectEditor) File "/Users/mjf/Downloads/Leo-4.11-final/leo/core/leoChapters.py", line 947, in chapterSelectHelper c.redraw_now(p) File "/Users/mjf/Downloads/Leo-4.11-final/leo/core/leoCommands.py", line 7294, in redraw p2 = c.frame.tree.redraw(p) File "/Users/mjf/Downloads/Leo-4.11-final/leo/plugins/baseNativeTree.py", line 155, in full_redraw self.drawTopTree(p) File "/Users/mjf/Downloads/Leo-4.11-final/leo/plugins/baseNativeTree.py", line 242, in drawTopTree self.drawTree(p) File "/Users/mjf/Downloads/Leo-4.11-final/leo/plugins/baseNativeTree.py", line 257, in drawTree item = self.drawNode(p,parent_item) File "/Users/mjf/Downloads/Leo-4.11-final/leo/plugins/baseNativeTree.py", line 215, in drawNode self.drawItemIcon(p,item) File "/Users/mjf/Downloads/Leo-4.11-final/leo/plugins/baseNativeTree.py", line 1210, in drawItemIcon icon = self.getIcon(p) File "/Users/mjf/Downloads/Leo-4.11-final/leo/plugins/qtGui.py", line 6403, in getIcon return self.getCompositeIconImage(p,val) File "/Users/mjf/Downloads/Leo-4.11-final/leo/plugins/qtGui.py", line 6435, in getCompositeIconImage pix.fill(QtGui.QColor(None)) # transparent fill, default it random noise TypeError: arguments did not match any overloaded call: QColor(Qt.GlobalColor): argument 1 has unexpected type 'NoneType' QColor(int): too many arguments QColor(QVariant): argument 1 has unexpected type 'NoneType' QColor(): argument 1 has unexpected type 'NoneType' QColor(int, int, int, int alpha=255): argument 1 has unexpected type 'NoneType' Any tips? Perhaps a version mismatch? -- 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 http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
