Problem running wee_extension

269 views
Skip to first unread message

corey

unread,
May 11, 2023, 12:05:09 PM5/11/23
to weewx-user
I am running into an error running wee_extension.  I'm relatively certain this was working for me last night trying to install a different extension, but I'm stumped for why it would have changed in the last 12 hours. 

I've tried running from the /usr/share/weewx directory as well as from my home directory.  Also tried re-installing weewx this morning, but no improvements.  Any ideas what I might do to fix this?

~/ sudo wee_extension --install weewx-owm-master.zip
Request to install 'weewx-owm-master.zip'
Extracting from zip archive weewx-owm-master.zip
Traceback (most recent call last):
  File "/usr/share/weewx/weecfg/__init__.py", line 1897, in get_extension_installer
    __import__('install')
ModuleNotFoundError: No module named 'install'

During handling of the above exception, another exception occurred:

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 150, in install_from_dir
    installer_path, installer = weecfg.get_extension_installer(extension_dir)
  File "/usr/share/weewx/weecfg/__init__.py", line 1899, in get_extension_installer
    raise ExtensionError("Cannot find 'install' module in %s" % extension_installer_dir)
weecfg.ExtensionError: Cannot find 'install' module in /var/tmp/weewx-master/

vince

unread,
May 11, 2023, 3:13:30 PM5/11/23
to weewx-user
Just for grins, try installing a different skin.  I'm wondering if the zip file you have downloaded is missing something internally.

corey

unread,
May 11, 2023, 5:09:19 PM5/11/23
to weewx-user
I think we have a winner...  I'd say the extension I downloaded is either incomplete or corrupted.  Tried a different extension at random and it completed with no error.

Thanks!
Corey

Reply all
Reply to author
Forward
0 new messages