This is a new install, because I'm replacing my server. I am using Debian 11
and install with the deb method. Weewx version is 4.6.0-1.
Having successfully setup weewx and some extensions, I have no reports.
I'm sure someone can tell me immediately which python module I'm missing. I
can install that and all will work, but for others installing a new system
through deb packages will also be missing this dependency.
$ wee_reports
Using configuration file /etc/weewx/weewx.conf
Generating for all time
Traceback (most recent call last):
File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
obj.start()
File "/usr/share/weewx/weewx/reportengine.py", line 378, in start
self.run()
File "/usr/share/weewx/weewx/cheetahgenerator.py", line 166, in run
self.init_extensions(gen_dict[section_name])
File "/usr/share/weewx/weewx/cheetahgenerator.py", line 197, in
init_extensions
klass = weeutil.weeutil.get_object(x)
File "/usr/share/weewx/weeutil/weeutil.py", line 1149, in get_object
mod = __import__(module)
ModuleNotFoundError: No module named 'user.xstats'
I've looked at reportengine.py and tried to work out what I am missing
# System imports:
import datetime
import ftplib
import glob
import logging
import os.path
import threading
import time
import traceback
I didn't find any python package on my system providing libftp, glob,
logging, os.path, threading or traceback.
I have ensured that every package listed on the wiki for the install.py
method is installed on my system. I installed packages I thought covered
the needs of reportengine.py but the error persists.
Liz
--
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/a5fbfef7-3737-41ac-8250-db71df589ae1n%40googlegroups.com.