update "rcn_darkframe.py" regarding the new pypng structure
Open, Needs TriagePublic

Description

Following the RCN calibration found on the wiki [https://wiki.apertus.org/index.php/Factory_Calibration_(firmware_2.0) ], this bug rise :

AttributeError: module 'png' has no attribute 'read_pnm_header'

(see the wiki for full error)

The idea discussed on IRC (21st feb 2020, 22h50) was to update the rcn_darkframe.py in order to adapt to the new pypng structure (ie " "pripngtopam command line tool converts PNG to NetPBM PNM/PAM file. Previously png.py did this." ).

Reference: http://irc.apertus.org/index.php?day=21&month=03&year=2020#340

max_bxl created this task.Mar 22 2020, 8:13 PM
max_bxl moved this task from Backlog to Usability Improvements on the AXIOM Beta Software board.

quickfix:

pip install --force "pypng==0.0.18"

new firmware has been built, testing if the fix is working there as well is still to be done.

BAndiT1983 updated the task description. (Show Details)Mar 22 2020, 8:22 PM
BAndiT1983 added a subscriber: BAndiT1983.