You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
doesn't work. The pipeline gets created anyway. Also, deleting sources=... from the stream-blanker when it's disabled fails
Traceback (most recent call last):
File "./voctocore/voctocore.py", line 100, in<module>main()
File "./voctocore/voctocore.py", line 94, in main
voctocore = Voctocore()
File "./voctocore/voctocore.py", line 50, in __init__
self.pipeline = Pipeline()
File "/var/voctomix/voctocore/lib/pipeline.py", line 110, in __init__
self.streamblanker = StreamBlanker()
File "/var/voctomix/voctocore/lib/streamblanker.py", line 16, in __init__
self.names = Config.getlist('stream-blanker', 'sources')
File "/var/voctomix/voctocore/lib/config.py", line 10, in getlist
return [x.strip() forxin self.get(section, option).split(',')]
File "/usr/lib/python3.4/configparser.py", line 765, in get
raise NoOptionError(option, section)
configparser.NoOptionError: No option 'sources'in section: 'stream-blanker'
I'll take part of the blame for this. I actually noticed the stream-blanker was always enabled, when I was doing the PEP8 conversion, but forgot to follow up on it. Thank you for raising this issue.
Having looked at lib/commands.py just now, I think the changes will probably have to be a bit more involved than the two diffs you provided. In particular without a stream-blanker the get_stream_status, set_stream_blank, and set_stream_live commands don't make sense and will TB.
Setting
doesn't work. The pipeline gets created anyway. Also, deleting
sources=...
from the stream-blanker when it's disabled failsI've successfully disabled the streamblanker
I can't really do a PR now but this is the diff
The blanker creation wasn't within the condition that checks if it should be enabled.
The text was updated successfully, but these errors were encountered: