Closed kelson42 closed 1 year ago
Looks like a release issue, this bug has been fixed in https://github.com/openzim/gutenberg/pull/168
The code displayed on the stderr
is not anymore the one in main
branch.
indeed
Not usual, @rgaudin how have we managed this?
I missed the last commit which unlike the others has not been merged in main. I'll rewrite the tag
My theory, am on my phone ; will check as soon as I arrive
Wow, it's even weirder:
File "/usr/local/lib/python3.11/site-packages/gutenberg2zim-2.0.0-py3.11.egg/gutenbergtozim/download.py", line 197, in <listcomp>
(b.format.mime, b.format.images, b.format.pattern)
^^^^^^^^
AttributeError: 'BookFormat' object has no attribute 'format'
See how line 197
of download.py
supposedly contains b.format.mime
?
and here's the tag
The problem is that both the tag and main points to the same commit but with a different ID… Github has the explanation: “This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.” which is weird because I did that commit on main branch.
I'm not sure exactly what I did wrong ; retagging now
Fixed
https://farm.openzim.org/pipeline/f1dfacbc21b1214035793f36/debug