I apologize if this is bad list etiquette, giving this post a bump by replying to myself. However, my alternative is to give up and just not use Leo, since it just plain doesn't launch on my machine.
That will be my course of action if no one can solve my problem; I won't bump again. But that would be disappointing, so I'm giving this list one more try. I also suspect that I must be doing something unusual wrong, since I'd be surprised if a product in version 4 truly has a basic "can't launch" problem, except in rare cases (mine?). Thank you in advance if anyone can help. Nathan On Dec 31 2009, 6:36 pm, Nathan Carter <[email protected]> wrote: > Dear Leo developers, > > I have downloaded Leo onto my Mac OS 10.6 MacBook Pro. I posted this > question to the leo-editor-users list, but the response I got > suggested that this was a better forum, so I'm trying here. My > original thread at the following URL erroneously said OS 10.5; sorry > about that. > http://groups.google.com/group/leo-editor-users/browse_thread/thread/... > > I have installed SIP and PyQt4 and Leo according to its installation > instructions. But every time I run Leo I get the errors below about > an inability to find Qt. (I have had Qt4 on my system for some time, > before installing SIP or PyQt4. I assume PyQt4 wouldn't build unless > Qt were there anyway?) > > qtGui.py: can not import Qt > > qtGui.py: can not import Qt > > qtGui.py: can not import Qt > > Traceback (most recent call last): > File "launchLeo.py", line 8, in <module> > leo.core.runLeo.run() > File "/Users/nathan/Downloads/Leo-4-6-2-final/leo/core/ > runLeo.py", > line 95, in run > ok = doPostPluginsInit(args,fn,relFn,script) > File "/Users/nathan/Downloads/Leo-4-6-2-final/leo/core/ > runLeo.py", > line 323, in doPostPluginsInit > g.app.createQtGui(fileName='core') > File "/Users/nathan/Downloads/Leo-4-6-2-final/leo/core/ > leoApp.py", > line 345, in createQtGui > import leo.plugins.qtGui > File "/Users/nathan/Downloads/Leo-4-6-2-final/leo/plugins/ > qtGui.py", line 70, in <module> > class QTextBrowserSubclass (QtGui.QTextBrowser): > NameError: name 'QtGui' is not defined > > I can run Leo with --gui=tk, but of course it doesn't look very good > at all, whereas I suspect a Qt gui will be much better. (I use Qt to > build cross-platform software myself, and it looks far better than the > tk results I got for Leo.) > > Anyone know how I can get Leo running with the Qt gui on OS 10.6? > Thank you and happy new year! > > Nathan
-- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
