Traceback (most recent call last):

 "pokecli.py", line 389, in <module>
main()

 "pokecli.py", line 68, in main
bot.tick()

 "/home/micdawg/.PokemonGo-Bot/pokemongo_bot/**init**.py", line 92, in tick
if worker(self).work() == WorkerResult.RUNNING:

 "/home/micdawg/.PokemonGo-Bot/pokemongo_bot/cell_workers/catch_visible_pokemon_worker.py", line 47, in work
lured_pokemon = self.get_lured_pokemon()

 "/home/micdawg/.PokemonGo-Bot/pokemongo_bot/cell_workers/catch_visible_pokemon_worker.py", line 53, in get_lured_pokemon
fort = forts[0]IndexError: list index out of range
Original Traceback (most recent call last):


 "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop

data = fetcher.fetch(index)


 "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch

data = [self.dataset[idx] for idx in possibly_batched_index]


 "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>

data = [self.dataset[idx] for idx in possibly_batched_index]


 "/content/detectron2_repo/detectron2/data/common.py", line 39, in __getitem__

data = self._map_func(self._dataset[cur_idx])


 "/content/detectron2_repo/detectron2/utils/serialize.py", line 23, in __call__

return self._obj(*args, **kwargs)


 "/content/detectron2_repo/detectron2/data/dataset_mapper.py", line 74, in __call__

image = utils.read_image(dataset_dict["file_name"], format=self.img_format)


 "/content/detectron2_repo/detectron2/data/detection_utils.py", line 49, in read_image

image = ImageOps.exif_transpose(image)


 "/usr/local/lib/python3.6/dist-packages/PIL/ImageOps.py", line 549, in exif_transpose

transposed_image.info["exif"] = exif.tobytes()


 "/usr/local/lib/python3.6/dist-packages/PIL/Image.py", line 3213, in tobytes

return b"Exif\x00\x00" + head + ifd.tobytes(offset)


 "/usr/local/lib/python3.6/dist-packages/PIL/TiffImagePlugin.py", line 837, in tobytes

count = len(data)
TypeError: object of type 'int' has no len()`
