Skip to content

RPICAM2DNG for RaspberryPiHqCamera is broken #63

@RostakaGmfun

Description

@RostakaGmfun

The latest code expects the "fmt" dictionary to be present in camera's "model", while it is a string, hence the below AttributeError is raised:

 File "/project/PiDNG/src/pidng/core.py", line 120, in convert
    unpacked = self.__unpack_pixels__(image)
  File "/project/PiDNG/src/pidng/core.py", line 173, in __unpack_pixels__
    if "CSI2P" in self.model.fmt.get("format", ""):
AttributeError: 'RaspberryPiHqCamera' object has no attribute 'fmt'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions