Thomas, Thanks for your help. I found the problem. The key was the in syslog: "Apr 29 14:15:17 pgserver weewx[3502]: **** IndexError: Invalid interface index 0". I did set debug = 1 and viewed the new syslog which basically had the same information as I posted previously. I switched USB ports to which the display was connected and weewx started without error and connected right away to the display. The web page at localhost/weewx displayed the correct data.
Thanks again. Allen On Mon, Apr 29, 2019 at 7:06 PM Thomas Keffer <[email protected]> wrote: > Hard to say much with such a little snippet of the log. Take a look at *Help! > Posting to weewx-user > <https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user>* on how > to get a good log. > > -tk > > On Mon, Apr 29, 2019 at 2:15 PM Allen Gordon <[email protected]> wrote: > >> Installation of weewx on ubuntu 18.10 failed. I installed with with >> apt-get using the posted directions for ubuntu, >> >> sudo /etc/init.d/weewx -l status >> Usage: /etc/init.d/weewx {start|stop|status|restart|reload} >> judoal@pgserver:/etc/weewx$ sudo /etc/init.d/weewx status -l >> ● weewx.service - LSB: weewx weather system >> Loaded: loaded (/etc/init.d/weewx; generated) >> Active: active (exited) since Mon 2019-04-29 14:15:17 MDT; 1min 7s ago >> Docs: man:systemd-sysv-generator(8) >> Process: 3412 ExecStop=/etc/init.d/weewx stop (code=exited, >> status=0/SUCCESS) >> Process: 3475 ExecStart=/etc/init.d/weewx start (code=exited, >> status=0/SUCCESS) >> >> Apr 29 14:15:17 pgserver weewx[3502]: **** File >> "/usr/lib/python2.7/dist-packages/usb/core.py", line 174, in >> managed_release_interface >> Apr 29 14:15:17 pgserver weewx[3502]: **** i = >> cfg[(0,0)].bInterfaceNumber >> Apr 29 14:15:17 pgserver weewx[3502]: **** File >> "/usr/lib/python2.7/dist-packages/usb/core.py", line 641, in __getitem__ >> Apr 29 14:15:17 pgserver weewx[3502]: **** return >> Interface(self.device, index[0], index[1], self.index) >> Apr 29 14:15:17 pgserver weewx[3502]: **** File >> "/usr/lib/python2.7/dist-packages/usb/core.py", line 460, in __init__ >> Apr 29 14:15:17 pgserver weewx[3502]: **** configuration >> Apr 29 14:15:17 pgserver weewx[3502]: **** File >> "/usr/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 767, in >> get_interface_descriptor >> Apr 29 14:15:17 pgserver weewx[3502]: **** raise >> IndexError('Invalid interface index ' + str(intf)) >> Apr 29 14:15:17 pgserver weewx[3502]: **** IndexError: Invalid >> interface index 0 >> Apr 29 14:15:17 pgserver weewx[3502]: **** Exiting. >> >> The weewx configuration file is attached. >> >> Thanks in advance for help. >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "weewx-user" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "weewx-user" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/weewx-user/BsrAEYJUGew/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
