Handle ges_elem with no parent in previewers.py
@shakaran
Submitted by Angel Guzman Maeso Assigned to Alex Băluț @aleb
Description
With master. I get the following traces. I think that it is because some .png assets doesn't get the preview and cannot render the preview for this error:
Traceback (most recent call last):
File "/app/lib/pitivi/python/pitivi/timeline/previewers.py", line 1014, in _startLevelsDiscovery
self._launchPipeline()
File "/app/lib/pitivi/python/pitivi/timeline/previewers.py", line 1025, in _launchPipeline
asset = self.ges_elem.get_parent().get_asset()
AttributeError: 'NoneType' object has no attribute 'get_asset'