Can't get it to work

Issue #1 new
Jésahel Benoist created an issue

Hi,

I wanted to test your plugin. I have a 4000x4000 pixels aerial photography and a 4000x4000 black and white classification picture but each time I launch the plugin I get theses messages in log:

index 16000593 is out of bounds for axis 0 with size 16000000

expected str, bytes or os.PathLike object, not NoneType

I’ve tried to change pictures with photoshop (1 bit), I get another bug. I’ve tried several things, nothing works.

QGIS 3.16

Regards,

Jésahel

Comments (2)

  1. Benjamin Jakimow

    Hi Jésahel, can you provide the full error message? usually there should be some line numbers that can point us to the code that causes the error.
    It might be also caused by the size of your image. Have you tried to run it on a subset of your data?

  2. Andreas Olsson

    I get the same isue

    Traceback (most recent call last):
    File "C:\Users/APO/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\lnns\interfaces_init_.py", line 119, in run_algorithm_images
    raise Exception("All images must have the same geographical parameters.")
    Exception: All images must have the same geographical parameters.

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "C:\Users/APO/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\lnns\interfaces\lnns_processing.py", line 217, in processAlgorithm
    result_path = run_algorithm_images(
    File "C:\Users/APO/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\lnns\interfaces_init_.py", line 153, in run_algorithm_images
    log_function(e)
    TypeError: QgsProcessingFeedback.pushInfo(): argument 1 has unexpected type 'Exception'

    Execution failed after 22.52 seconds

  3. Log in to comment