Skip to contentSkip to conversation

rest-dbus does not work?

DISCUSSION Li, Yong 2 participants 2 messages May 9, 2020 – May 11, 2020

lore
Share & tools
lore

Li, Yong

author
#0 lore raw

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

#1 lore raw

Hello,

Quoted 5 lines · Yong

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.

Signature · 1 line
Patrick Williams