Hi,
since I am working on Ubuntu Karmic leo can't load the qt gui anymore.
Did I mess up something or is it because of other pyqt4 stuff ?
Btw. when I delete the leoRecentfiles.txt the start of leo ends with
"segmentation fault"
./launchLeo.py --gui=qt
reading settings in /usr/local/src/PYTHON/leo-bzr/trunk/leo/config/
leoSettings.leo
Using menus from leoSettings.leo
reading settings in /usr/local/home/.leo/myLeoSettings.leo
Using menus from myLeoSettings.leo
reading /usr/local/home/.leo/.leoRecentFiles.txt
unexpected exception in g.importFromPath(qtGui)
Traceback (most recent call last):
File "/usr/local/src/PYTHON/leo-bzr/trunk/leo/core/leoGlobals.py",
line 6638, in importFromPath
module = imp.load_module(moduleName,theFile,pathname,description)
File "/usr/local/src/PYTHON/leo-bzr/trunk/leo/plugins/qtGui.py",
line 54, in <module>
from PyQt4 import Qsci
unexpected Exception in g.pr
make sure your sitecustomize.py contains::
sys.setdefaultencoding("utf-8")
Traceback (most recent call last):
File "/usr/local/src/PYTHON/leo-bzr/trunk/leo/core/leoGlobals.py",
line 3848, in pr
sys.stdout.write(s+'\n')
UnicodeEncodeError: 'ascii' codec can't encode characters in position
57-65: ordinal not in range(128)
pr:
<module>,run,doPrePluginsInit,createSpecialGui,createQtGui,loadOnePlugin,importFromPath,es_exception
Can not import qtGui from plugin qtGui
can not load enabled plugin: qtGui
loaded plugin: tkGui
image.py: can not import ImageTk
opening default_leo_file: /Users/sz93814/.leo/workbook.leo
@enabled-plugins found in myLeoSettings.leo
can not load enabled plugin: image
best
Stefan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---