Am Sonntag, dem 09.02.2025 um 18:56 +0000 schrieb José Matos: > Notice that I am amused to write this. :-) > > Supposedly this will remove the ability for this script on python 2, > if the > script is called directly by name. Calling the python interpreter > with the name > of the script later works as usual. > > Is that what you intend?
My reason was that the script stopped working on my box (OpenSuse Tumbleweed) by calling the script directly after they ditched python2. The main problem being that Popen(['evince_backward_search', pdf_file, editor_cmd]) errored reporting that "evince_backward_search" didn't exist (although it was in the path) -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-devel