Page MenuHomePhabricator

Hard crash when configured with a column (property) that is never used on any items
Closed, ResolvedPublic

Description

note: the page is https://integraality.toolforge.org/update?url=https://www.wikidata.org/wiki/User:Amadalvarez/dashboard/motociclisme&page=User:Amadalvarez/dashboard/motociclisme

Error message:

Something catastrophic happened when processing page User:Amadalvarez/dashboard/motociclisme.

This is very likely a bug in inteGraality itself, not a configuration issue.

Please report this on Phabricator.

Traceback (most recent call last):

File "/data/project/integraality/www/python/src/app.py", line 29, in update processor.process_one_page(page_title)

File "./pages_processor.py", line 183, in process_one_page self.process_page(page)

File "./pages_processor.py", line 120, in process_page output = stats.retrieve_and_process_data()

File "/data/project/integraality/www/python/venv/lib/python3.7/site-packages/statsd/client/timer.py", line 38, in _wrapped return f(*args, **kwargs)

File "./property_statistics.py", line 367, in retrieve_and_process_data groupings = self.retrieve_data()

File "./property_statistics.py", line 386, in retrieve_data for grouping_item, value in data.items():

AttributeError: 'NoneType' object has no attribute 'items'

Event Timeline

JeanFred renamed this task from Undefined bug in integraality to Hard crash when configured with a column (property) that is never used on any items.Jun 11 2023, 12:51 PM
JeanFred closed this task as Resolved.
JeanFred claimed this task.
JeanFred triaged this task as High priority.

Thanks for the report. The issue was that the dashboard is configured with p710 as column, but that property is not used on any of the items in scope. Fixed with 9712666.