<html><body><div>Craig,</div><div><br data-mce-bogus="1"></div><div>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.</div><div><br data-mce-bogus="1"></div><div>thanks,</div><div>Adam (<meta charset="utf-8"><span style="color: #000000; font-family: SFNSText, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;" data-mce-style="color: #000000; font-family: SFNSText, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">Top-posting because Apple webmail is broken)</span></div><div><br>On March 9, 2021 at 10:43 AM, "Craig A. Rich" <carich@cpp.edu> wrote:<br><br></div><div><blockquote type="cite"><div style="word-wrap: break-word;" vlink="#954F72" link="#0563C1" lang="EN-US" class="msg-quote" data-mce-style="word-wrap: break-word;"><div class="WordSection1"><p class="MsoNormal">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:</p><p class="MsoNormal"> </p><p class="MsoNormal">Parsing the database from this repository failed with the following error: Traceback (most recent call last):</p><p class="MsoNormal"> File "/Applications/TeX/TeX Live Utility.app/Contents/MacOS/parse_tlpdb.py", line 476, in <module></p><p class="MsoNormal"> _save_as_plist(all_packages, options.output_path)</p><p class="MsoNormal"> File "/Applications/TeX/TeX Live Utility.app/Contents/MacOS/parse_tlpdb.py", line 419, in _save_as_plist</p><p class="MsoNormal"> bytes_output = plistlib.writePlistToBytes(plist)</p><p class="MsoNormal">AttributeError: module 'plistlib' has no attribute 'writePlistToBytes'</p><p class="MsoNormal"> </p><p class="MsoNormal">Thank you,</p><p class="MsoNormal"> </p><p class="MsoNormal">------------------------------------------------------------------------<br> Dr. Craig A. Rich, Professor Emeritus <a href="mailto:carich@cpp.edu" data-mce-href="mailto:carich@cpp.edu"> <span style="color: #0563c1;" data-mce-style="color: #0563c1;">mailto:carich@cpp.edu</span></a><br> Computer Science Department <a href="http://www.cpp.edu/~carich/" data-mce-href="http://www.cpp.edu/~carich/"> <span style="color: #0563c1;" data-mce-style="color: #0563c1;">http://www.cpp.edu/~carich/</span></a><br> Cal Poly Pomona</p></div><style class="existing-message-styles" type="text/css">.msg-quote p.MsoNormal, li.MsoNormal, div.MsoNormal {margin: 0in; font-size: 12pt; font-family: Calibri, sans-serif;}
.msg-quote span.EmailStyle17 {font-family: Calibri, sans-serif; color: windowtext;}
.msg-quote .MsoChpDefault {font-size: 12pt; font-family: Calibri, sans-serif;}
.msg-quote WordSection1 {size: 8.5in 11in; margin: 1in;}
.msg-quote div.WordSection1 {page: WordSection1;}
</style></div></blockquote></div></body></html>