bjornd / jvectormap

jvectormap.com
GNU Affero General Public License v3.0
1.38k stars 431 forks source link

So I get issue about AttributeError: 'NoneType' object has no attribute 'GetLayer', when creating new custom map #462

Open pathefone opened 4 years ago

pathefone commented 4 years ago

Traceback (most recent call last): File "jqvmap.py", line 575, in processor.process() File "jqvmap.py", line 478, in process getattr(self, action['name'])( action, self.data_sources.get(".") ) File "jqvmap.py", line 482, in read_data self.data_sources["."].load_data() File "jqvmap.py", line 247, in load_data self.layer = self.source.GetLayer(0) AttributeError: 'NoneType' object has no attribute 'GetLayer'