On Friday, September 30, 2022 at 3:59:21 PM UTC-5 Félix wrote:

> you're right. I'll try to discuss this with Edward to make leoBridge more 
> robust. (if the error is really about leobridge not handling something 
> correctly under python 3.10.x)


I've just taken a look at leoBridge.py.  The error likely arises because 
the bridge is trying to open a non-existent file. In that case, 
g.openWithFileName will return None.

PR #2900 <https://github.com/leo-editor/leo-editor/pull/2900>prints an 
error message (instead of crashing) if the file does not exist.  I have not 
tested the code.

Please test the ekr-server-error-message 
<https://github.com/leo-editor/leo-editor/tree/ekr-server-error-message> 
branch and report whether the new code reports a missing file.  Thanks.

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/e850c295-658f-4462-a4f3-9649c47fb1cbn%40googlegroups.com.

Reply via email to