Page MenuHomeSoftware Heritage

Configuration file when empty returns AttributeError: 'NoneType' object has no attribute 'get'
Open, LowPublic


During tests on swh-indexer
When debugging with @olasd the new tox command
First I had the following error: P328
resolved with

then I had ImportError: No module named 'swh.deposit'
because in the configuration file there were tasks that shouldn't be dealt during tests on swh-indexer

Lastly when keeping a worker.yml empty file, I had :
AttributeError: 'NoneType' object has no attribute 'get'

This was only solved when the file wasn't emty:
task_modules: [ ]

Event Timeline

moranegg triaged this task as Low priority.Oct 30 2018, 5:00 PM
moranegg created this task.