Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPICAM2DNG for RaspberryPiHqCamera is broken #63

Open
RostakaGmfun opened this issue Jun 8, 2022 · 3 comments
Open

RPICAM2DNG for RaspberryPiHqCamera is broken #63

RostakaGmfun opened this issue Jun 8, 2022 · 3 comments

Comments

@RostakaGmfun
Copy link

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'
@Tschucker
Copy link

Seeing the same error, looks like the format was changed to accommodate the newer picamera2 but not backward compatible...

@schoolpost
Copy link
Owner

Hello,

I can't commit to an exact timeframe, but I will try to address this soon.

@mcnalu
Copy link

mcnalu commented May 4, 2023

I submitted Pull request #74 to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants