* rest-dbus does not work?
@ 2020-05-09 2:26 Li, Yong
2020-05-11 12:13 ` Patrick Williams
0 siblings, 1 reply; 2+ messages in thread
From: Li, Yong @ 2020-05-09 2:26 UTC (permalink / raw)
To: openbmc; +Cc: yong.b.li
Just find that the rest-dbus is broken, with the below error message:
Anyone encoutner this issue? Any suggestions/comments?
rest-dbus
Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: initfsencoding: unable to load the file system codec
LookupError: no codec search functions registered: can't find encoding
Current thread 0x76fb6010 (most recent call first):
Aborted (core dumped)
Thanks,
Yong
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: rest-dbus does not work?
2020-05-09 2:26 rest-dbus does not work? Li, Yong
@ 2020-05-11 12:13 ` Patrick Williams
0 siblings, 0 replies; 2+ messages in thread
From: Patrick Williams @ 2020-05-11 12:13 UTC (permalink / raw)
To: Li, Yong; +Cc: openbmc, yong.b.li
[-- Attachment #1: Type: text/plain, Size: 833 bytes --]
Hello,
On Sat, May 09, 2020 at 10:26:10AM +0800, Li, Yong wrote:
> Just find that the rest-dbus is broken, with the below error message:
>
> Anyone encoutner this issue? Any suggestions/comments?
>
> rest-dbus
I think we effectively broke this with the Python2 to Python3 migration.
rest-dbus was written in Python2 and against libraries that I think were
deprecated and never migrated to Python3. I'm somewhat surprised that
it even installed into your image. I would have expected it to fail
dependency needs as the libraries it depends on had been removed.
I believe everyone has effectively moved to bmcweb now, and most
platforms are not even installing Python on the BMC anymore. I suspect
there is not much interest in reviving rest-dbus and migrating it to
full Python3.
--
Patrick Williams
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-11 12:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-09 2:26 rest-dbus does not work? Li, Yong
2020-05-11 12:13 ` Patrick Williams
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.