mdeweerd / MetersToHA

Get Meter Data into Home Automation systems
GNU General Public License v3.0
26 stars 8 forks source link

Service /usr/bin/chromedriver unexpectedly exited #1

Closed le-pet closed 1 year ago

le-pet commented 1 year ago

all is in the title, i have any logs or more info is anonyoing, the error started after a update via HACS.

here is the mesage: Start the browser Message: Service /usr/bin/chromedriver unexpectedly exited. Status code was: 1

mdeweerd commented 1 year ago

I assume you are using AppDaemon.

Chromedriver is started by the script and you should get some kind of log before you get that error.

Regarding the logs - while writing this up, I notice that there are too many configurations to set where to log things, which has several reasons.

If you are using AppDaemon, then you can set the log folder explicitly with the option log_folder - this will set it to /config/ You can also set outfile and errfile.

  log_folder: /config
  # optional (Default: None) - Set file for stdout of script call
  outfile: /config/appdaemon/apps/testv2.log
  # optional (Default: None) - Set extra options for script call
  errfile: /config/appdaemon/apps/testv2err.log

Otherwise they will be in /config/appdaemon/apps/MetersToHA/ .

service.log is written to /config/appdaemon/apps/MetersToHA/ unless you have set logs_folder in the json configuration. service.log is the main log.

Regarding the logs you can have:

So normally you should have some logs that would help understand this.

mdeweerd commented 1 year ago

I am closing this: