From: "Harvey Wu (吳崇維)" <Harvey.Wu@quantatw.com>
To: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Cc: "Duke Du (杜祥嘉)" <Duke.Du@quantatw.com>,
"Fran Hsu (徐誌謙)" <Fran.Hsu@quantatw.com>,
"George Hung (洪忠敬)" <George.Hung@quantatw.com>
Subject: [phosphor-virtual-sensor] get sensor service fail
Date: Mon, 29 Mar 2021 09:13:49 +0000 [thread overview]
Message-ID: <TY2PR04MB39339884DCB08EC59BC95894957E9@TY2PR04MB3933.apcprd04.prod.outlook.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 671 bytes --]
Hi All,
In current phosphor-virtual-sensor, the function getService will return empty string only when catch error name = “xyz.openbmc_project.Common.Error.ResourceNotFound” (https://github.com/openbmc/phosphor-virtual-sensor/blob/master/dbusUtils.hpp#L37).
But in my system, when bus call didn’t get sensor service, the exception name will be “org.freedesktop.DBus.Error.FileNotFound”, and then service will be get failed.
It seems need to modified the origin condition or add another elseif condition. Do I misunderstand something?
Thanks.
Harvey Wu
Email: Harvey.Wu@quantatw.com<mailto:Harvey.Wu@quantatw.com>
Ext: 17408
[-- Attachment #2: Type: text/html, Size: 3545 bytes --]
next reply other threads:[~2021-03-29 9:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-29 9:13 Harvey Wu (吳崇維) [this message]
2021-03-29 18:53 ` [phosphor-virtual-sensor] get sensor service fail Matt Spinler
2021-04-08 14:00 ` Alan Kuo (郭振維)
2021-04-08 16:36 ` Ed Tanous
2021-04-08 17:11 ` Nan Zhou
2021-04-08 19:28 ` Ed Tanous
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=TY2PR04MB39339884DCB08EC59BC95894957E9@TY2PR04MB3933.apcprd04.prod.outlook.com \
--to=harvey.wu@quantatw.com \
--cc=Duke.Du@quantatw.com \
--cc=Fran.Hsu@quantatw.com \
--cc=George.Hung@quantatw.com \
--cc=openbmc@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).