Laggy cursor

Tim Garrett tim.garrett at utah.edu
Sat Aug 12 17:34:18 UTC 2023


In hindsight, should have anticipated the python was unrelated to speed. Apologies

I’ve minimized applications checking Activity Monitor. Nothing stands out and all other applications work as expected. It’s always just been LyX.

On 12 Aug 2023, at 3:02, Stephan Witt wrote:

> Am 11.08.2023 um 17:09 schrieb Tim Garrett <Tim.Garrett at utah.edu>:
>>
>> Stephan,
>>
>> Unfortunately I spoke too soon. There was improvement, then it slowed to a crawl again. Worse than before if anything. The speed of the cursor is still inversely related to the length of the paragraph.
>
> Frankly, I’m not surprised. I wanted to help to get a working python setup. The speed issue isn’t related to python at all, IMHO.
>
> Interestingly you didn’t have the problem for a short time. The question is: what was changed in that moment.
>
> To get the speed issue solved perhaps you verify the load of your system and watch the running processes with Activity Monitor. Another option is to diagnose your system with e.g. Etrecheck.
>
> Stephan
>
>>
>> Here’s what I have:
>> (base) tgarrett at tims-mbp ~ % python3 -V
>> Python 3.11.4
>> (base) tgarrett at tims-mbp ~ % which python3
>> /usr/local/bin/python3
>>
>> For the PATH prefix in preferences:
>>
>> /Library/TeX/texbin:/usr/texbin:/sw/bin:/sw/sbin:/opt/local/teTeX/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/usr/local/bin
>>
>>
>> Tim
>>
>> On 10 Aug 2023, at 5:27, Stephan Witt wrote:
>>
>>> Am 10.08.2023 um 07:11 schrieb Tim Garrett <Tim.Garrett at utah.edu>:
>>>>
>>>> Thanks. Not sure I did it right, but this is what I did. Added that string to the PATH as follows
>>>>
>>>> /Library/TeX/texbin:/usr/texbin:/sw/bin:/sw/sbin:/opt/local/teTeX/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/Users/tgarrett/opt/anaconda3/bin
>>>
>>> What about adding /Users/tgarrett/opt/anaconda3/condabin ?
>>>
>>> You didn’t answer my question. What source and installation type did you choose to get? I presume you didn’t use the python from python.org but from anaconda.com. And I presume you’ve selected the option to install it for your user only. This setup I wont test for you and I recommend to switch to an installation for all users (aka on a specific disk). I don’t know if it work for you.
>>>
>>> Stephan
>>>
>>>> quit, restarted, reconfigured. Still get the same error message:
>>>>
>>>> The layout file:
>>>> article could not be found. A default textclass with default layouts will be used. LyX will not be able to produce
>>>> correct output.
>>>>
>>>> On 9 Aug 2023, at 23:02, Stephan Witt wrote:
>>>>
>>>>> Am 10.08.2023 um 01:56 schrieb Tim Garrett <Tim.Garrett at utah.edu>:
>>>>>>
>>>>>> Sorry for the confusion but thanks for the help. I have Python 3.8.5 as output from python -V
>>>>>>
>>>>>> Also:
>>>>>>
>>>>>> (base) tgarrett at tims-mbp ~ % which python3
>>>>>> /Users/tgarrett/opt/anaconda3/bin/python3
>>>>>> (base) tgarrett at tims-mbp ~ % python3
>>>>>> Python 3.8.5 (default, Sep  4 2020, 02:22:02)
>>>>>> [Clang 10.0.0 ] :: Anaconda, Inc. on darwin
>>>>>> Type "help", "copyright", "credits" or "license" for more information.
>>>>>>>>>
>>>>>> (base) tgarrett at tims-mbp ~ % echo $PATH
>>>>>> /Users/tgarrett/opt/anaconda3/bin:/Users/tgarrett/opt/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin
>>>>>
>>>>> Every program started by the launch service will not have this PATH setting. That’s the case when you start LyX from the Dock or Finder. You have to add /Users/tgarrett/opt/anaconda3/bin to the PATH prefix in LyX. (Perhaps /Users/tgarrett/opt/anaconda3/condabin is required too.)
>>>>>
>>>>> Did you install the python package from python.org? Last time I’ve tested it this addition wasn’t needed.
>>>>>
>>>>> Stephan
>>>>>
>>>>>> On 9 Aug 2023, at 17:09, Stephan Witt wrote:
>>>>>>
>>>>>>> Am 10.08.2023 um 00:15 schrieb Tim Garrett <Tim.Garrett at utah.edu>:
>>>>>>>>
>>>>>>>> Sorry, it’s what I sent earlier:
>>>>>>>
>>>>>>> Sorry, but no, it isn’t.
>>>>>>>
>>>>>>> That’s the output of the command w/o -V … but anyway. Where is your python3 installed? Perhaps LyX cannot find it.
>>>>>>>
>>>>>>> Stephan
>>>>>>>
>>>>>>>> Python 3.8.5 (default, Sep  4 2020, 02:22:02)
>>>>>>>> [Clang 10.0.0 ] :: Anaconda, Inc. on darwin
>>>>>>>>
>>>>>>>> On 9 Aug 2023, at 15:49, Stephan Witt wrote:
>>>>>>>>
>>>>>>>>> Am 09.08.2023 um 23:47 schrieb Stephan Witt <st.witt at gmx.net>:
>>>>>>>>>>
>>>>>>>>>> Am 09.08.2023 um 21:41 schrieb Tim Garrett <Tim.Garrett at utah.edu>:
>>>>>>>>>>>
>>>>>>>>>>> 13:40:10.630: Reloading configuration...LyX: reconfiguring user directory
>>>>>>>>>>> support/Systemcall.cpp (261): Systemcall: 'python -tt "/Applications/LyX.app/Contents/Resources/configure.py" --with-version-suffix=-2.3 --binary-dir="/Applications/LyX.app/Contents/MacOS/"' did not start!
>>>>>>>>>>> support/Systemcall.cpp (262): error The process failed to start. Either the invoked program is missing, or you may have insufficient permissions to invoke the program.
>>>>>>>>>>> LyX: Done!
>>>>>>>>>>> 13:40:14.373: (reconfigure)Warning: Cite Engine not available
>>>>>>>>>>
>>>>>>>>>> Please, what happens on invoke of
>>>>>>>>>> $ python -V
>>>>>>>>>>
>>>>>>>>>> ???
>>>>>>>>>
>>>>>>>>> … and
>>>>>>>>>
>>>>>>>>> $ which python3
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 9 Aug 2023, at 13:13, Stephan Witt wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Am 09.08.2023 um 20:20 schrieb Tim Garrett <tim.garrett at utah.edu>:
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks for the response!
>>>>>>>>>>>>> I have this so perhaps something else?:
>>>>>>>>>>>>> <PastedImage.png>
>>>>>>>>>>>>
>>>>>>>>>>>> Yes, maybe something else.
>>>>>>>>>>>>
>>>>>>>>>>>> Please, enable file and info messages in messages pane. Rerun reconfigure and present the output here.
>>>>>>>>>>>>
>>>>>>>>>>>> Stephan
>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 9 Aug 2023, at 12:01, Stephan Witt wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> Am 09.08.2023 um 18:50 schrieb Tim Garrett <Tim.Garrett at utah.edu>:
>>>>>>>>>>>>>
>>>>>>>>>>>>> This may have worked!
>>>>>>>>>>>>>
>>>>>>>>>>>>> But in a reconfigure request problem. <PastedImage.png>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Sorry, should know what to do next but it’s been a while. Multiple reconfigures doesn’t fix the problem.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Perhaps you’re on macOS w/o python utility. What’s your OS version?
>>>>>>>>>>>>>
>>>>>>>>>>>>> LyX 2.3.6.2 expects a working python installation which was gone since macOS 12.3.1. Newer versions of LyX will give a proper hint.
>>>>>>>>>>>>>
>>>>>>>>>>>>> You may install python3 from here: https://www.python.org/downloads/macos/
>>>>>>>>>>>>>
>>>>>>>>>>>>> Stephan
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>
>>>>>>>>>>>>> Tim
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 9 Aug 2023, at 10:09, Stephan Witt wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> Am 09.08.2023 um 18:02 schrieb Richard Kimberly Heck <rikiheck at gmail.com>:
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 8/9/23 11:23, Tim Garrett wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Scott,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I’m wondering if there’s something like a factory reset I can do on the settings that is worth trying. Perhaps over the years I’ve adjusted the look and feel to something that is causing problems.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Move your user directory somewhere else, so a new one is generated.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On mac that would be:
>>>>>>>>>>>>> - terminate LyX if actually running
>>>>>>>>>>>>> - use in Finder „Go to Folder“ with the term „Library“ starting at your home directory
>>>>>>>>>>>>> - open Application Support
>>>>>>>>>>>>> - rename the folder LyX-2.3 to e.g. LyX-2.3-2023-08-09
>>>>>>>>>>>>>
>>>>>>>>>>>>> Stephan
>>>>>>>>>>>>>
>>>>>>>>>>>>> Or else launch LyX from the command line with something like:
>>>>>>>>>>>>>
>>>>>>>>>>>>> lyx -userdir /tmp/newuserdir/
>>>>>>>>>>>>>
>>>>>>>>>>>>> But I'd be surprised if anything there caused problems.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Riki
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 9 Aug 2023, at 4:31, Scott Kostyshak wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Tue, Aug 08, 2023 at 03:23:03PM -0600, Tim Garrett wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks again Scott for your response and thoughtful help. I attach the file. I updated LyX to 2.3.7. This has indeed only been a problem in the past couple of years. I’ve sort of tolerated it because I mostly collaborate now rather than writing myself — getting old and rusty. For collaborations I use Overleaf though I still prefer LyX.
>>>>>>>>>>>>>
>>>>>>>>>>>>> In 2001, KLyX changed my life, but because of the top search result! Ewwww
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks, Tim. I can't reproduce with the file you sent so that at least rules out that theory that I had.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Unfortunately I'm not sure how to proceed.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Scott
>>>>>>>>>>>>>
>>>>>>>>>>>>> -- 
>>>>>>>>>>>>> ----------------------------
>>>>>>>>>>>>> Richard Kimberly (Riki) Heck
>>>>>>>>>>>>> Professor of Philosophy
>>>>>>>>>>>>> Brown University
>>>>>>>>>>>>>
>>>>>>>>>>>>> Pronouns: they/them/their
>>>>>>>>>>>>>
>>>>>>>>>>>>> Website: http://rkheck.frege.org/
>>>>>>>>>>>>> Blog: http://rikiheck.blogspot.com/
>>>>>>>>>>>>> Amazon: http://amazon.com/author/richardgheckjr
>>>>>>>>>>>>> Google Scholar: https://scholar.google.com/citations?user=QUKBG6EAAAAJ
>>>>>>>>>>>>> ORCID: http://orcid.org/0000-0002-2961-2663
>>>>>>>>>>>>> Research Gate: https://www.researchgate.net/profile/Richard_Heck
>>>>>>>>>>>>>
>>>>>>>>>>>>> -- 
>>>>>>>>>>>>> lyx-users mailing list
>>>>>>>>>>>>> lyx-users at lists.lyx.org
>>>>>>>>>>>>>
>>>>>>>>>>>>> http://lists.lyx.org/mailman/listinfo/lyx-users
>>>>>>>>>>>>>
>>>>>>>>>>>>> <PastedImage.png>--
>>>>>>>>>>>>> lyx-users mailing list
>>>>>>>>>>>>> lyx-users at lists.lyx.org
>>>>>>>>>>>>>
>>>>>>>>>>>>> http://lists.lyx.org/mailman/listinfo/lyx-users
>>>>>>>>>>>>>
>>>>>>>>>>>>> <PastedImage.png>--
>>>>>>>>>>>>> lyx-users mailing list
>>>>>>>>>>>>> lyx-users at lists.lyx.org
>>>>>>>>>>>>> http://lists.lyx.org/mailman/listinfo/lyx-users
>>>>>>>>>>> -- 
>>>>>>>>>>> lyx-users mailing list
>>>>>>>>>>> lyx-users at lists.lyx.org
>>>>>>>>>>> http://lists.lyx.org/mailman/listinfo/lyx-users
>>>>>>>>>>
>>>>>>>> -- 
>>>>>>>> lyx-users mailing list
>>>>>>>> lyx-users at lists.lyx.org
>>>>>>>> http://lists.lyx.org/mailman/listinfo/lyx-users
>>>>>> -- 
>>>>>> lyx-users mailing list
>>>>>> lyx-users at lists.lyx.org
>>>>>> http://lists.lyx.org/mailman/listinfo/lyx-users
>>>> -- 
>>>> lyx-users mailing list
>>>> lyx-users at lists.lyx.org
>>>> http://lists.lyx.org/mailman/listinfo/lyx-users
>> -- 
>> lyx-users mailing list
>> lyx-users at lists.lyx.org
>> http://lists.lyx.org/mailman/listinfo/lyx-users


More information about the lyx-users mailing list