gdb trace:
chris@quest ~/Working/leo/leo-editor $ gdb python3
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from python3...(no debugging symbols found)...done.
(gdb) run ./launchLeo.py
Starting program: /usr/bin/python3 ./launchLeo.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
setting leoID from os.getenv('USER'): 'chris'
reading settings in /working/leo/leo-editor/leo/config/leoSettings.leo
reading settings in /home/chris/.leo/myLeoSettings.leo
[New Thread 0x7fffd383e700 (LWP 22616)]
[New Thread 0x7fffd1001700 (LWP 22617)]
[New Thread 0x7fffc7e38700 (LWP 22618)]
reading settings in /home/chris/Documents/myLife.leo
** isPython3: True
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
[New Thread 0x7fffc6a43700 (LWP 22619)]
reading settings in /home/chris/Working/python/programmingpython.leo
[New Thread 0x7fffc5502700 (LWP 22620)]
QCoreApplication::exec: The event loop is already running
[Thread 0x7fffd383e700 (LWP 22616) exited]
[Thread 0x7fffd1001700 (LWP 22617) exited]
[Thread 0x7fffc7e38700 (LWP 22618) exited]
[Thread 0x7fffc5502700 (LWP 22620) exited]
[Thread 0x7ffff7fc5700 (LWP 22612) exited]
[Inferior 1 (process 22612) exited with code 0377]
(gdb) backtrace
No stack.
(gdb) quit
chris@quest ~/Working/leo/leo-editor $
On Wednesday, September 14, 2016 at 5:06:13 PM UTC-7, Chris George wrote:
>
> 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.