anitagraser/TimeManager — Issue #22: Error when closing a project without time layers
Author: anitagraser
Created: 2012-02-28 19:44:21+00:00
State: open
Labels: bug

Traceback (most recent call last):
File "C:\Users\Anita/.qgis/python/plugins\timemanager_dev\timemanagercontrol.py", line 54, in restoreDefaults
self.setTimeFrameType('days')
File "C:\Users\Anita/.qgis/python/plugins\timemanager_dev\timemanagercontrol.py", line 229, in setTimeFrameType
self.writeSettings()
File "C:\Users\Anita/.qgis/python/plugins\timemanager_dev\timemanagercontrol.py", line 242, in writeSettings
(timeLayerManagerSettings,timeLayerList) = self.timeLayerManager.getSaveString()
File "C:\Users\Anita/.qgis/python/plugins\timemanager_dev\timelayermanager.py", line 237, in getSaveString
saveString = datetime.strftime(self.projectTimeExtents[0], tdfmt) + ';'
TypeError: descriptor 'strftime' requires a 'datetime.date' object but received a 'NoneType'