localdevices / pyorc

Surface velocity, object tracking, and river flow measurements in an open-source API
GNU Affero General Public License v3.0
140 stars 33 forks source link

No clear error message in CLI when supplying dst coordinates without vertical level #155

Closed hcwinsemius closed 6 months ago

hcwinsemius commented 7 months ago

How did you install pyopenrivercam (mamba / conda or pip)

pip

What is the problem?

receiving a difficult error message

File "C:\Users\LaurianneRoy\miniconda3\envs\pyorc\Lib\site-packages\pyorc\cli\cli_utils.py", line 282, in validate_dst assert(len(val) == len_points), f"--src value {n} must contain row, column coordinate but consists of {len(val)} numbers" 
AssertionError: --src value 0 must contain row, column coordinate but consists of 2 numbers

How can we reproduce this? (What steps trigger the problem? What parameters are you using for processing? Include screenshots. If you are having issues processing a video, if possible include a copy of your dataset uploaded on Dropbox, Google Drive, or other)

Provided via email

hcwinsemius commented 6 months ago

This issue is solved. Several package updates led to some issues with CI testing, which are also solved.