Page MenuHomePhabricator
Paste P14471

reportupdater error
ActivePublic

Authored by razzi on Feb 25 2021, 1:29 AM.
Tags
None
Referenced Files
F34121712: reportupdater error
Feb 25 2021, 1:29 AM
Subscribers
None
razzi@an-launcher1002:~$ /usr/bin/python3 /srv/reportupdater/reportupdater/update_reports.py -l info /srv/reportupdater/jobs/reportupdater-queries/templatewizard output/
2021-02-25 01:27:40,282 - INFO - Starting execution.
2021-02-25 01:27:40,285 - INFO - Executing "<Report key=template_wizard_opens type=script granularity=days lag=18000 is_funnel=True first_date=2021-01-13 start=2021-01-13 end=2021-01-14 db_key=None sql_template=None script=/srv/reportupdater/jobs/reportupdater-queries/templatewizard/hive/template_wizard_opens explode_by={} max_data_points=None graphite={'path': '{_metric}.byEditCount.{edit_count_bucket}.byWiki.{wiki}', 'metrics': {'MediaWiki.TemplateWizard.open': 'template_wizard_opens'}} results={'header': '[]', 'data': '0 rows'} group=None>"...
2021-02-25 01:27:47,204 - ERROR - Report "template_wizard_opens" could not be executed because of error: object of type 'NoneType' has no len()
Traceback (most recent call last):
File "/srv/reportupdater/reportupdater/reportupdater/executor.py", line 131, in execute_script_report
report.results = self.normalize_results(report, None, tsv_reader)
File "/srv/reportupdater/reportupdater/reportupdater/executor.py", line 171, in normalize_results
empty_row = [report.start] + [None] * (len(normalized_header) - 1)
TypeError: object of type 'NoneType' has no len()