The error that counts here is 

no command function for 'layout-restore-default'

I wasn't clear enough, I think.  The script I sent can't work on its own. I 
meant the one new node in the new outline  to replace the node of the same 
name in the @settings tree of the Layouts Demo outline.  Then Leo would 
have to be restarted.  If you did it this way already then I'm at a loss.

Once the change has been made. if the demo still produces the same error, 
check what layout commands you do have.  Go into the minibuffer and type 
*layout<TAB>.* Here is what I get:

   layout-big-tree
   layout-initialize
   layout-make-tabbed-body-pane
   layout-open-rpcalc-in-tabbed-body
  * layout-restore-default*
   layout-swap-nav-panel
   layout-toggle-vr-in-split-main
   layout-vr-to-tabbed-body
   layout-vr3-to-tabbed-body

On Wednesday, September 4, 2024 at 12:31:37 PM UTC-4 viktor....@gmail.com 
wrote:

> Hello Thomas,
>
> tbp1...@gmail.com schrieb am Mittwoch, 4. September 2024 um 15:48:29 
> UTC+2:
>
> I can't help with the missing dictionaries.  That's one of those 
> behind-the-scenes missing libraries and I haven't seen this one before.  I 
> haven't gotten it on my own Ubuntu VM so far.  I will test the Layout Demo 
> on some of my Linux VMs soon.
>
> I do have an update to the big-tree script that will create a VR instance 
> using either the new or old methods (tested on Windows so far).  It's 
> attached.
>
>
> I have re-checked that I am FULLY up-to-date with Leo's devel branch. - I 
> am ;-)
>
> I tried your updated outline again in the Fedora 40 VM - and - still see a 
> traceback - See attached log:
>
> With kind regards,
>
> Viktor
>
> ###
>
>     no command function for 'layout-restore-default'
>     doCommandByName 
> new_cmd_wrapper,executeScript,executeScriptHelper,<module>
>     getVr "c" or "event" kwarg required 
> new_cmd_wrapper,executeScript,executeScriptHelper,<module>
>
>     exception executing script
>     Traceback (most recent call last):
>
>       File 
> "/home/user/PyVE/GitHub/Leo/leo-editor/leo/core/leoCommands.py", line 1214, 
> in executeScript
>         c.executeScriptHelper(args, define_g, define_name, namespace, 
> script)
>
>       File 
> "/home/user/PyVE/GitHub/Leo/leo-editor/leo/core/leoCommands.py", line 1259, 
> in executeScriptHelper
>         exec(compile(script, scriptFile, 'exec'), d)
>
>       File "/home/user/.leo/scriptFile.py", line 47, in <module>
>         widget.setParent(None)
>         ^^^^^^^^^^^^^^^^
>
>
>     AttributeError: 'NoneType' object has no attribute 'setParent'
>
>     --------------------
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/804066ac-4112-4065-9008-a393b79e7ec2n%40googlegroups.com.

Reply via email to