This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
/etc/init.d/voltage-detect.py service fails
#1
I noticed this whilst looking at journalctl output for another problem.

When I run at the console by hand, it just runs and sits there.

When I run from an ssh session with no X I get similar output  as in the log file below.

It would be nice to have the voltage monitored.

Anyone know of a fix.


Mar 10 11:25:33 incc-tinker kernel: [board_info] board_info_proc_read board_type='Tinker Board S' ram_size='2 GB' pcb='PR'
Mar 10 11:25:33 incc-tinker voltage-detect.py[1498]: Traceback (most recent call last):
Mar 10 11:25:33 incc-tinker voltage-detect.py[1498]:   File "/etc/init.d/voltage-detect.py", line 93, in <module>
Mar 10 11:25:33 incc-tinker voltage-detect.py[1498]:     app = App()
Mar 10 11:25:33 incc-tinker voltage-detect.py[1498]:   File "/etc/init.d/voltage-detect.py", line 53, in __init__
Mar 10 11:25:33 incc-tinker voltage-detect.py[1498]:     self.check()
Mar 10 11:25:33 incc-tinker voltage-detect.py[1498]:   File "/etc/init.d/voltage-detect.py", line 85, in check
Mar 10 11:25:33 incc-tinker voltage-detect.py[1498]:     self.notification.close()
Mar 10 11:25:33 incc-tinker voltage-detect.py[1498]: GLib.Error: g-spawn-exit-error-quark: Error spawning command line 'dbus-launch --autolaunch=12dd420c46946a1fbf245d425c816e03
Mar 10 11:25:33 incc-tinker systemd[1]: voltage-detect.service: Failed with result 'exit-code'.
Mar 10 11:25:33 incc-tinker systemd[1]: voltage-detect.service: Start request repeated too quickly.
Mar 10 11:25:33 incc-tinker systemd[1]: Failed to start Voltage detect.
-- Subject: Unit voltage-detect.service has failed
-- Defined-By: systemd
-- Support: Removed by force
--
-- Unit voltage-detect.service has failed.
--
-- The result is failed.
[-] The following 1 user Likes JRARocketer's post:
  • feemi
Reply
#2
I did not find any errors on my syslog. (2.0.7)
and was also checked the systemctl, it worked properly.

Have you removed any packages? Or have you made some modify?
"GLib.Error: g-spawn-exit-error-quark: Error spawning command line" maybe need find out what is this error message stand for.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)