That was the only thing that got printed.  I've deleted everything and done 
a full reinstall and that seems to have done the trick.  I suspect the 
culprit was my PyQt being the incorrect version.

Many thanks.

Kind regards,
Richard Twyning

On Wednesday, October 19, 2022 at 1:17:59 PM UTC+1 [email protected] wrote:

> The printout should have included the exception, according to the code in 
> runLeo.  Does something else get printed before the message that you quoted?
>
> On Wednesday, October 19, 2022 at 7:01:35 AM UTC-4 Edward K. Ream wrote:
>
>> On Wed, Oct 19, 2022 at 1:38 AM Richard Twyning <
>> [email protected]> wrote:
>>
>>
>>> I'm getting...
>>> *** Leo could not be started ***
>>>
>>  ...
>>
>>> Is there anything more specific I can look at that tells me exactly 
>>> what's missing?
>>>
>>
>> Excellent question.
>>
>> The message comes from runLeo.py. I would do the following:
>>
>> - Edit leo/core/runLeo.py in your favorite text editor.
>> - After line 39, insert these two lines (right before the 'try' 
>> statement):
>>
>> import pdb
>> pdb.set_trace()
>>
>> Now invoke `python runLeo.py` from the command line. You should drop 
>> into python's pdb debugger <https://docs.python.org/3/library/pdb.html>.
>>
>> pdb will (eventually) show the exception that caused the message, so you 
>> can just type 'n' until you see the exception.  That may be enough of a 
>> hint.  If not, you can rerun `python runLeo.py`, choosing 's' instead of 
>> 'n' to trace into the import logic.
>>
>> HTH. Please let me know if this strategy doesn't work.
>>
>> 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/a70caa88-38d5-4717-8c4f-f14a43ef75f2n%40googlegroups.com.

Reply via email to