la-famiglia-jst2324 / parma-analytics

ParmaAI analytics repository providing data processing and inference.
3 stars 0 forks source link

company_source_measurement not created for text and parapraph data #113

Closed Constantin343 closed 9 months ago

Constantin343 commented 9 months ago

When data for a datasource is sent to analytics for the first time the corresponding company_source_measurement are created. But somehow the expected entries in company_source_measurement are not created for measurements with type text and paragraph.

Therefore also no data can be written to measurement_text_value, etc. (Probably explaining this error: ERROR:root:An error occurred: ‘NoneType’ object has no attribute ‘value’)

It appears to be fully working other data types like int

@alouiii do you have an idea why this is the case? It used to work last week, can it be related to some notification changes?

Constantin343 commented 9 months ago

Hopefully already covered by https://github.com/la-famiglia-jst2324/parma-analytics/issues/104 Will check again when this was addressed

alouiii commented 9 months ago

FYI: generating/sending the notification precedes storing the newly added value. So if you can read the data from the DB. It means everything was ok

alouiii commented 9 months ago

@Constantin343 let me know if we can close this now :)

Constantin343 commented 9 months ago

Yes it seems to work now :)