Hi Tim, you have to change your command - lyx2lyx is a folder in Resources:
$ /System/Volumes/Data/Applications/LyX.app/Contents/Resources/lyx2lyx/lyx2lyx -v Contrast\ paper.lyx > /dev/null … In case it’s a python problem the following command and it’s output is of interest: $ /usr/bin/env python --version Python 3.8.13 Stephan > Am 21.08.2022 um 06:06 schrieb Tim Garrett <tim.garr...@utah.edu>: > > Sorry, probably being dense here but this is what I get after finding the > function > > /System/Volumes/Data/Applications/LyX.app/Contents/Resources/lyx2lyx -v > Contrast\ paper.lyx > zsh: permission denied: > /System/Volumes/Data/Applications/LyX.app/Contents/Resources/lyx2lyx > > Thanks for helping out here. Been a LyX user since 2001 when it was KLyX and > this is the first time I’ve seen this. > > Tim > > On 20 Aug 2022, at 3:57, Stephan Witt wrote: > > Am 18.08.2022 um 18:07 schrieb Paul A. Rubin <parubi...@gmail.com>: > > On 8/18/22 11:15, Tim J Garrett wrote: > > Running MacOS Monterrey and getting this error message trying to open old lyx > files as recent as 2016: > > “file.lyx is from an older version of LyX and the lyx2lyx script failed to > convert it.” > > Unclear what to do from online forums. Any advice? I’m not a developer, so > step-by-step would be appreciated. I have tried installing old versions of > lyx but without success. Below is the lyx preamble > > Thanks > > Tim > > #LyX 2.1 created this file. For more info see http://www.lyx.org/ > \lyxformat 474 > \begin_document > \begin_header > \textclass article > \begin_preamble > > \usepackage[left,modulo]{lineno} > \end_preamble > \options agums > \use_default_options false > \maintain_unincluded_children false > \language english > \language_package default > \inputencoding auto > \fontencoding global > \font_roman times > \font_sans default > \font_typewriter default > \font_math auto > \font_default_family default > \use_non_tex_fonts false > \font_sc false > \font_osf false > \font_sf_scale 100 > \font_tt_scale 100 > \graphics default > \default_output_format default > \output_sync 0 > \bibtex_command default > \index_command default > \float_placement h > \paperfontsize 12 > \spacing double > \use_hyperref false > \papersize letterpaper > \use_geometry true > \use_package amsmath 1 > \use_package amssymb 1 > \use_package cancel 1 > \use_package esint 0 > \use_package mathdots 1 > \use_package mathtools 1 > \use_package mhchem 1 > \use_package stackrel 1 > \use_package stmaryrd 1 > \use_package undertilde 1 > \cite_engine natbib > \cite_engine_type authoryear > \biblio_style plainnat > \use_bibtopic false > \use_indices false > \paperorientation portrait > \suppress_date false > \justification true > \use_refstyle 0 > \index Index > \shortcut idx > \color #008000 > \end_index > \leftmargin 1in > \topmargin 1in > \rightmargin 1in > \bottommargin 1in > \secnumdepth 3 > \tocdepth 3 > \paragraph_separation indent > \paragraph_indentation default > \quotes_language english > \papercolumns 1 > \papersides 1 > \paperpagestyle default > \tracking_changes false > \output_changes false > \html_math_output 0 > \html_css_as_file 0 > \html_be_strict false > \end_header > > There does not seem to be any problem with the header. I created an empty LyX > document with it, and the lyx2lyx script had no issues processing it. So the > problem must be in the document body. > > You can try the following. Find the lyx2lyx executable on your system. On > Debian based Linux systems, it defaults to /usr/share/lyx/lyx2lyx/lyx2lyx. I > have no idea where it is on a Mac, so I'll just refer to the equivalent > string as "<whatever>". In a terminal window, run > > <whatever> -v <path to your doc> > > which should print the converted document line by line in the terminal > window. If it gorks, hopefully you will be able to see what it choked on and > possibly an error message, which you can bring back to the list. > > Paul > > Hi Tim, > > do you have any progress with your issue? > > Did you update Monterey recently? Do you have a working Python installation? > > > Stephan > > -- > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users