Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: wxengine: Initializing weewx version 2.5.1
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: wxengine: Using Python 2.7.3 (default, Mar 14 2013, 12:12:59) [GCC 4.6.3 20120201 (prerelease)]
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: wxengine: Using configuration file /home/weewx/weewx.conf
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: wxengine: Loading station type WMR9x8 (weewx.drivers.wmr9x8)
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: wxengine: StdConvert target unit is 0x10
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: wxengine: Record generation will be attempted in 'hardware'
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: wxengine: Using archive interval of 300 seconds
Jan 4 12:59:42 WDR-4300 user.crit weewx[1380]: wxengine: Caught unrecoverable exception in wxengine:
Jan 4 12:59:42 WDR-4300 user.crit weewx[1380]: **** No module named _sqlite3
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** Traceback (most recent call last):
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** File "/home/weewx/bin/weewx/wxengine.py", line 892, in main
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** engine = EngineClass(config_dict)
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** File "/home/weewx/bin/weewx/wxengine.py", line 70, in __init__
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** self.loadServices(config_dict)
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** File "/home/weewx/bin/weewx/wxengine.py", line 124, in loadServices
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict))
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** File "/home/weewx/bin/weewx/wxengine.py", line 435, in __init__
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** self.setupArchiveDatabase(config_dict)
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** File "/home/weewx/bin/weewx/wxengine.py", line 533, in setupArchiveDatabase
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** self.archive = weewx.archive.Archive.open_with_create(config_dict['Databases'][archive_db], archive_schema)
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** File "/home/weewx/bin/weewx/archive.py", line 91, in open_with_create
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** archive = Archive.open(archive_db_dict, table)
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** File "/home/weewx/bin/weewx/archive.py", line 73, in open
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** _connect = weedb.connect(archive_db_dict)
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** File "/home/weewx/bin/weedb/__init__.py", line 42, in connect
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** __import__(db_dict['driver'])
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** File "/home/weewx/bin/weedb/sqlite.py", line 16, in <module>
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** import sqlite3
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** File "/usr/lib/python2.7/sqlite3/__init__.py", line 24, in <module>
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** from dbapi2 import *
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** File "/usr/lib/python2.7/sqlite3/dbapi2.py", line 27, in <module>
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** from _sqlite3 import *
Jan 4 12:59:42 WDR-4300 user.info weewx[1380]: **** ImportError: No module named _sqlite3
Jan 4 12:59:42 WDR-4300 user.crit weewx[1380]: **** Exiting.--
You received this message because you are subscribed to the Google Groups "Weewx user's group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi!I try to run on the router (OpenWRT)python-sqlite3 module installedI do not know how to fix this problem?
/usr/lib/python2.7/site-packages/Cheetah/Compiler.p
y:1509: UserWarning:
-ash: /usr/lib/python2.7/site-packages/Cheetah/Compiler.py:1509:: not found
root@TL-WMR4300:/home/weewx# You don't have the C version of NameMapper installe
d! I'm disabling Cheetah's useStackFrames option as it is painfully slow with th
e Python version of NameMapper. You should get a copy of Cheetah with the compil
ed C version of NameMapper.
> "\nYou don't have the C version of NameMapper installed! "--
Thank Tom for the reply und helpUnfortunately, install C version of Cheetah has not helped. That doesn't work.
Jan 7 13:25:29 TL-WMR4300 user.err weewx[3609]: cheetahgenerator: generate failed with exception '<class 'Cheetah.NameMapper.NotFound'>'Jan 7 13:25:29 TL-WMR4300 user.err weewx[3609]: cheetahgenerator: **** ignoring template /home/weewx/skins/Standard/smartphone/index.html.tmplJan 7 13:25:29 TL-WMR4300 user.err weewx[3609]: cheetahgenerator: **** reason: cannot find 'dateTime'Jan 7 13:25:30 TL-WMR4300 user.info weewx[3609]: **** Traceback (most recent call last):Jan 7 13:25:30 TL-WMR4300 user.info weewx[3609]: **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 264, in generateJan 7 13:25:30 TL-WMR4300 user.info weewx[3609]: **** print >> _file, textJan 7 13:25:30 TL-WMR4300 user.info weewx[3609]: **** File "/usr/lib/python2.7/site-packages/Cheetah/Template.py", line 1005, in __str__Jan 7 13:25:30 TL-WMR4300 user.info weewx[3609]: **** rc = getattr(self, mainMethName)()Jan 7 13:25:30 TL-WMR4300 user.info weewx[3609]: **** File "_home_weewx_skins_Standard_smartphone_index_html_tmpl.py", line 114, in respondJan 7 13:25:30 TL-WMR4300 user.info weewx[3609]: **** File "/usr/lib/python2.7/site-packages/Cheetah/NameMapper.py", line 245, in valueFromSearchListJan 7 13:25:30 TL-WMR4300 user.info weewx[3609]: **** executeCallables=executeCallables)Jan 7 13:25:30 TL-WMR4300 user.info weewx[3609]: **** File "/usr/lib/python2.7/site-packages/Cheetah/NameMapper.py", line 226, in _valueForNameJan 7 13:25:30 TL-WMR4300 user.info weewx[3609]: **** _raiseNotFoundException(key, obj)Jan 7 13:25:30 TL-WMR4300 user.info weewx[3609]: **** File "/usr/lib/python2.7/site-packages/Cheetah/NameMapper.py", line 167, in _raiseNotFoundExceptionJan 7 13:25:30 TL-WMR4300 user.info weewx[3609]: **** raise NotFound(excString)Jan 7 13:25:30 TL-WMR4300 user.info weewx[3609]: **** NotFound: cannot find 'dateTime'/usr/lib/python2.7/site-packages/Cheetah/Compiler.py:1509: UserWarning:
You don't have the C version of NameMapper installed! I'm disabling Cheetah's useStackFrames option as it is painfully slow with the Python version of NameMapper. You should get a copy of Cheetah with the compiled C version of NameMapper.
"\nYou don't have the C version of NameMapper installed! "/usr/lib/python2.7$ ls -l-rw-r--r-- 1 root root 22454 Jan 3 12:04 BaseHTTPServer.py-rw-r--r-- 1 root root 5744 Jan 3 12:04 Bastion.py-rw-r--r-- 1 root root 12986 Jan 3 12:04 CGIHTTPServer.py-rw-r--r-- 1 root root 27746 Jan 3 12:04 ConfigParser.py-rw-r--r-- 1 root root 25095 Jan 4 21:49 ConfigParser.pyc-rw-r--r-- 1 root root 25843 Jan 3 12:04 Cookie.py-rw-r--r-- 1 root root 10500 Jan 3 12:04 DocXMLRPCServer.py-rw-r--r-- 1 root root 16972 Jan 3 12:04 HTMLParser.py-rw-r--r-- 1 root root 14243 Jan 3 12:04 LICENSE.txt-rw-r--r-- 1 root root 6482 Jan 3 12:04 MimeWriter.py-rw-r--r-- 1 root root 8561 Jan 3 12:04 Queue.py-rw-r--r-- 1 root root 9352 Jan 5 10:15 Queue.pyc-rw-r--r-- 1 root root 7422 Jan 3 12:04 SimpleHTTPServer.py-rw-r--r-- 1 root root 25768 Jan 3 12:04 SimpleXMLRPCServer.py-rw-r--r-- 1 root root 23321 Jan 3 12:04 SocketServer.py-rw-r--r-- 1 root root 10661 Jan 3 12:04 StringIO.py-rw-r--r-- 1 root root 11442 Jan 5 10:15 StringIO.pyc-rw-r--r-- 1 root root 5811 Jan 3 12:04 UserDict.py-rw-r--r-- 1 root root 8730 Jan 4 21:49 UserDict.pyc-rw-r--r-- 1 root root 3644 Jan 3 12:04 UserList.py-rwxr-xr-x 1 root root 9687 Jan 3 12:04 UserString.py-rw-r--r-- 1 root root 6553 Jan 3 12:04 _LWPCookieJar.py-rw-r--r-- 1 root root 5809 Jan 3 12:04 _MozillaCookieJar.py-rw-r--r-- 1 root root 4380 Jan 3 12:04 __future__.py-rw-r--r-- 1 root root 4221 Jan 4 21:49 __future__.pyc-rw-r--r-- 1 root root 64 Jan 3 12:04 __phello__.foo.py-rw-r--r-- 1 root root 14672 Jan 3 12:04 _abcoll.py-rw-r--r-- 1 root root 21727 Jan 4 21:49 _abcoll.pyc-rw-r--r-- 1 root root 68418 Jan 3 12:04 _pyio.py-rw-r--r-- 1 root root 19754 Jan 3 12:04 _strptime.py-rw-r--r-- 1 root root 7456 Jan 3 12:04 _threading_local.py-rw-r--r-- 1 root root 6389 Jan 3 12:04 _weakrefset.py-rw-r--r-- 1 root root 10190 Jan 4 21:49 _weakrefset.pyc-rw-r--r-- 1 root root 7145 Jan 3 12:04 abc.py-rw-r--r-- 1 root root 6121 Jan 4 21:49 abc.pyc-rw-r--r-- 1 root root 33542 Jan 3 12:04 aifc.py-rw-r--r-- 1 root root 60 Jan 3 12:04 antigravity.py-rw-r--r-- 1 root root 2663 Jan 3 12:04 anydbm.py-rw-r--r-- 1 root root 87802 Jan 3 12:04 argparse.py-rw-r--r-- 1 root root 11805 Jan 3 12:04 ast.py-rw-r--r-- 1 root root 11402 Jan 3 12:04 asynchat.py-rw-r--r-- 1 root root 20804 Jan 3 12:04 asyncore.py-rw-r--r-- 1 root root 1705 Jan 3 12:04 atexit.py-rw-r--r-- 1 root root 2191 Jan 5 10:25 atexit.pyc-rw-r--r-- 1 root root 7597 Jan 3 12:04 audiodev.py-rwxr-xr-x 1 root root 11357 Jan 3 12:04 base64.py-rw-r--r-- 1 root root 10852 Jan 5 10:15 base64.pyc-rw-r--r-- 1 root root 21084 Jan 3 12:04 bdb.py-rw-r--r-- 1 root root 14476 Jan 3 12:04 binhex.py-rw-r--r-- 1 root root 2595 Jan 3 12:04 bisect.py-rw-r--r-- 1 root root 3061 Jan 4 21:49 bisect.pycdrwxr-xr-x 2 root root 4096 Jan 4 21:43 bsddb-rwxr-xr-x 1 root root 6515 Jan 3 12:04 cProfile.py-rw-r--r-- 1 root root 23107 Jan 3 12:04 calendar.py-rw-r--r-- 1 root root 27554 Jan 5 10:15 calendar.pyc-rwxr-xr-x 1 root root 34505 Jan 3 12:04 cgi.py-rw-r--r-- 1 root root 32354 Jan 5 10:25 cgi.pyc-rw-r--r-- 1 root root 12073 Jan 3 12:04 cgitb.py-rw-r--r-- 1 root root 5372 Jan 3 12:04 chunk.py-rw-r--r-- 1 root root 14946 Jan 3 12:04 cmd.py-rw-r--r-- 1 root root 10189 Jan 3 12:04 code.py-rw-r--r-- 1 root root 35266 Jan 3 12:04 codecs.py-rw-r--r-- 1 root root 36414 Jan 4 21:49 codecs.pyc-rw-r--r-- 1 root root 5999 Jan 3 12:04 codeop.py-rw-r--r-- 1 root root 25403 Jan 3 12:04 collections.py-rw-r--r-- 1 root root 24387 Jan 4 21:49 collections.pyc-rw-r--r-- 1 root root 3691 Jan 3 12:04 colorsys.py-rw-r--r-- 1 root root 3975 Jan 5 10:25 colorsys.pyc-rw-r--r-- 1 root root 2545 Jan 3 12:04 commands.py-rw-r--r-- 1 root root 7763 Jan 3 12:04 compileall.pydrwxr-xr-x 2 root root 4096 Jan 4 21:42 compilerdrwxr-xr-x 2 root root 4096 Jan 4 21:41 config-rw-r--r-- 1 root root 4424 Jan 3 12:04 contextlib.py-rw-r--r-- 1 root root 64448 Jan 3 12:04 cookielib.py-rw-r--r-- 1 root root 11519 Jan 3 12:04 copy.py-rw-r--r-- 1 root root 12142 Jan 5 10:15 copy.pyc-rw-r--r-- 1 root root 6800 Jan 3 12:04 copy_reg.py-rw-r--r-- 1 root root 5091 Jan 4 21:49 copy_reg.pyc-rw-r--r-- 1 root root 16344 Jan 3 12:04 csv.pydrwxr-xr-x 3 root root 4096 Jan 4 21:43 ctypesdrwxr-xr-x 2 root root 4096 Jan 4 21:42 curses-rw-r--r-- 1 root root 498 Jan 3 12:04 dbhash.py-rw-r--r-- 1 root root 220812 Jan 3 12:04 decimal.py-rw-r--r-- 1 root root 170669 Jan 5 10:25 decimal.pyc-rw-r--r-- 1 root root 82345 Jan 3 12:04 difflib.py-rw-r--r-- 1 root root 1126 Jan 3 12:04 dircache.py-rw-r--r-- 1 root root 6499 Jan 3 12:04 dis.py-rw-r--r-- 1 root root 6212 Jan 5 10:25 dis.pycdrwxr-xr-x 3 root root 4096 Jan 5 10:12 distutils-rw-r--r-- 1 root root 104007 Jan 3 12:04 doctest.py-rw-r--r-- 1 root root 8820 Jan 3 12:04 dumbdbm.py-rw-r--r-- 1 root root 4418 Jan 3 12:04 dummy_thread.py-rw-r--r-- 1 root root 2804 Jan 3 12:04 dummy_threading.pydrwxr-xr-x 3 root root 4096 Jan 4 21:49 emaildrwxr-xr-x 2 root root 4096 Jan 5 10:25 encodings-rw-r--r-- 1 root root 9577 Jan 3 12:04 filecmp.py-rw-r--r-- 1 root root 14143 Jan 3 12:04 fileinput.py-rw-r--r-- 1 root root 3239 Jan 3 12:04 fnmatch.py-rw-r--r-- 1 root root 3522 Jan 4 21:49 fnmatch.pyc-rw-r--r-- 1 root root 14911 Jan 3 12:04 formatter.py-rw-r--r-- 1 root root 4699 Jan 3 12:04 fpformat.py-rw-r--r-- 1 root root 22390 Jan 3 12:04 fractions.py-rw-r--r-- 1 root root 36020 Jan 3 12:04 ftplib.py-rw-r--r-- 1 root root 33357 Jan 5 10:15 ftplib.pyc-rw-r--r-- 1 root root 4478 Jan 3 12:04 functools.py-rw-r--r-- 1 root root 6037 Jan 5 10:15 functools.pyc-rw-r--r-- 1 root root 3015 Jan 3 12:04 genericpath.py-rw-r--r-- 1 root root 3243 Jan 4 21:49 genericpath.pyc-rw-r--r-- 1 root root 7318 Jan 3 12:04 getopt.py-rw-r--r-- 1 root root 6634 Jan 4 21:49 getopt.pyc-rw-r--r-- 1 root root 5563 Jan 3 12:04 getpass.py-rw-r--r-- 1 root root 19859 Jan 3 12:04 gettext.py-rw-r--r-- 1 root root 15420 Jan 5 10:15 gettext.pyc-rw-r--r-- 1 root root 2249 Jan 3 12:04 glob.py-rw-r--r-- 1 root root 2364 Jan 4 21:49 glob.pyc-rw-r--r-- 1 root root 18445 Jan 3 12:04 gzip.py-rw-r--r-- 1 root root 5013 Jan 3 12:04 hashlib.py-rw-r--r-- 1 root root 4398 Jan 4 21:50 hashlib.pyc-rw-r--r-- 1 root root 17395 Jan 3 12:04 heapq.py-rw-r--r-- 1 root root 13406 Jan 4 21:49 heapq.pyc-rw-r--r-- 1 root root 4531 Jan 3 12:04 hmac.pydrwxr-xr-x 2 root root 4096 Jan 4 21:42 hotshot-rw-r--r-- 1 root root 18054 Jan 3 12:04 htmlentitydefs.py-rw-r--r-- 1 root root 12869 Jan 3 12:04 htmllib.py-rw-r--r-- 1 root root 46451 Jan 3 12:04 httplib.py-rw-r--r-- 1 root root 34955 Jan 5 10:15 httplib.pyc-rw-r--r-- 1 root root 18986 Jan 3 12:04 ihooks.py-rw-r--r-- 1 root root 47665 Jan 3 12:04 imaplib.py-rw-r--r-- 1 root root 3544 Jan 3 12:04 imghdr.pydrwxr-xr-x 2 root root 4096 Jan 4 21:43 importlib-rw-r--r-- 1 root root 25764 Jan 3 12:04 imputil.py-rw-r--r-- 1 root root 42462 Jan 3 12:04 inspect.py-rw-r--r-- 1 root root 39847 Jan 5 10:25 inspect.pyc-rw-r--r-- 1 root root 3624 Jan 3 12:04 io.pydrwxr-xr-x 2 root root 4096 Jan 4 21:43 json-rwxr-xr-x 1 root root 1994 Jan 3 12:04 keyword.py-rw-r--r-- 1 root root 2099 Jan 4 21:49 keyword.pycdrwxr-xr-x 2 root root 4096 Jan 4 21:48 lib-dynload-rw-r--r-- 1 root root 3964 Jan 3 12:04 linecache.py-rw-r--r-- 1 root root 3199 Jan 4 21:49 linecache.pyc-rw-r--r-- 1 root root 89267 Jan 3 12:04 locale.py-rw-r--r-- 1 root root 49665 Jan 5 10:15 locale.pycdrwxr-xr-x 2 root root 4096 Jan 5 10:25 logging-rw-r--r-- 1 root root 6252 Jan 3 12:04 macpath.py-rw-r--r-- 1 root root 3275 Jan 3 12:04 macurl2path.py-rw-r--r-- 1 root root 78323 Jan 3 12:04 mailbox.py-rw-r--r-- 1 root root 7427 Jan 3 12:04 mailcap.py-rw-r--r-- 1 root root 14643 Jan 3 12:04 markupbase.py-rw-r--r-- 1 root root 358 Jan 3 12:04 md5.py-rw-r--r-- 1 root root 33434 Jan 3 12:04 mhlib.py-rw-r--r-- 1 root root 7168 Jan 3 12:04 mimetools.py-rw-r--r-- 1 root root 8182 Jan 5 10:15 mimetools.pyc-rw-r--r-- 1 root root 20609 Jan 3 12:04 mimetypes.py-rwxr-xr-x 1 root root 15021 Jan 3 12:04 mimify.py-rw-r--r-- 1 root root 24283 Jan 3 12:04 modulefinder.py-rw-r--r-- 1 root root 4820 Jan 3 12:04 multifile.pydrwxr-xr-x 3 root root 4096 Jan 4 21:42 multiprocessing-rw-r--r-- 1 root root 1877 Jan 3 12:04 mutex.py-rw-r--r-- 1 root root 4576 Jan 3 12:04 netrc.py-rw-r--r-- 1 root root 610 Jan 3 12:04 new.py-rw-r--r-- 1 root root 21135 Jan 3 12:04 nntplib.py-rw-r--r-- 1 root root 18457 Jan 3 12:04 ntpath.py-rw-r--r-- 1 root root 2371 Jan 3 12:04 nturl2path.py-rw-r--r-- 1 root root 10276 Jan 3 12:04 numbers.py-rw-r--r-- 1 root root 13845 Jan 5 10:25 numbers.pyc-rw-r--r-- 1 root root 5474 Jan 3 12:04 opcode.py-rw-r--r-- 1 root root 6139 Jan 5 10:25 opcode.pyc-rw-r--r-- 1 root root 61124 Jan 3 12:04 optparse.py-rw-r--r-- 1 root root 53769 Jan 5 10:15 optparse.pyc-rw-r--r-- 1 root root 25769 Jan 3 12:04 os.py-rw-r--r-- 1 root root 25451 Jan 4 21:49 os.pyc-rw-r--r-- 1 root root 4603 Jan 3 12:04 os2emxpath.py-rw-r--r-- 1 root root 7913 Jan 3 12:04 pdb.doc-rwxr-xr-x 1 root root 46016 Jan 3 12:04 pdb.py-rw-r--r-- 1 root root 45135 Jan 3 12:04 pickle.py-rw-r--r-- 1 root root 38231 Jan 5 10:26 pickle.pyc-rw-r--r-- 1 root root 74539 Jan 3 12:04 pickletools.py-rw-r--r-- 1 root root 9582 Jan 3 12:04 pipes.py-rw-r--r-- 1 root root 20346 Jan 3 12:04 pkgutil.pydrwxr-xr-x 2 root root 4096 Jan 4 21:42 plat-linux2-rwxr-xr-x 1 root root 52339 Jan 3 12:04 platform.py-rw-r--r-- 1 root root 36683 Jan 5 10:15 platform.pyc-rw-r--r-- 1 root root 15176 Jan 3 12:04 plistlib.py-rw-r--r-- 1 root root 8416 Jan 3 12:04 popen2.py-rw-r--r-- 1 root root 12388 Jan 3 12:04 poplib.py-rw-r--r-- 1 root root 8003 Jan 3 12:04 posixfile.py-rw-r--r-- 1 root root 13182 Jan 3 12:04 posixpath.py-rw-r--r-- 1 root root 11148 Jan 4 21:49 posixpath.pyc-rw-r--r-- 1 root root 11932 Jan 3 12:04 pprint.py-rw-r--r-- 1 root root 10203 Jan 5 10:25 pprint.pyc-rwxr-xr-x 1 root root 22782 Jan 3 12:04 profile.py-rw-r--r-- 1 root root 26425 Jan 3 12:04 pstats.py-rw-r--r-- 1 root root 5058 Jan 3 12:04 pty.py-rw-r--r-- 1 root root 5930 Jan 3 12:04 py_compile.py-rw-r--r-- 1 root root 6418 Jan 4 21:49 py_compile.pyc-rw-r--r-- 1 root root 13282 Jan 3 12:04 pyclbr.py-rwxr-xr-x 1 root root 6969 Jan 3 12:04 quopri.py-rw-r--r-- 1 root root 32268 Jan 3 12:04 random.py-rw-r--r-- 1 root root 25551 Jan 4 21:50 random.pyc-rw-r--r-- 1 root root 12959 Jan 3 12:04 re.py-rw-r--r-- 1 root root 13052 Jan 4 21:49 re.pyc-rw-r--r-- 1 root root 4296 Jan 3 12:04 repr.py-rw-r--r-- 1 root root 20148 Jan 3 12:04 rexec.py-rw-r--r-- 1 root root 33293 Jan 3 12:04 rfc822.py-rw-r--r-- 1 root root 31672 Jan 5 10:15 rfc822.pyc-rw-r--r-- 1 root root 5866 Jan 3 12:04 rlcompleter.py-rw-r--r-- 1 root root 7202 Jan 3 12:04 robotparser.py-rw-r--r-- 1 root root 10698 Jan 3 12:04 runpy.py-rw-r--r-- 1 root root 5088 Jan 3 12:04 sched.py-rw-r--r-- 1 root root 19050 Jan 3 12:04 sets.py-rw-r--r-- 1 root root 17884 Jan 3 12:04 sgmllib.py-rw-r--r-- 1 root root 393 Jan 3 12:04 sha.py-rw-r--r-- 1 root root 8078 Jan 3 12:04 shelve.py-rw-r--r-- 1 root root 11137 Jan 3 12:04 shlex.py-rw-r--r-- 1 root root 18366 Jan 3 12:04 shutil.py-rw-r--r-- 1 root root 18223 Jan 5 10:12 shutil.pycdrwxr-xr-x 7 root root 4096 Jan 5 17:56 site-packages-rw-r--r-- 1 root root 20244 Jan 3 12:04 site.py-rw-r--r-- 1 root root 19803 Jan 4 21:49 site.pyc-rwxr-xr-x 1 root root 18543 Jan 3 12:04 smtpd.py-rwxr-xr-x 1 root root 31073 Jan 3 12:04 smtplib.py-rw-r--r-- 1 root root 5973 Jan 3 12:04 sndhdr.py-rw-r--r-- 1 root root 20485 Jan 3 12:04 socket.py-rw-r--r-- 1 root root 16031 Jan 5 10:15 socket.pycdrwxr-xr-x 3 root root 4096 Jan 5 10:16 sqlite3-rw-r--r-- 1 root root 384 Jan 3 12:04 sre.py-rw-r--r-- 1 root root 16427 Jan 3 12:04 sre_compile.py-rw-r--r-- 1 root root 11029 Jan 4 21:49 sre_compile.pyc-rw-r--r-- 1 root root 7137 Jan 3 12:04 sre_constants.py-rw-r--r-- 1 root root 6078 Jan 4 21:49 sre_constants.pyc-rw-r--r-- 1 root root 26798 Jan 3 12:04 sre_parse.py-rw-r--r-- 1 root root 19028 Jan 4 21:49 sre_parse.pyc-rw-r--r-- 1 root root 15940 Jan 3 12:04 ssl.py-rw-r--r-- 1 root root 14500 Jan 5 10:15 ssl.pyc-rw-r--r-- 1 root root 1842 Jan 3 12:04 stat.py-rw-r--r-- 1 root root 2731 Jan 4 21:49 stat.pyc-rw-r--r-- 1 root root 898 Jan 3 12:04 statvfs.py-rw-r--r-- 1 root root 20756 Jan 3 12:04 string.py-rw-r--r-- 1 root root 19906 Jan 4 21:49 string.pyc-rw-r--r-- 1 root root 12449 Jan 3 12:04 stringold.py-rw-r--r-- 1 root root 13522 Jan 3 12:04 stringprep.py-rw-r--r-- 1 root root 82 Jan 3 12:04 struct.py-rw-r--r-- 1 root root 237 Jan 5 10:15 struct.pyc-rw-r--r-- 1 root root 55621 Jan 3 12:04 subprocess.py-rw-r--r-- 1 root root 39841 Jan 5 10:26 subprocess.pyc-rw-r--r-- 1 root root 16537 Jan 3 12:04 sunau.py-rw-r--r-- 1 root root 1399 Jan 3 12:04 sunaudio.py-rwxr-xr-x 1 root root 2056 Jan 3 12:04 symbol.py-rw-r--r-- 1 root root 7518 Jan 3 12:04 symtable.py-rw-r--r-- 1 root root 25574 Jan 3 12:04 sysconfig.py-rw-r--r-- 1 root root 17431 Jan 4 21:49 sysconfig.pyc-rwxr-xr-x 1 root root 11336 Jan 3 12:04 tabnanny.py-rw-r--r-- 1 root root 88986 Jan 3 12:04 tarfile.py-rw-r--r-- 1 root root 21808 Jan 3 12:04 telnetlib.py-rw-r--r-- 1 root root 18061 Jan 3 12:04 tempfile.py-rw-r--r-- 1 root root 19755 Jan 4 21:50 tempfile.pyc-rw-r--r-- 1 root root 16848 Jan 3 12:04 textwrap.py-rw-r--r-- 1 root root 11647 Jan 5 10:15 textwrap.pyc-rw-r--r-- 1 root root 1002 Jan 3 12:04 this.py-rw-r--r-- 1 root root 32474 Jan 3 12:04 threading.py-rw-r--r-- 1 root root 28150 Jan 5 10:15 threading.pyc-rw-r--r-- 1 root root 12101 Jan 3 12:04 timeit.py-rw-r--r-- 1 root root 3142 Jan 3 12:04 toaiff.py-rwxr-xr-x 1 root root 2944 Jan 3 12:04 token.py-rw-r--r-- 1 root root 3806 Jan 5 10:25 token.pyc-rw-r--r-- 1 root root 16465 Jan 3 12:04 tokenize.py-rw-r--r-- 1 root root 13853 Jan 5 10:25 tokenize.pyc-rw-r--r-- 1 root root 29890 Jan 3 12:04 trace.py-rw-r--r-- 1 root root 11255 Jan 3 12:04 traceback.py-rw-r--r-- 1 root root 11583 Jan 4 21:49 traceback.pyc-rw-r--r-- 1 root root 879 Jan 3 12:04 tty.py-rw-r--r-- 1 root root 2040 Jan 3 12:04 types.py-rw-r--r-- 1 root root 2494 Jan 4 21:49 types.pycdrwxr-xr-x 3 root root 4096 Jan 4 21:43 unittest-rw-r--r-- 1 root root 57695 Jan 3 12:04 urllib.py-rw-r--r-- 1 root root 49711 Jan 5 10:15 urllib.pyc-rw-r--r-- 1 root root 51551 Jan 3 12:04 urllib2.py-rw-r--r-- 1 root root 46237 Jan 5 10:15 urllib2.pyc-rw-r--r-- 1 root root 14414 Jan 3 12:04 urlparse.py-rw-r--r-- 1 root root 13644 Jan 5 10:15 urlparse.pyc-rw-r--r-- 1 root root 1627 Jan 3 12:04 user.py-rw-r--r-- 1 root root 1722 Jan 5 10:12 user.pyc-rwxr-xr-x 1 root root 6555 Jan 3 12:04 uu.py-rw-r--r-- 1 root root 21095 Jan 3 12:04 uuid.py-rw-r--r-- 1 root root 14044 Jan 3 12:04 warnings.py-rw-r--r-- 1 root root 13094 Jan 4 21:49 warnings.pyc-rw-r--r-- 1 root root 18099 Jan 3 12:04 wave.py-rw-r--r-- 1 root root 10693 Jan 3 12:04 weakref.py-rw-r--r-- 1 root root 13946 Jan 5 10:15 weakref.pyc-rw-r--r-- 1 root root 21705 Jan 3 12:04 webbrowser.py-rw-r--r-- 1 root root 3379 Jan 3 12:04 whichdb.pydrwxr-xr-x 2 root root 4096 Jan 4 21:43 wsgiref-rw-r--r-- 1 root root 187 Jan 3 12:04 wsgiref.egg-info-rw-r--r-- 1 root root 5563 Jan 3 12:04 xdrlib.pydrwxr-xr-x 6 root root 4096 Jan 4 21:43 xml-rw-r--r-- 1 root root 34865 Jan 3 12:04 xmllib.py-rw-r--r-- 1 root root 51323 Jan 3 12:04 xmlrpclib.py-rw-r--r-- 1 root root 54059 Jan 3 12:04 zipfile.py
root@TL-WMR4300:~# python
Python 2.7.3 (default, Jan 3 2014, 12:04:02)
[GCC 4.6.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Cheetah.Template
>>> Cheetah.Template.__file__
'/usr/lib/python2.7/site-packages/Cheetah/Template.pyc'I now have something to do with Template.py?
--
Feb 1 14:49:28 TL-WMR4300 user.info weewx[1548]: wxengine: Initializing weewx version 2.6.0a6
Feb 1 14:49:28 TL-WMR4300 user.info weewx[1548]: wxengine: Using Python 2.7.3 (default, Jan 3 2014, 12:04:02) [GCC 4.6.4]
Feb 1 14:49:28 TL-WMR4300 user.info weewx[1548]: wxengine: Using configuration file /home/weewx/weewx.conf
Feb 1 14:49:28 TL-WMR4300 user.info weewx[1548]: wxengine: Loading station type WMR9x8 (weewx.drivers.wmr9x8)
Feb 1 14:49:28 TL-WMR4300 user.info weewx[1548]: wxengine: StdConvert target unit is 0x10
Feb 1 14:49:28 TL-WMR4300 user.info weewx[1548]: wxengine: Record generation will be attempted in 'hardware'
Feb 1 14:49:28 TL-WMR4300 user.info weewx[1548]: wxengine: Using archive interval of 300 seconds
Feb 1 14:49:28 TL-WMR4300 user.info weewx[1548]: wxengine: Using archive database: archive_sqlite
Feb 1 14:49:28 TL-WMR4300 user.info weewx[1548]: stats: stats database up to date.
Feb 1 14:49:28 TL-WMR4300 user.info weewx[1548]: wxengine: Using stats database: stats_sqlite
Feb 1 14:49:29 TL-WMR4300 user.info weewx[1548]: restx: Wunderground-PWS: Data for station XXXXXXXXXXX will be posted
Feb 1 14:49:29 TL-WMR4300 user.info weewx[1548]: restx: PWSWeather: Data for station XXXXXXXXX will be posted
Feb 1 14:49:29 TL-WMR4300 user.info weewx[1548]: wxengine: Starting up weewx version 2.6.0a6
Feb 1 14:49:29 TL-WMR4300 user.info weewx[1548]: wxengine: Starting main packet loop.
....
Feb 1 14:55:34 TL-WMR4300 user.notice weewx[1548]: archive: added to table 'archive' of database 'weewx.sdb' a record with timestamp 2014-02-01 14:55:00 ??? (1391262900)Feb 1 14:55:34 TL-WMR4300 user.crit weewx[1548]: restx: PWSWeather: Thread exiting: 'UV'Feb 1 14:55:34 TL-WMR4300 user.crit weewx[1548]: restx: Wunderground-PWS: Thread exiting: 'UV'
#!/bin/sh /etc/rc.common
START=99
start()
{
/home/weewx/bin/weewxd /home/weewx/weewx.conf
}
[[BigReport]]
skin = Standard
HTML_ROOT = public_html/big
[[[Images]]]
image_width = 1200
image_height = 720[[BigReport]]
skin = Standard
HTML_ROOT = public_html/big
[[[ImageGenerator]]]
image_width = 1200
image_height = 720
Feb 1 18:25:42 OpenWrtv2 user.err weewx[1335]: cheetahgenerator: generate failed with exception '<type 'exceptions.UnicodeDecodeError'>'
Feb 1 18:25:42 OpenWrtv2 user.err weewx[1335]: cheetahgenerator: **** ignoring template /home/weewx/skins/Standard/NOAA/NOAA-YYYY-MM.txt.tmpl
Feb 1 18:25:42 OpenWrtv2 user.err weewx[1335]: cheetahgenerator: **** reason: 'utf8' codec can't decode byte 0xa3 in position 11: invalid start byte
Feb 1 18:25:43 OpenWrtv2 user.info weewx[1335]: **** Traceback (most recent call last):
Feb 1 18:25:43 OpenWrtv2 user.info weewx[1335]: **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 264, in generate
Feb 1 18:25:43 OpenWrtv2 user.info weewx[1335]: **** print >> _file, text
Feb 1 18:25:43 OpenWrtv2 user.info weewx[1335]: **** File "/usr/lib/python2.7/site-packages/Cheetah-2.4.4-py2.7.egg/Cheetah/Template.py", line 1005, in __str__
Feb 1 18:25:43 OpenWrtv2 user.info weewx[1335]: **** rc = getattr(self, mainMethName)()
Feb 1 18:25:43 OpenWrtv2 user.info weewx[1335]: **** File "_home_weewx_skins_Standard_NOAA_NOAA_YYYY_MM_txt_tmpl.py", line 383, in respond
Feb 1 18:25:43 OpenWrtv2 user.info weewx[1335]: **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 603, in filter
Feb 1 18:25:43 OpenWrtv2 user.info weewx[1335]: **** filtered = val.decode('utf-8').encode('ascii', 'ignore')
Feb 1 18:25:43 OpenWrtv2 user.info weewx[1335]: **** File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
Feb 1 18:25:43 OpenWrtv2 user.info weewx[1335]: **** return codecs.utf_8_decode(input, errors, True)
Feb 1 18:25:43 OpenWrtv2 user.info weewx[1335]: **** UnicodeDecodeError: 'utf8' codec can't decode byte 0xa3 in position 11: invalid start byte
Feb 1 18:25:43 OpenWrtv2 user.info weewx[1335]: cheetahgenerator: generated 0 'SummaryByMonth' files for StandardReport in 4.72 seconds
All I can say is that your version of Python is not finding the version of Cheetah that you installed. You're going to have to find it yourself and include it in PYTHONPATH. The rest is up to you.
-tk