[oi-dev] libpulsecore error
Udo Grabowski (IMK)
udo.grabowski at kit.edu
Fri Mar 10 08:06:39 UTC 2023
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 at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5221 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20230310/b4b5f3bc/attachment-0001.bin>
More information about the oi-dev
mailing list