Hello Thomas,

tbp1...@gmail.com schrieb am Mittwoch, 15. Mai 2024 um 20:57:02 UTC+2:

On Wednesday, May 15, 2024 at 2:33:08 PM UTC-4 viktor....@gmail.com wrote:

Hello Thomas,
[snip]


  File 
"/home/user/PyVE/GitHub/Leo/leo-editor/leo/commands/spellCommands.py", line 
185, in __init__
    g.app.spellDict = DefaultDict().d  # 2024/04/09: bug fix.
                      ^^^^^^^^^^^^^^^

AttributeError: 'DefaultDict' object has no attribute 'd'


Funny, that looks like a bug in the devel branch that was fixed already. 

Strange, but the version of the devel branch you are running is not the 
current one, and I can't even find yours on Github.  The current commit 
is eef303a2d0fc1e41634376058fa5ace2ac9fad95.  Try updating your clone, or 
downloading a zip of the current version of the devel branch and using that 
one.


I did what you said - but - no change : -( - See log !

I'll call it a day for now - and - will restart tomorrow morning ...

With kind regards,

Viktor

### New Log

     user@debian-leo-study-vm:~$ cd PyVE/GitHub/Leo/
    user@debian-leo-study-vm:~/PyVE/GitHub/Leo$ 
    user@debian-leo-study-vm:~/PyVE/GitHub/Leo$ source bin/activate
    (Leo) user@debian-leo-study-vm:~/PyVE/GitHub/Leo$ 
    (Leo) user@debian-leo-study-vm:~/PyVE/GitHub/Leo$ cd leo-editor/
    (Leo) user@debian-leo-study-vm:~/PyVE/GitHub/Leo/leo-editor$ 
    (Leo) user@debian-leo-study-vm:~/PyVE/GitHub/Leo/leo-editor$ git branch
    * devel
    (Leo) user@debian-leo-study-vm:~/PyVE/GitHub/Leo/leo-editor$ 
    (Leo) user@debian-leo-study-vm:~/PyVE/GitHub/Leo/leo-editor$ git pull
    remote: Enumerating objects: 88, done.
    remote: Counting objects: 100% (76/76), done.
    remote: Compressing objects: 100% (19/19), done.
    remote: Total 50 (delta 44), reused 37 (delta 31), pack-reused 0
    Unpacking objects: 100% (50/50), 5.44 KiB | 67.00 KiB/s, done.
    From https://github.com/leo-editor/leo-editor
       fb85027ea..eef303a2d  devel                -> origin/devel
       18f9164ec..01d9dda87  ekr-3871-search-settings -> 
origin/ekr-3871-search-settings
     * [new branch]          ekr-3910-no-fl-ns-plugins -> 
origin/ekr-3910-no-fl-ns-plugins
     * [new branch]          ekr-3912-MacOs-crash -> 
origin/ekr-3912-MacOs-crash
       fb85027ea..eef303a2d  gh-pages             -> origin/gh-pages
    Updating fb85027ea..eef303a2d
    Fast-forward
     leo/config/leoSettings.leo     |   2 +-
     leo/core/leoCache.py           |  28 +-
     leo/core/leoFileCommands.py    |   4 -
     leo/core/leoFrame.py           |   4 +-
     leo/core/leoTokens.py          |  11 +-
     leo/doc/leoAttic.txt           | 115 ++++++
     leo/plugins/free_layout.py     |  33 +-
     leo/plugins/nested_splitter.py |   8 +-
     leo/plugins/qt_frame.py        |   2 +-
     leo/plugins/viewrendered.py    | 837 
+++++++++++++++++++----------------------
     10 files changed, 550 insertions(+), 494 deletions(-)
    (Leo) user@debian-leo-study-vm:~/PyVE/GitHub/Leo/leo-editor$ 
    (Leo) user@debian-leo-study-vm:~/PyVE/GitHub/Leo/leo-editor$ python3 -m 
leo.core.runLeo --version
    Leo 6.7.9-devel, devel branch, build eef303a2d0
    2024-05-14 07:59:14 -0500
    Python 3.11.2
    linux
    (Leo) user@debian-leo-study-vm:~/PyVE/GitHub/Leo/leo-editor$ 
    (Leo) user@debian-leo-study-vm:~/PyVE/GitHub/Leo/leo-editor$ python3 -m 
leo.core.runLeo
    setting leoID from os.getenv('USER'): 'user'
    Leo 6.7.9-devel, devel branch, build eef303a2d0
    2024-05-14 07:59:14 -0500
    Python 3.11.2, PyQt version 6.7.0
    linux
    Can not load session
    Traceback (most recent call last):

      File "/home/user/PyVE/GitHub/Leo/leo-editor/leo/core/leoApp.py", line 
2307, in doPostPluginsInit
        g.app.sessionManager.load_session(c1, aList)

      File "/home/user/PyVE/GitHub/Leo/leo-editor/leo/core/leoSessions.py", 
line 72, in load_session
        g.openWithFileName(fn, gui=g.app.gui, old_c=c)

      File "/home/user/PyVE/GitHub/Leo/leo-editor/leo/core/leoGlobals.py", 
line 3238, in openWithFileName
        return g.app.loadManager.openWithFileName(fileName, gui, old_c)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

      File "/home/user/PyVE/GitHub/Leo/leo-editor/leo/core/leoApp.py", line 
3010, in openWithFileName
        return lm.openExistingLeoFile(file_name, gui, old_c)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

      File "/home/user/PyVE/GitHub/Leo/leo-editor/leo/core/leoApp.py", line 
3209, in openExistingLeoFile
        c = g.app.newCommander(
            ^^^^^^^^^^^^^^^^^^^

      File "/home/user/PyVE/GitHub/Leo/leo-editor/leo/core/leoApp.py", line 
1516, in newCommander
        c = leoCommands.Commands(fileName,
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

      File "/home/user/PyVE/GitHub/Leo/leo-editor/leo/core/leoCommands.py", 
line 165, in __init__
        c.finishCreate()  # Slightly slow.
        ^^^^^^^^^^^^^^^^

      File "/home/user/PyVE/GitHub/Leo/leo-editor/leo/core/leoCommands.py", 
line 467, in finishCreate
        c.frame.log.finishCreate()

      File "/home/user/PyVE/GitHub/Leo/leo-editor/leo/plugins/qt_frame.py", 
line 2598, in finishCreate
        c.spellCommands.openSpellTab()

      File 
"/home/user/PyVE/GitHub/Leo/leo-editor/leo/commands/spellCommands.py", line 
443, in openSpellTab
        self.handler = SpellTabHandler(c, tabName)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^

      File 
"/home/user/PyVE/GitHub/Leo/leo-editor/leo/commands/spellCommands.py", line 
675, in __init__
        self.spellController = DefaultWrapper(c)  # type:ignore
                               ^^^^^^^^^^^^^^^^^

      File 
"/home/user/PyVE/GitHub/Leo/leo-editor/leo/commands/spellCommands.py", line 
185, in __init__
        g.app.spellDict = DefaultDict().d  # 2024/04/09: bug fix.
                          ^^^^^^^^^^^^^^^

    AttributeError: 'DefaultDict' object has no attribute 'd'

    Can not create workbook
    Traceback (most recent call last):

      File "/home/user/PyVE/GitHub/Leo/leo-editor/leo/core/leoApp.py", line 
2321, in doPostPluginsInit
        c1 = lm.openWorkBook()
             ^^^^^^^^^^^^^^^^^

      File "/home/user/PyVE/GitHub/Leo/leo-editor/leo/core/leoApp.py", line 
2365, in openWorkBook
        c = g.openWithFileName(fn, gui=g.app.gui, old_c=None)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

      File "/home/user/PyVE/GitHub/Leo/leo-editor/leo/core/leoGlobals.py", 
line 3238, in openWithFileName
        return g.app.loadManager.openWithFileName(fileName, gui, old_c)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

      File "/home/user/PyVE/GitHub/Leo/leo-editor/leo/core/leoApp.py", line 
3012, in openWithFileName
        return lm.openEmptyLeoFile(file_name, gui, old_c)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

      File "/home/user/PyVE/GitHub/Leo/leo-editor/leo/core/leoApp.py", line 
3167, in openEmptyLeoFile
        c = g.app.newCommander(
            ^^^^^^^^^^^^^^^^^^^

      File "/home/user/PyVE/GitHub/Leo/leo-editor/leo/core/leoApp.py", line 
1516, in newCommander
        c = leoCommands.Commands(fileName,
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

      File "/home/user/PyVE/GitHub/Leo/leo-editor/leo/core/leoCommands.py", 
line 165, in __init__
        c.finishCreate()  # Slightly slow.
        ^^^^^^^^^^^^^^^^

      File "/home/user/PyVE/GitHub/Leo/leo-editor/leo/core/leoCommands.py", 
line 467, in finishCreate
        c.frame.log.finishCreate()

      File "/home/user/PyVE/GitHub/Leo/leo-editor/leo/plugins/qt_frame.py", 
line 2598, in finishCreate
        c.spellCommands.openSpellTab()

      File 
"/home/user/PyVE/GitHub/Leo/leo-editor/leo/commands/spellCommands.py", line 
443, in openSpellTab
        self.handler = SpellTabHandler(c, tabName)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^

      File 
"/home/user/PyVE/GitHub/Leo/leo-editor/leo/commands/spellCommands.py", line 
675, in __init__
        self.spellController = DefaultWrapper(c)  # type:ignore
                               ^^^^^^^^^^^^^^^^^

      File 
"/home/user/PyVE/GitHub/Leo/leo-editor/leo/commands/spellCommands.py", line 
185, in __init__
        g.app.spellDict = DefaultDict().d  # 2024/04/09: bug fix.
                          ^^^^^^^^^^^^^^^

    AttributeError: 'DefaultDict' object has no attribute 'd'

    (Leo) user@debian-leo-study-vm:~/PyVE/GitHub/Leo/leo-editor$ 


-- 
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/eb4b4259-8553-4ca2-9112-d782078b1360n%40googlegroups.com.

Reply via email to