On Sun, 11 Aug 2013 18:38:50 +0200 dufriz <[email protected]> wrote: > Now I discovered something. When I execute the script, the log pane reports > the following message: > > exception executing script > File "C:\Users\User01\.leo\scriptFile.py", line 3 > from PyQt4 irich-text-openmport QtGui, QtWebKit, QtCore, Qt > ^ > SyntaxError: invalid syntax > -------------------- > line 2: #@+node:newHeadline > * line 3: from PyQt4 irich-text-openmport QtGui, QtWebKit, QtCore, Qt > line 4: from PyQt4.QtCore import Qt as QtConst > line 5: from collections import OrderedDict > > So, it seems that the problem is in the script.
Oh, looks like "rich-text-open" got inserted into your body test, there. "irich-text-openmport" -> "import". Just edit it or grab again from https://raw.github.com/leo-editor/snippets/master/rich_text_editor.py but I think that must have happened after you got the results reported for Alt-X rich-text-open, but it could be stopping you from trying the right-click ... Action button route. 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 http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/groups/opt_out.
