Page MenuHomePhabricator

djvu file returns page count,width,height fine on commons, but not other wikis
Closed, DuplicatePublic

Description

The file File:Полное_собрание_законов_Российской_Империи._Собрание_Первое._Том_41.djvu works fine on commons - https://commons.wikimedia.org/wiki/File:%D0%9F%D0%BE%D0%BB%D0%BD%D0%BE%D0%B5_%D1%81%D0%BE%D0%B1%D1%80%D0%B0%D0%BD%D0%B8%D0%B5_%D0%B7%D0%B0%D0%BA%D0%BE%D0%BD%D0%BE%D0%B2_%D0%A0%D0%BE%D1%81%D1%81%D0%B8%D0%B9%D1%81%D0%BA%D0%BE%D0%B9_%D0%98%D0%BC%D0%BF%D0%B5%D1%80%D0%B8%D0%B8._%D0%A1%D0%BE%D0%B1%D1%80%D0%B0%D0%BD%D0%B8%D0%B5_%D0%9F%D0%B5%D1%80%D0%B2%D0%BE%D0%B5._%D0%A2%D0%BE%D0%BC_41.djvu but on any other wiki reports no pages and 0x0 dimensions (which prevents rendering).

Oddly enough, the img_metadata field can be retrieved fine via the api on all wikis

Possibly something changed with the djvu programs, and it should be broken everywhere, but still works on commons due to caching added in https://gerrit.wikimedia.org/r/#/c/209983/ .

Original report: https://commons.wikimedia.org/w/index.php?title=Commons:Village_pump&oldid=164426966#Uploaded_djvu_file_cannot_be_used_at_Wikisource

Event Timeline

Bawolff raised the priority of this task from to Needs Triage.
Bawolff updated the task description. (Show Details)
Bawolff added subscribers: Bawolff, aaron.