Hi Félix

I made some progress: one one laptop, I managed to get things running using 
the 'direct install from vix'
approach. My main issue was actually upgrading my python to >3.9 so I could 
use a recent version of Leo...

On my main desktop machine I seem to be having a little more trouble. I am 
already running python 3.10.
After starting/connecting to server etc, when loading a .leo file I get the 
following
(extracted from VSCodium output window):

Thanks & Regards, Jon N

Launching server with command: python3 
/home/jkn/leo-editor/leo/core/leoserver.py --port 32125

Starting LeoBridge Server 1.0.4 (Launch with -h for help)
can not import leo.plugins.importers.occam        # JKN comment - not 
currently relevant I think
can not import leo.plugins.importers.occam
LeoServer: init leoBridge in 0.21 sec.
LeoBridge started at localhost on port: 32125.
Ctrl+c to break
server: User Connected, Total: 1, Limit: 1
Leo 6.7.0, 6.7.0 branch, build 4ef27fec07
2022-09-26 04:42:19 -0500
Python 3.10.6, LeoGui: dummy version
linux


server: Unexpected Exception! 'NoneType' object has no attribute 'frame'
Traceback (most recent call last):
  File "/home/jkn/leo-editor/leo/core/leoserver.py", line 5178, in 
ws_handler
    answer = controller._do_message(d)
  File "/home/jkn/leo-editor/leo/core/leoserver.py", line 4467, in 
_do_message
    result = func(action, param)
  File "/home/jkn/leo-editor/leo/core/leoserver.py", line 4483, in 
_do_server_command
    return func(param)
  File "/home/jkn/leo-editor/leo/core/leoserver.py", line 1193, in open_file
    c = self.bridge.openLeoFile(filename)
  File "/home/jkn/leo-editor/leo/core/leoBridge.py", line 302, in 
openLeoFile
    g.app.windowList.append(c.frame)
AttributeError: 'NoneType' object has no attribute 'frame'


server connection finished.  Total: 0, Limit: 1
Shutting down leoserver
Closing Leo Server
Checking for changed commanders...
Stopped leobridge server

On Thursday, September 29, 2022 at 8:07:10 PM UTC+1 Félix wrote:

> Thanks J^n ! 
>
> Please post a screenshot of vscodium running leointeg if you feel like it! 
> i'm curious to see how other people use it (on various plat form and 
> editors! )
>
> Thanks again! :)
>
> Félix
>
> On Thursday, September 29, 2022 at 2:45:40 AM UTC-4 jkn wrote:
>
>> Thanks Felix, useful info about the server.
>>
>> I think I installed an earlier version 'directly' like you suggest here, 
>> but thought I'd try the 'seamless' method this time round.
>>
>> Happy to give it another go!
>>
>> Regard,s J^n
>>
>>
>> On Thursday, September 29, 2022 at 1:44:30 AM UTC+1 Félix wrote:
>>
>>> There were problems with microsoft's server last night, so you might 
>>> want to retry this.
>>>
>>> Also, you can download the extension itself t 
>>> https://marketplace.visualstudio.com/items?itemName=boltex.leointeg 
>>> use the link on the right (see below "Download Extension") 
>>> [image: Screenshot from 2022-09-28 20-37-43.png]
>>> And then user the command palette Ctrl+shit+P for the command "install 
>>> from vsix"
>>> [image: Screenshot from 2022-09-28 20-40-15.png]
>>> And then browse to the leointeg  VSIX extension file you've just 
>>> downloaded 
>>>
>>> Hope this helps for installing on VScodium! Please share a screenshot 
>>> when using it under this editor if it works! I'd be amazed to see it!!
>>>
>>> Thanks again for trying out LeoInteg and giving feedback!!!
>>>
>>> Félix
>>>
>>> On Wednesday, September 28, 2022 at 10:17:15 AM UTC-4 jkn wrote:
>>>
>>>> Hi Felix
>>>>     do you know if there are any issues in installing LeoInteg with 
>>>> VScodium
>>>> (https://github.com/VSCodium/vscodium,build of VSCode without tracking 
>>>> etc. )?
>>>>
>>>> I am very much a novice with VSCode/Vscodium; I tried CTRL+P and
>>>> "ext install boltex.leointeg", but get an error "Server returned 500"
>>>>
>>>> I have successfully installed a couple of VSCode plugins to VSCode, but 
>>>> I
>>>> don't know how much can be assumed...
>>>>
>>>> Thanks very much, J^n
>>>>
>>>> On Wednesday, September 28, 2022 at 10:55:20 AM UTC+1 Edward K. Ream 
>>>> wrote:
>>>>
>>>>> On Tuesday, September 27, 2022 at 10:39:46 PM UTC-5 Félix wrote:
>>>>>
>>>>> ...The biggest LeoInteg update ever! 
>>>>>>
>>>>>
>>>>>  Congratulations! vs-code updated leoInteg automagically. Everything 
>>>>> looks good.
>>>>>
>>>>> I am going to try leoInteg for my study of ocaml and mypy.
>>>>>
>>>>> Edward
>>>>>
>>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/572f3b89-6e6e-4f5c-9ae1-452a27cf75bdn%40googlegroups.com.

Reply via email to