On Mon, Aug 12, 2013 at 9:53 PM, Terry Brown <[email protected]>wrote:
> Ok, so I don't know how you usually launch Leo, but if you grab > http://www.greygreen.org/leo/leo-editor-latest.zip and unzip that and > launch Leo by double clicking the launchLeo.py script in the unzipped > folder, how many windows open? Just the Leo window, or is there also a > white text on black command line window opened in the background? Yes, the console window in the background is there. If there is such a window, then > - note what text is present in the command line window > The console windows reads: ** isPython3: True Leo 4.11 devel, build 5851, 2013-08-05 02:53:26 -0500 Python 3.3.2, qt version 4.8.4 Windows 6, 1, 7601, 2, Service Pack 1 leoID=John Doe (in C:\Users\User01\.leo) load dir: D:\_PortableApps\Bin\Office & Productivity\PIM\Leo\leo\core global config dir: D:\_PortableApps\Bin\Office & Productivity\PIM\Leo\leo\config home dir: C:\Users\User01 reading settings in D:\_PortableApps\Bin\Office & Productivity\PIM\Leo\leo\confi g\leoSettings.leo reading settings in C:\Users\User01\.leo\workbook.leo > - paste > https://raw.github.com/leo-editor/snippets/master/rich_text_editor.py > into a node > - Ctrl-B run the node > Done. > - Alt-X rich-text-o<tab><enter> - it should complete the 'open' > itself, this is just a check that the code installed properly > Yes, it autocompleted, just as you said. The result from running this command is like I reported in an earlier post: the body pane is shifted to the right half of the screen, and the log pane is moved to the bottom left corner, below the tree pane. > - report any new text in the command line window > Here is the new text: Traceback (most recent call last): File "D:\_PortableApps\Bin\Office & Productivity\PIM\Leo\leo\plugins\qtGui.py" , line 8686, in eventFilter k.masterKeyHandler(event) File "D:\_PortableApps\Bin\Office & Productivity\PIM\Leo\leo\core\leoKeys.py", line 2847, in masterKeyHandler done = k.doMode(event,state,stroke) File "D:\_PortableApps\Bin\Office & Productivity\PIM\Leo\leo\core\leoKeys.py", line 2928, in doMode val = k.callStateFunction(event) # Calls end-command. File "D:\_PortableApps\Bin\Office & Productivity\PIM\Leo\leo\core\leoKeys.py", line 2900, in callStateFunction val = k.state.handler(event) File "D:\_PortableApps\Bin\Office & Productivity\PIM\Leo\leo\core\leoKeys.py", line 2001, in fullCommand k.callAltXFunction(k.mb_event) File "D:\_PortableApps\Bin\Office & Productivity\PIM\Leo\leo\core\leoKeys.py", line 2045, in callAltXFunction func(event) File "D:\_PortableApps\Bin\Office & Productivity\PIM\Leo\leo\core\leoCommands. py", line 1200, in minibufferCallback retval = function(keywords) File "C:\Users\User01\.leo\scriptFile.py", line 38, in rich_text_open g.app.db['ns_layouts']['Rich Text']) File "D:\_PortableApps\Bin\Office & Productivity\PIM\Leo\leo\plugins\nested_sp litter.py", line 1067, in load_layout provided = self.get_provided(i) File "D:\_PortableApps\Bin\Office & Productivity\PIM\Leo\leo\plugins\nested_sp litter.py", line 1127, in get_provided provided = provider.ns_provide(id_) File "C:\Users\User01\.leo\scriptFile.py", line 278, in ns_provide w = RTEEditor(c=self.c) File "C:\Users\User01\.leo\scriptFile.py", line 101, in __init__ style_menu.addItems(self.styles.keys()) TypeError: QComboBox.addItems(list-of-str): argument 1 has unexpected type 'Keys View' I hope this help you in pinpointing the problem. Thanks Dufriz -- 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.
