I've come across a few books which will not display, because author entries are broken. For example:
http://openlibrary.org/works/OL9414333W gives /upstream/templates/type/work/view.tmpl: error in processing template: TypeError: sequence item 5: expected string, instance found (falling back to default template) /opt/openlibrary/production/openlibrary/plugins/upstream/templates/type/work/view.html: error in processing template: TypeError: sequence item 5: expected string, instance found (falling back to default template) Unable to render this page. Which is, of course, completely unusable to the average user. I have found several of these for multi-author works. I have been able to fix them by adding "/edit" and "?m=history" on the URL, and going from there. I did not fix OL9414333W so that it could stay as a reference for examination here. However, I fixed others I did find. When I edited OL946774W, I found three of the author fields were empty. Deleting them made the template error go away. I was then able to use the history to re-add the missing authors. Strangely, though, a final diff shows the same values, just in a different order. http://openlibrary.org/works/OL9467774W/GREAT_FRENCH_DETECTIVE_STORIES?b=4&a=2&_compare=Compare&m=diff I suspect the diff isn't showing some low-level metadata detail, something to do with that string vs instance detail. I did notice that the problem authors on this one, such as OL2660342A and OL164418A, did have merges later than the work's last edit date. I don't know if that is related or not. Is this the best place to report things like this? Thanks - Alan _______________________________________________ Ol-tech mailing list [email protected] http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech To unsubscribe from this mailing list, send email to [email protected]
