OK, I've tried to glue this together without asking questions, but I'm falling at the last hurdle!
Have a Netgear WNR3500L/U/v2 running Tomato Firmware v1.28.7505 MIPSR2Toastman-RT K26 USB Ext.
Installed python via optware to a USB key, after trying various I have Python25, py25-usb, py25-cheetah and py25-configobj with relevant dependencies.
Could not find a python-imaging for this rev, but saw it was likely not needed as all I want to do is push data from Acurite 5-in-1 to Wunderground.
(Thanks to those who recently produced the Acurite.py driver).
Finally got everything to build and apparently happy.
Start with: weewxd weewx.conf
Get:
Error: Traceback (most recent call last):
File "./bin/weewxd", line 61, in <module>
weewx.engine.main(options, args)
File "/opt/apps/weewx/bin/weewx/engine.py", line 834, in main
engine = EngineClass(config_dict)
File "/opt/apps/weewx/bin/weewx/engine.py", line 74, in __init__
self.loadServices(config_dict)
File "/opt/apps/weewx/bin/weewx/engine.py", line 140, in loadServices
self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict))
File "/opt/apps/weewx/bin/weewx/engine.py", line 503, in __init__
self.setup_database(config_dict)
File "/opt/apps/weewx/bin/weewx/engine.py", line 601, in setup_database
dbmanager = self.engine.db_binder.get_manager(self.data_binding, initialize=True)
File "/opt/apps/weewx/bin/weewx/manager.py", line 833, in get_manager
self.manager_cache[data_binding] = open_manager(manager_dict, initialize)
File "/opt/apps/weewx/bin/weewx/manager.py", line 915, in open_manager
manager_dict['schema'])
File "/opt/apps/weewx/bin/weewx/manager.py", line 126, in open_with_create
connection = weedb.connect(database_dict)
File "/opt/apps/weewx/bin/weedb/__init__.py", line 49, in connect
__import__(db_dict['driver'])
File "/opt/apps/weewx/bin/weedb/sqlite.py", line 19, in <module>
from pysqlite2 import dbapi2 as sqlite3 #@Reimport @UnresolvedImport
ImportError: No module named pysqlite2
So it's falling back to attempt to import from pysqlite2 - which is not installed. Question is why?
Do I need to get pysqlite2 installed also, or is this a configuration issue with sqlite3 ?
Tried stopping it from dropping sqlite3, and I then get this error in the syslog:
weewx[23092]: engine: Caught database OperationalError: cannot start a transaction within a transaction
So close, can anyone who has actually got this working let me know what I'm missing - or give me any pointers to how they did this differently?
Thanks to everyone contributing to the project - looking forward to getting it running.
Nigel