IndexError: list index out of range
Traceback (most recent call last):
File "/home/fdo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QPackageQGZ/QPackage_dialog.py", line 217, in copierCouches
file_extension = chemin.suffixes[-1].lstrip('.')
IndexError: list index out of range
```
for layer in self.ordered_layers:
if chemin := Path(layer.source()):
file_extension = chemin.suffixes[-1].lstrip('.')
```
IndexError: list index out of range Traceback (most recent call last): File "/home/fdo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QPackageQGZ/QPackage_dialog.py", line 217, in copierCouches file_extension = chemin.suffixes[-1].lstrip('.')