Closed Newnesi closed 2 years ago
I assumed I had until the next major release to deal with this, but Apple has decided to remove the Python runtime from a current operating system in a minor update. See comments here: https://mjtsai.com/blog/2022/01/27/macos-12-3-beta/
Try the latest beta and let me know if it works.
https://github.com/amaxwell/tlutility/releases/download/1.53b6/TeX.Live.Utility.app-1.53b6.zip
Kia ora
The beta seems to have done most of the job. There is one issue in that the paper size change comes up with an error that it couldn’t be changed but it appears from the log, that it is set to A4 as requested. Log below.
I note also that a few items don’t seem to be ‘forcibly removed’ (immediately below). If an update is selected, they apparently are removed, but if you restart TLU they appear again.
Ngā mihi
Craig
[cid:57CAB84F-CC41-42CE-BC8B-D005DB761B02]
2022-02-02 10:02:53 +0000 Notice +[TLMEnvironment initialize][14537] Welcome to TeX Live Utility 1.53b6, running under Mac OS X Version 12.3 (Build 21E5196i) with 12/12 processors active and 16.0 GB physical memory. 2022-02-02 10:02:53 +0000 Notice +[TLMEnvironment _checkProcessUmask][14537] Process umask = 022 2022-02-02 10:02:53 +0000 Notice +[TLMEnvironment updateEnvironment][14537] Setting up a new environment for /usr/local/texlive/2021… 2022-02-02 10:02:53 +0000 Notice +[TLMEnvironment updatePathEnvironment][14537] Using PATH = "( "/Library/TeX/texbin", "/usr/bin", "/bin", "/usr/sbin", "/sbin" )" 2022-02-02 10:02:53 +0000 Notice +[TLMEnvironment _checkSystemPythonMajorVersion:minorVersion:][14537] Using python at '/Applications/TeX/TeX Live Utility.app/Contents/Frameworks/Python.framework/Versions/3.9/bin/python3' 2022-02-02 10:02:53 +0000 Notice +[TLMEnvironment _checkSystemPythonMajorVersion:minorVersion:][14537] Python version is 3.9.5 (v3.9.5:0a7dcbdb13, May 3 2021, 13:17:02) [Clang 6.0 (clang-600.0.57)] 2022-02-02 10:02:53 +0000 Notice +[TLMEnvironment updateEnvironment][14537] Nothing to update for /usr/local/texlive/2021 2022-02-02 10:02:53 +0000 Notice -[TLMDatabase _downloadDatabaseHead][14537] Checking the repository version. Please be patient. 2022-02-02 10:02:53 +0000 Notice -[TLMDatabase _downloadDatabaseHead][14537] Downloading at least 2048 bytes of tlpdb for a version check… 2022-02-02 10:02:53 +0000 Notice -[TLMDatabase _downloadDatabaseHead][14537] Downloaded 65536 bytes of tlpdb for version check 2022-02-02 10:02:53 +0000 Notice -[TLMDatabase texliveYear][14537] parse_tlpdb.py noted the following problems: skipping bad docfile line 1270 in package actuarialangle: texmf-dist/doc/latex/actuarialangle/README.md de
/Library/TeX/texbin/tlmgr --machine-readable --repository https://www.preining.info/tlgpg/ update --list --all
2022-02-02 10:03:02 +0000 Notice -[TLMOperation main][14537] start load https://www.preining.info/tlgpg/
finish load https://www.preining.info/tlgpg/
2022-02-02 10:03:02 +0000 Notice -[TLMMainWindowController _handleListGPGUpdatesFinishedNotification:][14537] Found 0 tlgpg packages to update from https://www.preining.info/tlgpg/
2022-02-02 10:03:03 +0000 Notice -[TLMOperation main][14537] Successfully executed /Library/TeX/texbin/tlmgr --machine-readable --repository https://ctan.math.illinois.edu/systems/texlive/tlnet update --list --all
2022-02-02 10:03:03 +0000 Notice -[TLMOperation main][14537] start load https://ctan.math.illinois.edu/systems/texlive/tlnet
finish load https://ctan.math.illinois.edu/systems/texlive/tlnet
2022-02-02 10:03:15 +0000 Notice -[TLMMainWindowController papersizeSheetDidEnd:returnCode:contextInfo:][14537] Setting paper size to a4
2022-02-02 10:03:15 +0000 Notice -[TLMAuthorizedOperation main][14537] Checking code signature before running tlu_ipctask as root…
2022-02-02 10:03:15 +0000 Notice /usr/bin/codesign[14537] /Applications/TeX/TeX Live Utility.app/Contents/MacOS/tlu_ipctask: valid on disk
/Applications/TeX/TeX Live Utility.app/Contents/MacOS/tlu_ipctask: satisfies its Designated Requirement
2022-02-02 10:03:15 +0000 Notice -[TLMAuthorizedOperation main][14537] Signature was valid, okay to run tlu_ipctask
2022-02-02 10:03:22 +0000 Notice -[TLMAuthorizedOperation main][14537] Invoking privileged task via AuthorizationExecuteWithPrivileges
2022-02-02 10:03:22 +0000 Notice tlu_ipctask[14840] dropped privileges to user nobody
2022-02-02 10:03:23 +0000 Notice -[TLMAuthorizedOperation setWrapperPID:][14537] tlu_ipctask checking in: tlu_ipctask pid = 14840
2022-02-02 10:03:23 +0000 Notice -[TLMAuthorizedOperation setUnderlyingPID:][14537] tlu_ipctask checking in: pid = 14841 (/Library/TeX/texbin/tlmgr paper a4)
2022-02-02 10:03:23 +0000 Notice tlu_ipctask[14840] tlu_ipctask: child HOME = '/var/root'
2022-02-02 10:03:23 +0000 Notice tlu_ipctask[14840] tlu_ipctask: current HOME = '/var/empty'
2022-02-02 10:03:25 +0000 Notice tlu_ipctask[14840] tlmgr: setting paper size for context to a4: /usr/local/texlive/2021/texmf-config/tex/context/user/cont-sys.tex
2022-02-02 10:03:25 +0000 Notice tlu_ipctask[14840] tlmgr: setting paper size for dvipdfmx to a4: /usr/local/texlive/2021/texmf-config/dvipdfmx/dvipdfmx.cfg
2022-02-02 10:03:25 +0000 Notice tlu_ipctask[14840] tlmgr: setting paper size for dvips to a4: /usr/local/texlive/2021/texmf-config/dvips/config/config.ps
2022-02-02 10:03:25 +0000 Notice tlu_ipctask[14840] tlmgr: setting paper size for pdftex to a4: /usr/local/texlive/2021/texmf-config/tex/generic/tex-ini-files/pdftexconfig.tex
2022-02-02 10:03:25 +0000 Notice tlu_ipctask[14840] tlmgr: setting paper size for psutils to a4: /usr/local/texlive/2021/texmf-config/psutils/paper.cfg
2022-02-02 10:03:25 +0000 Notice tlu_ipctask[14840] tlmgr: setting paper size for xdvi to a4: /usr/local/texlive/2021/texmf-config/xdvi/XDvi
2022-02-02 10:03:26 +0000 Notice tlu_ipctask[14840] Regenerating existing formats, this may take some time ...running fmtutil-sys --refresh --all --no-error-if-no-engine=luajithbtex,luajittex,mfluajit --status-file=/var/folders/3y/m55skfjx3b362p8szh_wfgr00000gw/T/yPjnHJpwIj/2c4oqAio47 ...
2022-02-02 10:03:26 +0000 Warning tlu_ipctask[14840] tlmgr: fmtutil-sys --refresh --all --no-error-if-no-engine=luajithbtex,luajittex,mfluajit --status-file=/var/folders/3y/m55skfjx3b362p8szh_wfgr00000gw/T/yPjnHJpwIj/2c4oqAio47 failed (status -1), output:
2022-02-02 10:03:26 +0000 Warning tlu_ipctask[14840]
2022-02-02 10:03:26 +0000 Warning tlu_ipctask[14840] tlmgr: An error has occurred. See above messages. Exiting.
2022-02-02 10:03:26 +0000 Notice tlu_ipctask[14840]
2022-02-02 10:03:26 +0000 Notice tlu_ipctask[14840] done
2022-02-02 10:03:26 +0000 Notice tlu_ipctask[14840] tlmgr: package log updated: /usr/local/texlive/2021/texmf-var/web2c/tlmgr.log
2022-02-02 10:03:26 +0000 Notice tlu_ipctask[14840] tlmgr: command log updated: /usr/local/texlive/2021/texmf-var/web2c/tlmgr-commands.log
2022-02-02 10:03:26 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][14537] kqueue noted that pid 14841 exited (/Library/TeX/texbin/tlmgr paper a4)
2022-02-02 10:03:26 +0000 Notice tlu_ipctask[14840] child process pid = 14841 exited
2022-02-02 10:03:27 +0000 Notice tlu_ipctask[14840] exit status of pid = 14841 was 2
2022-02-02 10:03:27 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][14537] exit status of pid = 14840 was 2
2022-02-02 10:03:27 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][14537] kqueue noted that tlu_ipctask (pid = 14840) exited with status 2
2022-02-02 10:03:27 +0000 Notice -[TLMMainWindowController _handlePapersizeFinishedNotification:][14537] Failed to change paper size. Error was: (null)Craig Marshall @.**@.>> Phone +64 3 479 7570 http://biochem.otago.ac.nz/craig-marshall/
On 2/02/2022, at 18:28, amaxwell @.**@.>> wrote:
I assumed I had until the next major release to deal with this, but Apple has decided to remove the Python runtime from a current operating system in a minor update. See comments here: https://mjtsai.com/blog/2022/01/27/macos-12-3-beta/https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmjtsai.com%2Fblog%2F2022%2F01%2F27%2Fmacos-12-3-beta%2F&data=04%7C01%7Ccraig.marshall%40otago.ac.nz%7C72898ff60b8f467f614308d9e60cd5f6%7C0225efc578fe4928b1579ef24809e9ba%7C0%7C0%7C637793768249422741%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=x0VnZtyZT40QAhZbq1ygoIiXtWrvaMuvfqwtlrgmXzM%3D&reserved=0
Try the latest beta and let me know if it works.
https://github.com/amaxwell/tlutility/releases/download/1.53b6/TeX.Live.Utility.app-1.53b6.ziphttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Famaxwell%2Ftlutility%2Freleases%2Fdownload%2F1.53b6%2FTeX.Live.Utility.app-1.53b6.zip&data=04%7C01%7Ccraig.marshall%40otago.ac.nz%7C72898ff60b8f467f614308d9e60cd5f6%7C0225efc578fe4928b1579ef24809e9ba%7C0%7C0%7C637793768249422741%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ZNzWt0vQD2EYUz5WXD7g4N4ynarirqCsibK52zOjB5E%3D&reserved=0
— Reply to this email directly, view it on GitHubhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Famaxwell%2Ftlutility%2Fissues%2F124%23issuecomment-1027599582&data=04%7C01%7Ccraig.marshall%40otago.ac.nz%7C72898ff60b8f467f614308d9e60cd5f6%7C0225efc578fe4928b1579ef24809e9ba%7C0%7C0%7C637793768249422741%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=rkwhkoyXcKD%2BU5xeGXttlRYw3M9%2Fs6MzJ1zmrwttWeY%3D&reserved=0, or unsubscribehttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADKYYX2DX47EBFDIGO6RLSDUZC6HNANCNFSM5NK5PJDQ&data=04%7C01%7Ccraig.marshall%40otago.ac.nz%7C72898ff60b8f467f614308d9e60cd5f6%7C0225efc578fe4928b1579ef24809e9ba%7C0%7C0%7C637793768249422741%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=nCOOWIJJMn%2Br7x5ej2ht5yF3Oj99nrkLdUePhq8zavc%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Ccraig.marshall%40otago.ac.nz%7C72898ff60b8f467f614308d9e60cd5f6%7C0225efc578fe4928b1579ef24809e9ba%7C0%7C0%7C637793768249422741%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3iVLBOfwBo4h06IUrGOiPT37AJcpO3PtQjZLQs05D2g%3D&reserved=0 or Androidhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Ccraig.marshall%40otago.ac.nz%7C72898ff60b8f467f614308d9e60cd5f6%7C0225efc578fe4928b1579ef24809e9ba%7C0%7C0%7C637793768249422741%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ZYHQkZL1wXLMB8xYqKSWRm7%2FKwEFzID9m4cp9U4Su%2BI%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>
The forcibly removed packages can happen if tlmgr runs into an error while installing. You can control-click or right-click on the package and tell it to reinstall.
The paper size was set, but it looks like there was an error rebuilding formats. Try rebuilding manually in Terminal: sudo fmtutil-sys --all
I'm running TLU1.52 under MacOS 12.3 Beta (21E5196i) although I think this problem began under final version of 12.2. TLU won't update and throws up errors relating to Python and to gpg. I've enclosed the log below.
MacTeX has been reinstalled from the official distribution but this didn't resolve this issue.
I couldn't find any other instance of this problem involving tlmgr.
Many thanks,
Craig
2022-02-02 03:11:23 +0000 Notice +[TLMEnvironment initialize][81396] Welcome to TeX Live Utility 1.52, running under Mac OS X Version 12.3 (Build 21E5196i) with 12/12 processors active and 16.0 GB physical memory. 2022-02-02 03:11:23 +0000 Notice +[TLMEnvironment _checkProcessUmask][81396] Process umask = 022 2022-02-02 03:11:23 +0000 Notice +[TLMEnvironment updateEnvironment][81396] Setting up a new environment for /usr/local/texlive/2021… 2022-02-02 03:11:23 +0000 Notice +[TLMEnvironment updatePathEnvironment][81396] Using PATH = "( "/Library/TeX/texbin", "/usr/bin", "/bin", "/usr/sbin", "/sbin" )" 2022-02-02 03:11:23 +0000 Notice +[TLMEnvironment _checkSystemPythonMajorVersion:minorVersion:][81396] ERROR Unable to run a Python task: env: python: No such file or directory
2022-02-02 03:11:23 +0000 Notice +[TLMEnvironment updateEnvironment][81396] Nothing to update for /usr/local/texlive/2021 2022-02-02 03:11:23 +0000 Notice -[TLMDatabase _downloadDatabaseHead][81396] Checking the repository version. Please be patient. 2022-02-02 03:11:23 +0000 Notice -[TLMDatabase _downloadDatabaseHead][81396] Downloading at least 2048 bytes of tlpdb for a version check… 2022-02-02 03:11:23 +0000 Notice -[TLMDatabase _downloadDatabaseHead][81396] Downloaded 65536 bytes of tlpdb for version check 2022-02-02 03:11:23 +0000 Notice -[TLMDatabase texliveYear][81396] Parsing the database from this repository failed with the following error: env: python: No such file or directory
2022-02-02 03:11:23 +0000 Notice -[TLMDatabase texliveYear][81396] The database can be viewed with a text editor at "/var/folders/3y/m55skfjx3b362p8szh_wfgr00000gw/T/1D99580B-0B97-4648-B502-7FC57CF1A8C9" 2022-02-02 03:11:23 +0000 Notice -[TLMDatabase packageNamed:][81396] WARNING Requested package 00texlive.config from database without a full download 2022-02-02 03:11:23 +0000 Notice -[TLMDatabase texliveYear][81396] Unable to determine year from 00texlive.config 2022-02-02 03:11:23 +0000 Notice -[TLMEnvironment initWithInstallDirectory:][81396] Failed to determine local TeX Live version information. This is a very bad sign. 2022-02-02 03:11:23 +0000 Notice -[TLMEnvironment _checkForRootPrivileges][81396] Root permission required for installation at /usr/local/texlive/2021 2022-02-02 03:11:23 +0000 Notice +[TLMEnvironment _logEnvironment][81396] Current environment from /usr/bin/env: __CF_USER_TEXT_ENCODING=0x1FC:0x0:0x0 __CFBundleIdentifier=com.googlecode.mactlmgr.tlu CC_FOR_BUILD=no_compiler_found COMMAND_MODE=unix2003 DISPLAY=/private/tmp/com.apple.launchd.DSxRO0FFIy/org.xquartz:0 HOME=/Users/Champsocephalus LaunchInstanceID=72ED6F87-FB2B-4F72-986C-99D841C7349E LOGNAME=Champsocephalus PATH=/Library/TeX/texbin:/usr/bin:/bin:/usr/sbin:/sbin SECURITYSESSIONID=1876f SHELL=/bin/zsh SQLITE_EXEMPT_PATH_FROM_VNODE_GUARDS=/Users/Champsocephalus/Library/WebKit/Databases SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.3s2aVWGNRk/Listeners TMPDIR=/var/folders/3y/m55skfjx3b362p8szh_wfgr00000gw/T/ USER=Champsocephalus XPC_FLAGS=0x0 XPC_SERVICE_NAME=0 2022-02-02 03:11:23 +0000 Notice -[TLMLogWindowController awakeFromNib][81396] Loaded log window controller 2022-02-02 03:11:23 +0000 Notice -[TLMMainWindowController showWindow:][81396] User has chosen to permanently ignore the GPG install alert 2022-02-02 03:11:23 +0000 Notice -[TLMDatabase _reloadFromLocalFile][81396] Reloading local tlpdb from file:///usr/local/texlive/2021/tlpkg/texlive.tlpdb 2022-02-02 03:11:23 +0000 Notice -[TLMDatabase _reloadFromLocalFile][81396] Parsing the database from this repository failed with the following error: env: python: No such file or directory
2022-02-02 03:11:23 +0000 Notice -[TLMDatabase _reloadFromLocalFile][81396] Took 0.04 seconds to reload local tlpdb 2022-02-02 03:11:23 +0000 Notice -[TLMDatabase packageNamed:][81396] WARNING Requested package tlgpg from database without a full download