[tlu] TLU Crashes under Latest Python
Adam R. Maxwell
amaxwell at mac.com
Tue Mar 9 19:55:42 CET 2021
Craig,
Send me the TLU log output offlist. I'd like to see how you managed to trick TLU into using an unsupported version of Python. It's only tested with the versions that Apple ships.
thanks,
Adam (Top-posting because Apple webmail is broken)
On March 9, 2021 at 10:43 AM, "Craig A. Rich" <carich at cpp.edu> wrote:
Apparently, TLU calls a Python method name writePlistToBytes in package plistlib. It has been obsolete for a while (use dumps instead), but was removed in Python 3.9, causing TLU to crash using the latest Python. Here’s the message logged:
Parsing the database from this repository failed with the following error: Traceback (most recent call last):
File "/Applications/TeX/TeX Live Utility.app/Contents/MacOS/parse_tlpdb.py", line 476, in <module>
_save_as_plist(all_packages, options.output_path)
File "/Applications/TeX/TeX Live Utility.app/Contents/MacOS/parse_tlpdb.py", line 419, in _save_as_plist
bytes_output = plistlib.writePlistToBytes(plist)
AttributeError: module 'plistlib' has no attribute 'writePlistToBytes'
Thank you,
------------------------------------------------------------------------
Dr. Craig A. Rich, Professor Emeritus mailto:carich at cpp.edu
Computer Science Department http://www.cpp.edu/~carich/
Cal Poly Pomona
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tlu/attachments/20210309/e55e38ff/attachment.html>
More information about the tlu
mailing list.