The file location is correct, but you need to use the .zip which is attached to a release.
The latest release is v1.2.0, the download path for the zip is https://github.com/Daveiano/weewx-wdc/releases/download/v1.2.0/weewx-wdc-v1.2.0.zip Release page is here: https://github.com/Daveiano/weewx-wdc/releases/tag/v1.2.0 (its the first linked zip) *Background*: The files in the src/ directory are the Source files (TypeScript, SCSS). When creating a release, the source files get transformed and optimized, the output location of these transformed files is the location from the install.py. The release.zip should contain all these transformed files (like service-worker.js), but if you download the current state of the repo, these files are not included, hence the error. Please let me know if this helps and solves the problem, I will also add a notice about it on the readme page. [email protected] schrieb am Freitag, 27. Mai 2022 um 14:30:21 UTC+2: > Trying to install from zip (also tried from tar.gz) and getting the > following: > > "sudo wee_extension --install=weewx-wdc.zip > Request to install 'weewx-wdc.zip' > Extracting from zip archive weewx-wdc.zip > Traceback (most recent call last): > File "/usr/share/weewx/wee_extension", line 92, in <module> > main() > File "/usr/share/weewx/wee_extension", line 84, in main > ext.install_extension(options.install) > File "/usr/share/weewx/weecfg/extension.py", line 130, in > install_extension > self.install_from_dir(extension_dir) > File "/usr/share/weewx/weecfg/extension.py", line 183, in > install_from_dir > shutil.copy(source_path, destination_path) > File "/usr/lib/python3.7/shutil.py", line 245, in copy > copyfile(src, dst, follow_symlinks=follow_symlinks) > File "/usr/lib/python3.7/shutil.py", line 120, in copyfile > with open(src, 'rb') as fsrc: > FileNotFoundError: [Errno 2] No such file or directory: > '/var/tmp/weewx-wdc-1.2.0/skins/weewx-wdc/service-worker.js' > " > > I can see the service-worker.js is located in a different directory than > where the install is looking. It is located > "weewx-wdc-1.2.0\skins\weewx-wdc\src\js\service-worker.js" > > On Thursday, May 26, 2022 at 8:49:31 AM UTC-4 [email protected] wrote: > >> Thank you for your feedback, very appreciated! >> >> *Is it possible to set custom values for font and graph size, amount of >> rows and border size so everything including graphs could be made visible >> at a glance without or less scrolling?* >> Currently, this is not possible. The skin uses the IBM Carbon Design >> System, so these values are more or less predefined. But you are right, >> using the space and layouting all the graphs were one of the most >> challenging parts of this. I am also not yet 100% happy with it. Perhaps I >> could predefine some "Spacing variations", like a dense one and a wide one >> for example. >> >> *Any chance for a web version of the weather data center, so one could >> publish the visualized csv's to the web? Or even comibne it with weewx live >> data in one page? Just a thought* >> Do you mean like an export Button on the Desktop Application to export >> all data as HTML pages? Well you can also use the WDC Skin with weewx and >> import all data to weewx via csv, generate the report and there you go ;) >> [email protected] schrieb am Donnerstag, 26. Mai 2022 um 12:04:58 UTC+2: >> >>> Thanks a lot for this skin (and the weather data visualizing app), looks >>> very clean! >>> >>> Is it possible to set custom values for font and graph size, amount of >>> rows and border size so everything including graphs could be made visible >>> at a glance without or less scrolling? >>> >>> Any chance for a web version of the weather data center, so one could >>> publish the visualized csv's to the web? Or even comibne it with weewx live >>> data in one page? Just a thought >>> [email protected] schrieb am Samstag, 14. Mai 2022 um 13:13:39 UTC+2: >>> >>>> Hi guys! >>>> >>>> I just wanted to do some advertisement for a new weewx Skin, I >>>> developed: https://github.com/Daveiano/weewx-wdc >>>> >>>> The visual part is based on another weather app, I wrote earlier this >>>> year: https://daveiano.github.io/weather-data-center/ >>>> >>>> Please feel free to check it out, a working demo is hosted here: >>>> https://www.weewx-hbt.de/ >>>> >>>> Key features included: >>>> - Clear and beautiful UI thanks to IBM Carbon and nivo >>>> - Configurable Statistic Tiles and Diagram tiles >>>> - Combinable diagrams via skin.conf >>>> - Responsive >>>> - Day, week, month, year and all-time pages >>>> - Archive and NOAA Reports >>>> - Almanac >>>> - Translated for DE and EN >>>> - Tabular representation with Carbon Data Tables >>>> >>>> I consider the skin as feature-complete but I will do some updates in >>>> the coming weeks to optimize some things like responsiveness or perhaps >>>> add >>>> some more statistics. >>>> >>>> I am a software developer but I never worked with python before. I have >>>> been looking for an opportunity to work with python for a long time, so >>>> working with weewx and creating a skin did that for me. I am really caught >>>> by how things work together in weewx, a great piece of software. >>>> >>> -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/34640a40-9fa7-4982-82f5-aa8caf4b1283n%40googlegroups.com.
