On 10/03/2023 08:49, Klaus Ziegler wrote:


On 3/10/23 01:55, Gary Mills wrote:
On Wed, Mar 08, 2023 at 04:21:17PM +0100, Till Wegmüller wrote:

The method script, /lib/svc/method/gconf-cache, seems correct.  It,
however, invokes a python3.5 script,
/usr/share/desktop-cache/find_newer, that fails on newly-installed
systems.  The error message that I got, normally not seen, is:

     Traceback (most recent call last):
       File "/usr/share/desktop-cache/find_newer", line 149, in <module>
         sys.exit(main())
       File "/usr/share/desktop-cache/find_newer", line 123, in main
         os.stat_float_times (True)
     AttributeError: module 'os' has no attribute 'stat_float_times'

This script should, as a minimum, be converted to use a modern version
of python.  I better fix would be to modify the method script so that
it never needed to invoke the python script.  Both scripts are part of
illumos, I assume.


Hi Gary,
this is wired, because the patch:
oi-userland/components/desktop/desktop-cache/patches/01-python.patch
which Alan mentions in his mail has already been changed with PR: 10803
on Feb 02 2023 to use python3.9, and my dev system (updated just now)
shows this for the find_newer script:
root@x4200:~# head -1 /usr/share/desktop-cache/find_newer
#!/usr/bin/python3.9

It's 3.9 on my system too, which gets regularily updated, so
somehow Garys OI is broken.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Reply via email to