OpenWRT and WeeWX need help

807 views
Skip to first unread message

alste...@gmail.com

unread,
Jan 4, 2014, 7:50:28 AM1/4/14
to weewx...@googlegroups.com
Hi!
I try to run on the router (OpenWRT)

python-sqlite3 module installed

I do not know how to fix this problem?

Thanks!



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.

Thomas Keffer

unread,
Jan 4, 2014, 9:02:21 AM1/4/14
to weewx-user
Sorry, but I don't know how to fix it either. It's a problem with the sqlite port on OpenWRT, not weewx.

Try a Google search. My quick look showed several candidate solutions, mostly having to do with installing missing modules.

-tk



--
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.

mwall

unread,
Jan 4, 2014, 9:21:57 AM1/4/14
to weewx...@googlegroups.com
On Saturday, January 4, 2014 7:50:28 AM UTC-5, alste...@gmail.com wrote:
Hi!
I try to run on the router (OpenWRT)

python-sqlite3 module installed

I do not know how to fix this problem?

please let us know how this progresses.  openwrt will run on the dlink 505L routers, which cost only 35 USD on amazon (under 20 USD used).  these devices have only 64M of RAM, but that should be enough to run weewx as a data collector.  one could save data and do all of the report generation on a different machine...

m

alste...@gmail.com

unread,
Jan 5, 2014, 4:42:55 AM1/5/14
to weewx...@googlegroups.com
Problem solved!
Need to use the version  python-sqlite3_2.7.3-2_ar71xx.ipk (trunk)


but there is another question
what to do with this?

/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! "

Thomas Keffer

unread,
Jan 5, 2014, 7:35:33 AM1/5/14
to weewx-user
There was a recent thread on porting to the Synology with the same problem.

As you can see from that thread, weewx mostly works with the Python version of Cheetah. The biggest problem is that the all-important $current tag does not work.

The best solution is to get the C version of Cheetah working on your system. Try downloading it and compiling.

If that doesn't work, then can you wait a few weeks? I am in Mexico right now, but when I get home I plan on diagnosing the problem and figuring out why $current does not work. It's on the ticket list.

-tk


--

alste...@gmail.com

unread,
Jan 5, 2014, 11:22:11 AM1/5/14
to weewx...@googlegroups.com
Thanks, I will try.

I'll wait, thanks a lot
Message has been deleted

alste...@gmail.com

unread,
Jan 6, 2014, 3:32:08 AM1/6/14
to weewx...@googlegroups.com
Thank Tom for the reply und help

Unfortunately, install C version of Cheetah has not helped. That doesn't work.

Thomas Keffer

unread,
Jan 6, 2014, 8:04:00 AM1/6/14
to weewx-user
What do you mean it "doesn't work?" Do you mean that you still get the "You don't have the C version of NameMapper installed" error? 

If so, then this is a path problem. Weewx is not picking up the version you installed. Unfortunately, I am far from home, so I do not have a Linux machine in front of me, so it's hard for me to get too specific on how to fix this. You'll have to find the version you installed, and the version that was previously there. Delete the latter, then make sure the former is in your PYTHONPATH.

I know these directions are vague, but that's the best I can do, unless someone else wants to pitch in. I just don't recall where the Cheetah install puts things (probably /usr/local/lib?)

-tk




On Mon, Jan 6, 2014 at 12:32 AM, <alste...@gmail.com> wrote:
Thank Tom for the reply und help

Unfortunately, install C version of Cheetah has not helped. That doesn't work.

alste...@gmail.com

unread,
Jan 7, 2014, 7:31:03 AM1/7/14
to weewx...@googlegroups.com
Yes.  "You don't have the C version of NameMapper installed" error  +

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.tmpl
Jan  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 generate
Jan  7 13:25:30 TL-WMR4300 user.info weewx[3609]: ****      print >> _file, text
Jan  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 respond
Jan  7 13:25:30 TL-WMR4300 user.info weewx[3609]: ****    File "/usr/lib/python2.7/site-packages/Cheetah/NameMapper.py", line 245, in valueFromSearchList
Jan  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 _valueForName
Jan  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 _raiseNotFoundException
Jan  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'


I do not know which file change path.


Thanks

Thomas Keffer

unread,
Jan 7, 2014, 8:07:00 AM1/7/14
to weewx-user
So, let me summarize and make sure I understand you correctly:

You installed the C version of Cheetah and it installed without error. You then restarted weewx, but you still get the "You don't have the C version of NameMapper installed" error. 

Is that correct?

-tk



alste...@gmail.com

unread,
Jan 7, 2014, 8:32:51 AM1/7/14
to weewx...@googlegroups.com
Yes!  i installed the C version of Cheetah. I then restarted weewx, but you still get the
/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! "

Thomas Keffer

unread,
Jan 7, 2014, 9:23:18 AM1/7/14
to weewx-user
OK, then it is a path problem. Your version of Python is not finding the freshly installed version of Cheetah.

Unfortunately, I am not in a position to help right now, because all I have is a Windows 8 machine. Perhaps someone else can step in?

I would try something like

$ python
>>> import cheetah
>>> print cheetah.version

and

$ ls -l /usr/local/lib/python*

and work from there.

-tk

alste...@gmail.com

unread,
Jan 7, 2014, 11:28:04 AM1/7/14
to weewx...@googlegroups.com
$python
>>> import cheetah
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named cheetah



/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.pyc
drwxr-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.py
drwxr-xr-x    2 root     root          4096 Jan  4 21:42 compiler
drwxr-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.py
drwxr-xr-x    3 root     root          4096 Jan  4 21:43 ctypes
drwxr-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.pyc
drwxr-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.py
drwxr-xr-x    3 root     root          4096 Jan  4 21:49 email
drwxr-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.py
drwxr-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.py
drwxr-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.py
drwxr-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.pyc
drwxr-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.pyc
drwxr-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.py
drwxr-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.py
drwxr-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.pyc
drwxr-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.pyc
drwxr-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.pyc
drwxr-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.py
drwxr-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.py
drwxr-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


Thomas Keffer

unread,
Jan 7, 2014, 1:41:44 PM1/7/14
to weewx-user
Sorry. Got the Python import name wrong.

Try

$python
>>> import Cheetah.Template
>>> Cheetah.Template.__file__
 
This will tell where on the filesystem the version of Cheetah your Python interpreter is using is located. Is this the same as where you installed it?

Finally: you are working on a very specialized platform. In the end, you're going to have to do some sleuthing.

-tk




alste...@gmail.com

unread,
Jan 8, 2014, 12:59:17 PM1/8/14
to weewx...@googlegroups.com
Thanks Tom for your time.
I got this answer:

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'


What do I do next? :)

alste...@gmail.com

unread,
Jan 12, 2014, 10:29:19 AM1/12/14
to weewx...@googlegroups.com
I now have something to do with Template.py?

Thomas Keffer

unread,
Jan 12, 2014, 1:03:25 PM1/12/14
to weewx-user
As I said, you have a path problem. Your version of Python is not finding the freshly installed version of Cheetah. It is only finding the early version (the one with the pure Python NameMapper).

You are using a very unusual operating system --- sorry, but you are going to have to do some sleuthing to figure this out.

-tk



On Sun, Jan 12, 2014 at 7:29 AM, <alste...@gmail.com> wrote:
I now have something to do with Template.py?

--

alste...@gmail.com

unread,
Jan 12, 2014, 2:24:34 PM1/12/14
to weewx...@googlegroups.com
I understand.

And but my Cheetah still something generates.The problem one that the screenshot does not fix it?

Thomas Keffer

unread,
Jan 12, 2014, 3:00:18 PM1/12/14
to weewx-user
Yes, that is the symptom of using the "pure Python" version of Cheetah, rather than the C version.

-tk

alste...@gmail.com

unread,
Jan 17, 2014, 10:38:56 AM1/17/14
to weewx...@googlegroups.com
This can be fixed manually? Edit a specific file?

Thomas Keffer

unread,
Jan 17, 2014, 12:49:37 PM1/17/14
to weewx-user
Let me be explicit: you are using a very unusual, nonstandard setup. You are going to have to do your own sleuthing.

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


Thomas Keffer

unread,
Jan 18, 2014, 12:06:01 PM1/18/14
to weewx-user
This has now been fixed in r1900, to appear in v2.6. 

-tk

alste...@gmail.com

unread,
Feb 1, 2014, 9:01:46 AM2/1/14
to weewx...@googlegroups.com
Thanks! 
On weewx v2.6.0a6 cheetahgenerator works! 
But in this version I have does not work section [StdRESTful].

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'


Other data in the log is not from restx

Thomas Keffer

unread,
Feb 1, 2014, 9:08:12 AM2/1/14
to weewx-user
I believe you have uncovered a bug. Try this patch.

Index: bin/weewx/restx.py
===================================================================
--- bin/weewx/restx.py (revision 2027)
+++ bin/weewx/restx.py (working copy)
@@ -677,7 +677,7 @@
         # Go through each of the supported types, formatting it, then adding
         # to _liststr:
         for _key in AmbientThread._formats:
-            _v = record[_key]
+            _v = record.get(_key)
             # Check to make sure the type is not null
             if _v is not None :
                 if _key == 'dateTime':

-tk


alste...@gmail.com

unread,
Feb 1, 2014, 9:32:12 AM2/1/14
to weewx...@googlegroups.com
Thanks for the quick reply :)

Fixed on.

 # Go through each of the supported types, formatting it, then adding
        # to _liststr:
        for _key in AmbientThread._formats:
            _v = record.get[_key]
            # Check to make sure the type is not null
            if _v is not None :
                if _key == 'dateTime':

Now in the log:
Feb  1 15:25:19 TL-WMR4300 user.crit weewx[1574]: restx: PWSWeather: Thread exiting: 'builtin_function_or_method' object has no attribute '__getitem__'
Feb  1 15:25:19 TL-WMR4300 user.crit weewx[1574]: restx: Wunderground-PWS: Thread exiting: 'builtin_function_or_method' object has no attribute '__getitem__'

Data is not transmitted

alste...@gmail.com

unread,
Feb 1, 2014, 9:33:47 AM2/1/14
to weewx...@googlegroups.com
My error!  [] <> ()


Am Samstag, 1. Februar 2014 15:08:12 UTC+1 schrieb Tom Keffer:

Thomas Keffer

unread,
Feb 1, 2014, 9:46:16 AM2/1/14
to weewx-user
Almost, but not quite.

It's 

            _v = record.get(_key)

not

            _v = record.get[_key]  # NO!

-tk


alste...@gmail.com

unread,
Feb 1, 2014, 10:00:23 AM2/1/14
to weewx...@googlegroups.com
Yes Tom!
It works! :)

Another 2 problems have:

1.  (Startup) etc/init.d/weewx  for OpenWRT 
I have very simple
#!/bin/sh /etc/rc.common
START
=99
start
()
{
/home/weewx/bin/weewxd /home/weewx/weewx.conf
}


2. BigReportnot working correctly

I have

[[BigReport]]
        skin
= Standard
        HTML_ROOT
= public_html/big
       
[[[Images]]]
            image_width
= 1200
            image_height
= 720

but such is the size of graphs as standard

Thomas Keffer

unread,
Feb 1, 2014, 11:44:53 AM2/1/14
to weewx-user
You found another problem! It appears that the comments in file weewx.conf are wrong. You'll need to specify

[[BigReport]]
        skin = Standard
        HTML_ROOT = public_html/big
        [[[ImageGenerator]]]

            image_width = 1200
            image_height = 720

-tk

alste...@gmail.com

unread,
Feb 1, 2014, 12:10:19 PM2/1/14
to weewx...@googlegroups.com
Fixed.
 It works now! :)

Very Thanks!

Piotr Kazimierski

unread,
Feb 1, 2014, 12:55:57 PM2/1/14
to weewx...@googlegroups.com
I am trying to run weewx on OpenWrt Attitude Adjustment 12.09 on router Asus Wl500gp. Now I remove process generating reports, namely Cheetah. So, I end with measuremets stored in sqlite bases: weew.sdb and stats.sdb.
Cheetah is no workin for me because I do not have the C version moreover in log I see many errors:

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

Where did you found the C version? Will it work on my setup? 

alste...@gmail.com

unread,
Feb 1, 2014, 2:37:53 PM2/1/14
to weewx...@googlegroups.com
Am Freitag, 17. Januar 2014 18:49:37 UTC+1 schrieb Tom Keffer:
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


This has now been fixed in r1900, to appear in v2.6. 

 

Reply all
Reply to author
Forward
0 new messages