This problem is not related to any plugin, just Leo.

I placed this tutorial script into an @clean node and hit Ctrl-B to run it. 
Leo exited and closed the command prompt and didn't execute the script. 
Running the file from the command prompt with python3 executed it perfectly.

>
> #!/usr/bin/python3

# -*- coding: utf-8 -*-


import sys

from PyQt5.QtWidgets import QApplication, QWidget



if __name__ == '__main__':

app = QApplication(sys.argv)


w = QWidget()

w.resize(250, 150)

w.move(300, 300)

w.setWindowTitle('Simple')

w.show()

sys.exit(app.exec_())




Chris

On Wednesday, September 14, 2016 at 7:24:02 AM UTC-7, Chris George wrote:
>
> I recently started from scratch with my Linux box. I have installed the 
> latest Linux Mint KDE from scratch, including clearing all of my .files and 
> .directories from my home folder.
>
> I installed Leo from git, Qt5 from Riverbank, and python3, sphinx, 
> pyenchant, docutils, pandoc, etc. from my distribution. 
>
> From the Leo log window.
>
> Leo 5.4-devel, build 20160722143100, Fri, Jul 22, 2016  2:31:00 PM
>>
>> Git repo info: branch = master, commit = ded4858f6341
>>
>> Python 3.5.2, PyQt version 5.7.0
>> linux
>>
>
> Leo itself appears to work just fine with Python 3.5.2 and PyQt 5.7. I 
> read through the documentation again and decided to work my way through the 
> plugins to see which ones it made sense to have loaded in my environment. 
> The iPython interpreter would be nice, but I went with the standard one for 
> starters. This led me to a Segmentation Fault. This morning I started 
> testing other plugins. 
>
> viewrendered3 came up first and immediately failed.
>
>
> exception executing command
>
> Traceback (most recent call last):
>
>
>   File "/working/leo/leo-editor/leo/core/leoCommands.py", line 5348, in 
> doCommand
>     val = command(event)
>
>
>   File "/working/leo/leo-editor/leo/plugins/plugins_menu.py", line 279, in 
> about
>     c.putHelpFor(msg, short_title=self.name)
>
>
>   File "/working/leo/leo-editor/leo/core/leoCommands.py", line 6776, in 
> putHelpFor
>     vr.show_scrolled_message(tag='Apropos', kw=kw)
>
>
>   File "/working/leo/leo-editor/leo/plugins/viewrendered3.py", line 367, in 
> show_scrolled_message
>     'show-scrolled-message': True,
>
>
>   File "/working/leo/leo-editor/leo/plugins/viewrendered3.py", line 677, in 
> update
>     pc.update_rst(s, keywords, force_rst=True)
>
>
>   File "/working/leo/leo-editor/leo/plugins/viewrendered3.py", line 986, in 
> update_rst
>     w = pc.html_class(pc)
>
>
>   File "/working/leo/leo-editor/leo/plugins/viewrendered3.py", line 1266, in 
> __init__
>     self.view = self.init_view()
>
>
>   File "/working/leo/leo-editor/leo/plugins/viewrendered3.py", line 1274, in 
> init_view
>     mf = view.page().mainFrame()
> AttributeError: 'QWebEnginePage' object has no attribute 'mainFrame'
>
> I am willing to continue testing plugins and documenting the results, but 
> I guess I need to know if there is any point. Will Leo's plugins be 
> supporting these latest versions of python and PyQt5 anytime in the near 
> future? Will anyone with more programming experience than I be willing to 
> work through the updates required? I would like to work with a programmer 
> on this simply because I lack the skills now and need to learn.
>
> Chris
>  
>

-- 
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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to