Unable to generate unlimited or main range maps after the changes to the bind variable.
Traceback (most recent call last):
File "C:\Users\ambell\Documents\PISCES\scripts\PISCES\tbx_generate_map.py", line 79, in
map_objects = mapping.begin("all", return_maps=True) # run the maps and get the objects
File "C:\Users\ambell\Documents\PISCES\scripts\PISCES\mapping.py", line 676, in begin
all_maps[i].populate(mapping_cursor)
File "C:\Users\ambell\Documents\PISCES\scripts\PISCES\mapping.py", line 122, in populate
layer.populate(db_cursor)
File "C:\Users\ambell\Documents\PISCES\scripts\PISCES\mapping.py", line 581, in populate
self.custom_query.process_bind() # for queries where the bind variable is needed multiple times, this replaces {bind} with the variable
File "C:\Users\ambell\Documents\PISCES\scripts\PISCES\mapping.py", line 648, in process_bind
for i in range(len(self.callback_args)): # TODO: this is a stupid hack and should be replaced
TypeError: object of type 'NoneType' has no len()
Original report by AndyB (Bitbucket: AndyB, GitHub: AndyB).
Unable to generate unlimited or main range maps after the changes to the bind variable.
Traceback (most recent call last): File "C:\Users\ambell\Documents\PISCES\scripts\PISCES\tbx_generate_map.py", line 79, in
map_objects = mapping.begin("all", return_maps=True) # run the maps and get the objects
File "C:\Users\ambell\Documents\PISCES\scripts\PISCES\mapping.py", line 676, in begin
all_maps[i].populate(mapping_cursor)
File "C:\Users\ambell\Documents\PISCES\scripts\PISCES\mapping.py", line 122, in populate
layer.populate(db_cursor)
File "C:\Users\ambell\Documents\PISCES\scripts\PISCES\mapping.py", line 581, in populate
self.custom_query.process_bind() # for queries where the bind variable is needed multiple times, this replaces {bind} with the variable
File "C:\Users\ambell\Documents\PISCES\scripts\PISCES\mapping.py", line 648, in process_bind
for i in range(len(self.callback_args)): # TODO: this is a stupid hack and should be replaced
TypeError: object of type 'NoneType' has no len()
Failed to execute (GenerateMap2).