Skip to content

Fatal error division by zero #45

@mzur

Description

@mzur
/var/www/vendor/biigle/laserpoints/src/config/../resources/scripts/detect.py:58: RuntimeWarning: divide by zero encountered in double_scalars
  aqm = (flen * width) / a * (flen * height) / a
Traceback (most recent call last):
  File "/var/www/vendor/biigle/laserpoints/src/config/../resources/scripts/detect.py", line 77, in <module>
    "message": "The estimated image area is too large (max is 50 sqm but was {} sqm).".format(round(aqm)),
OverflowError: cannot convert float infinity to integer

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Medium Priority

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions