Might you possibly have extra files it doesn't expect on your SD card ? Seems like it wants to see filenames that are numbers only.
Perhaps try to temporarily log the filenames it found - something like ' log.info(files)' right above 'for file in files:' line that should be right above the line that failed with the ValueError. (untested - save the original in cast you mess up the edit) On Sunday, February 1, 2026 at 3:36:59 PM UTC-8 Francisco Alonso wrote: > Hi Guys. > > I am trying to get running this driver which I downloaded from Ian's fork. > So far I have managed to get the driver working and it successfully reads > the data from the GW3000 after pointing it to the correct IP Address. > However it fails when trying to start weewx. The most immediate output is > from "weewxd" command: > > *Using configuration file /etc/weewx/weewx.conf* > > > *Traceback (most recent call last):* > > > > > > > > > > > > > > > > > > > > > > > * File "/usr/share/weewx/weewxd.py", line 226, in <module> main() > File "/usr/share/weewx/weewxd.py", line 127, in main engine.run() File > "/usr/share/weewx/weewx/engine.py", line 174, in run > self.dispatchEvent(weewx.Event(weewx.STARTUP)) File > "/usr/share/weewx/weewx/engine.py", line 241, in dispatchEvent > callback(event) File "/usr/share/weewx/weewx/engine.py", line 612, in > startup self._catchup(self.engine.console.genStartupRecords) File > "/usr/share/weewx/weewx/engine.py", line 725, in _catchup for record in > generator(lastgood_ts): File "/etc/weewx/bin/user/ecowitt_http.py", line > 6060, in genArchiveRecords for rec in > self.gen_ecowitt_archive_records(since_ts=lastgood_ts): File > "/etc/weewx/bin/user/ecowitt_http.py", line 6097, in > gen_ecowitt_archive_records for rec in > catchup_obj.gen_history_records(start_ts=since_ts): File > "/etc/weewx/bin/user/ecowitt_http.py", line 5172, in gen_history_records > files = self.get_file_list(sdmmc_info, start_ts) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File > "/etc/weewx/bin/user/ecowitt_http.py", line 5723, in get_file_list index > = int(file[0:4]) * 100 + int(file[4:6]) > ^^^^^^^^^^^^^^ValueError: invalid literal for int() with base 10: 'issu'* > > I attach the full log with for extra information. > > This is a package installation of weewx in a debian system. Python version > is 3.11.2. > In case it matters, the sd card in the GW3000 has 3 or 4 months worth of > records. The archive interval is 300s in both the GW3000 and weewx.conf. > > See if someone can make anything out of the log, please. > > Thanks > On Tuesday, 23 September 2025 at 17:14:46 UTC+2 vince wrote: > >> You have an extra / before https in your weecfg command >> >> weecfg extension install https://some-url-here >> not >> weecfg extension install /https://some-url-here >> On Tuesday, September 23, 2025 at 8:01:17 AM UTC-7 Claudio wrote: >> >>> Thank you for your help, what am I doing wrong? >>> ----------- >>> >>> *pi@ecowitt*:*/tmp $* weectl extension install / >>> https://github.com/WernerKr/Ecowitt-or-DAVIS-stations-and-Season-skin/blob/main/ecowitt_http/weewx-ecowitt_http.zip >>> >>> Using configuration file */etc/weewx/weewx.conf* >>> >>> Install extension '/ >>> https://github.com/WernerKr/Ecowitt-or-DAVIS-stations-and-Season-skin/blob/main/ecowitt_http/weewx-ecowitt_http.zip' >>> >>> (y/n)? y >>> >>> Traceback (most recent call last): >>> >>> File "/usr/share/weewx/weectl.py", line 75, in <module> >>> >>> main() >>> >>> File "/usr/share/weewx/weectl.py", line 67, in main >>> >>> namespace.func(namespace) >>> >>> File "/usr/share/weewx/weectllib/__init__.py", line 90, in dispatch >>> >>> namespace.action_func(config_dict, namespace) >>> >>> File "/usr/share/weewx/weectllib/extension_cmd.py", line 116, in >>> install_extension >>> >>> ext.install_extension(namespace.source, no_confirm=namespace.yes) >>> >>> File "/usr/share/weewx/weecfg/extension.py", line 132, in >>> install_extension >>> >>> raise InstallError(f"Path {extension_path} does not exist.") >>> >>> weecfg.extension.InstallError: Path / >>> https://github.com/WernerKr/Ecowitt-or-DAVIS-stations-and-Season-skin/blob/main/ecowitt_http/weewx-ecowitt_http.zip >>> >>> does not exist. >>> ------------------ >>> Il giorno venerdì 19 settembre 2025 alle 16:49:52 UTC+2 steepleian ha >>> scritto: >>> >>>> The first url you tried works ok, have just checked that the download >>>> works ok. >>>> I. >>>> https://claydonsweather.org.uk >>>> >>>> On 19 Sep 2025, at 15:30, Claudio <[email protected]> wrote: >>>> >>>> Hello everyone, I'm waiting for an Ecowitt GW3001 (gw3000+WS90) >>>> station and I was preparing my rp4 but I can't figure out which driver to >>>> install and how. This refers to a driver by gjr89 " >>>> https://github.com/Millardiang/weewx-ecowitt_local_http/tree/development" >>>> and tells me it can't find it. While with this "weectl extension install >>>> https://github.com/WernerKr/Ecowitt-or-DAVIS-stations-and-Season-skin/blob/main/ecowitt_http/weewx-ecowitt_http.zip" >>>> >>>> I get this error: >>>> >>>> >>>> ------- >>>> pi@ecowitt:/tmp $ weectl extension install >>>> https://github.com/WernerKr/Ecowitt-or-DAVIS-stations-and-Season-skin/blob/main/ecowitt_http/weewx-ecowitt_http.zip >>>> Using configuration file /etc/weewx/weewx.conf >>>> Install extension ' >>>> https://github.com/WernerKr/Ecowitt-or-DAVIS-stations-and-Season-skin/blob/main/ecowitt_http/weewx-ecowitt_http.zip' >>>> >>>> (y/n)? y >>>> Traceback (most recent call last): >>>> File "/usr/share/weewx/weectl.py", line 75, in <module> >>>> main() >>>> File "/usr/share/weewx/weectl.py", line 67, in main >>>> namespace.func(namespace) >>>> File "/usr/share/weewx/weectllib/__init__.py", line 90, in dispatch >>>> namespace.action_func(config_dict, namespace) >>>> File "/usr/share/weewx/weectllib/extension_cmd.py", line 116, in >>>> install_extension >>>> ext.install_extension(namespace.source, no_confirm=namespace.yes) >>>> File "/usr/share/weewx/weecfg/extension.py", line 124, in >>>> install_extension >>>> raise IOError(f"Unknown extension type found at '{extension_path}'") >>>> OSError: Unknown extension type found at ' >>>> https://github.com/WernerKr/Ecowitt-or-DAVIS-stations-and-Season-skin/blob/main/ecowitt_http/weewx-ecowitt_http.zip >>>> ' >>>> pi@ecowitt:/tmp $ >>>> -------------- >>>> I've read all the messages in the group but I can't get out. Can you >>>> help me figure out where to find the right driver and how to install it? >>>> Thanks everyone. >>>> Claudio >>>> >>>> -- >>>> 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]. >>>> To view this discussion visit >>>> https://groups.google.com/d/msgid/weewx-user/0bf8df62-845b-4952-bf2e-e43968409f21n%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/weewx-user/0bf8df62-845b-4952-bf2e-e43968409f21n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>>> -- 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]. To view this discussion visit https://groups.google.com/d/msgid/weewx-user/c5cba809-93ed-4b96-a75a-b948c7028ae8n%40googlegroups.com.
