Apologies for the double post. I accidentally sent the message before I was 
ready.

Here's the stack trace.
Traceback (most recent call last):
  File "/usr/share/weewx/weewx/reportengine.py", line 239, in run
    obj.start()
  File "/usr/share/weewx/weewx/reportengine.py", line 273, in start
    self.run()
  File "/usr/share/weewx/weewx/imagegenerator.py", line 32, in run
    self.genImages(self.gen_ts)
  File "/usr/share/weewx/weewx/imagegenerator.py", line 72, in genImages
    archive = self.db_binder.get_manager(binding)
  File "/usr/share/weewx/weewx/manager.py", line 857, in get_manager
    self.manager_cache[data_binding] = open_manager(manager_dict, 
initialize)
  File "/usr/share/weewx/weewx/manager.py", line 1009, in open_manager
    manager_dict['table_name'])
  File "/usr/share/weewx/weewx/manager.py", line 104, in open
    dbmanager = cls(connection, table_name)
  File "/usr/share/weewx/weewx/manager.py", line 1149, in __init__
    raise weedb.OperationalError("No day summary schema for table '%s' in 
database '%s'" % (self.table_name, connection.database_name))
OperationalError: No day summary schema for table 'archive' in database 
'purpleair.sdb'
Jan 15 19:44:52 raspberrypi wee_reports[14415]: copygenerator: copied 8 
files to /var/www/html/weewx

It looks likes it's something with the user.purpleair.schema not being 
passed through correctly or sometthing.

Any suggestions? This is v0.2 release from github.

Thanks.

On Monday, January 15, 2018 at 7:45:10 PM UTC-8, jonathan koren wrote:
>
> I just installed my purple air sensor, and am trying out weewx-purpleair, 
> but I'm having all sorts of problems getting the purpleair.sdb to be 
> created correctly. 
>
> Originally, purpleair.sdb wasn't created, so I created it along with the 
> archive table, but it still isn't working. It's now complaining about 
> OperationalError: No day summary schema for table 'archive' in database 
> 'purpleair.sdb'
>
>
> On Wednesday, January 10, 2018 at 8:14:48 AM UTC-8, Kenneth Baker wrote:
>>
>> Hi Daniel, 
>>
>> Please give this a try: https://github.com/bakerkj/weewx-purpleair.  The 
>> installation procedure is untested at the moment.  Comments, suggestions, 
>> new 
>> feature requests are all welcome. 
>>
>> -- Ken 
>>
>>
>> P.S.  Matthew, I modeled this plugin on your cmon extension - Thanks! 
>>
>>
>>
>>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to