Today I've updated Leo to the latest current devel version in GitHub:

Leo 5.8.1 devel, build 20181204214531, Tue Dec  4 21:45:31 PST 2018
Git repo info: branch = devel, commit = 09f59c3537f8
Python 3.6.2, PyQt version 5.6.2
Windows 10 AMD64 (build 10.0.17134) SP0



... and then tried to run the browser GUI version with the command:

python launchLeo.py --gui=browser



But it produced the following error message (in a popup):

[image: LeoWapp_Webruntime_error_message.png]


Any advice will be much appreciated. Tell me if you prefer that I create a 
GitHub issue for this.



This is the whole error log (ignore the reference to "Leo-5.4" appearing in 
the path, it *is* in fact the current devel version):


[I 22:52:04 flexx.app] Asset store collected 2 new modules.

use_ace True

Leo 5.8.1 devel, build 20181204214531, Tue Dec  4 21:45:31 PST 2018
Traceback (most recent call last):

  File "c:\dev\Leo-5.4\leo\core\leoPlugins.py", line 519, in 
loadOnePluginHelper
    __import__(moduleName)

  File "c:\dev\Leo-5.4\leo\plugins\attrib_edit.py", line 427, in <module>
    class ListDialog(QtWidgets.QDialog):

NameError: name 'QtWidgets' is not defined

Traceback (most recent call last):

  File "c:\dev\Leo-5.4\leo\core\leoPlugins.py", line 519, in 
loadOnePluginHelper
    __import__(moduleName)

  File "c:\dev\Leo-5.4\leo\plugins\attrib_edit.py", line 427, in <module>
    class ListDialog(QtWidgets.QDialog):

NameError: name 'QtWidgets' is not defined

registerCommand redefining dehoist <function 
CommanderCommand.__call__.<locals>.commander_command_wrapper at 0x0654B6F0> 
-> <function chapterHoist.createDehoistButton.<locals>.dehoistCallback at 
0x081DE858>
Leo Log Window
Leo 5.8.1 devel, build 20181204214531, Tue Dec  4 21:45:31 PST 2018
Git repo info: branch = devel, commit = 09f59c3537f8
Python 3.6.2, LeoGui: dummy version
Windows 10 AMD64 (build 10.0.17134) SP0
isPython3: True
current dir: c:/dev/Leo-5.4
load dir: C:/dev/Leo-5.4/leo/core
global config dir: C:/dev/Leo-5.4/leo/config
home dir: C:/Users/sysadmin
reading settings in C:/dev/Leo-5.4/leo/config/leoSettings.leo
reading settings in C:/Users/sysadmin/.leo/myLeoSettings.leo
Traceback (most recent call last):

  File "c:\dev\Leo-5.4\leo\core\leoPlugins.py", line 519, in 
loadOnePluginHelper
    __import__(moduleName)

  File "c:\dev\Leo-5.4\leo\plugins\attrib_edit.py", line 427, in <module>
    class ListDialog(QtWidgets.QDialog):

NameError: name 'QtWidgets' is not defined

Plugin leo.plugins.nodetags not loaded.
http serving enabled at 127.0.0.1:8130
reading settings in C:/Users/sysadmin/.leo/workbook.leo
Traceback (most recent call last):

  File "c:\dev\Leo-5.4\leo\core\leoPlugins.py", line 519, in 
loadOnePluginHelper
    __import__(moduleName)

  File "c:\dev\Leo-5.4\leo\plugins\attrib_edit.py", line 427, in <module>
    class ListDialog(QtWidgets.QDialog):

NameError: name 'QtWidgets' is not defined

Plugin leo.plugins.nodetags not loaded.
may be open in another Leo:
C:/Users/sysadmin/.leo/workbook.leo
read 1 files in 0.02 seconds
read outline in 0.02 seconds

[I 22:52:05 flexx.app] Serving apps at http://localhost:49190/
[I 22:52:05 flexx.app] Asset store collected 24 new modules.

Running from --gui=browser

(AceWrapper: body) setAllText set_body_text_after_select 'By convention, a 
Startup node contains settings, scripts,...(101)\n'
set_focus (gui): unknown widget <StringTextWrapper: 136013424 body> 
init,selectPosition,select,select,outerUpdate,set_focus
Runtime names should be "app", "browser" or end with "-app" or "-browser", 
not 'webruntime'
Traceback (most recent call last):
  File "launchLeo.py", line 8, in <module>
    leo.core.runLeo.run()
  File "c:\dev\Leo-5.4\leo\core\runLeo.py", line 72, in run
    g.app.loadManager.load(fileName, pymacs)
  File "c:\dev\Leo-5.4\leo\core\leoApp.py", line 2294, in load
    g.app.gui.runMainLoop()
  File "c:\dev\Leo-5.4\leo\plugins\leoflexx.py", line 1129, in runMainLoop
    flx.launch(LeoBrowserApp, runtime)
  File "C:\dev\Anaconda3\lib\site-packages\flexx\app\_funcs.py", line 229, 
in launch
    return a.launch(runtime, **runtime_kwargs)
  File "C:\dev\Anaconda3\lib\site-packages\flexx\app\_app.py", line 167, in 
launch
    session._runtime = webruntime.launch(url, runtime=runtime, 
**runtime_kwargs)
  File "C:\dev\Anaconda3\lib\site-packages\webruntime\__init__.py", line 
200, in launch
    raise ValueError('Could not detect a suitable backend among %r.' % 
runtimes)
ValueError: Could not detect a suitable backend among ['webruntime'].


-- 
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
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