[oi-dev] libpulsecore error

Klaus Ziegler klausz at haus-gisela.de
Fri Mar 10 07:49:25 UTC 2023



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 at x4200:~# head -1 /usr/share/desktop-cache/find_newer
#!/usr/bin/python3.9

Many Regards
Klaus



More information about the oi-dev mailing list