jbrzusto / TO_DO

sensorgnome / motus TODO list for jbrzusto
0 stars 0 forks source link

makeReceiverPlot failed for some jobs with `not a receiver database` error #148

Open jbrzusto opened 6 years ago

jbrzusto commented 6 years ago

Some receiver databases were missing a (dbType, receiver) record in their meta table. That has now been fixed manually in the affected databases, and I've verified that getRecvSrc() sets that value correctly when creating a database for a new receiver.

The jobs with these errors can be found from the status page by selecting jobs with log matching and then entering not a receiver and hitting the search button.

These jobs need to be retried:

jbrzusto commented 6 years ago

Most of these also needed a ('recvType', 'SENSORGNOME') entry added to their meta tables. Again, this works correctly when a new receiver database is created.

cjardine-bsc commented 6 years ago

There were 79 records in the database that had receiver_type is NULL.

I've populated all those records.

Should this field be required?

jbrzusto commented 6 years ago

This wasn't a problem with metadata from motus.org; it was a screw-up on my end: server-side receiver databases had been created through more than one path, one of which failed to set appropriate metadata.

BTW: when I've thought a problem is with motus.org, I've been filing the issue under MotusDev/MotusAPI or MotusDev/Motus-TO-DO. Any issues I've filed under one of my own repos (i.e. most of them!) are something I'm assuming is a problem that needs to be fixed on my side.