-
-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Description
Login on the classic demo site and go to https://classic.demo.plone.org/en/demo/an-image.jpg/@@images-test
Traceback:
Traceback (innermost last):
Module ZPublisher.WSGIPublisher, line 181, in transaction_pubevents
Module ZPublisher.WSGIPublisher, line 390, in publish_module
Module ZPublisher.WSGIPublisher, line 284, in publish
Module ZPublisher.mapply, line 98, in mapply
Module ZPublisher.WSGIPublisher, line 68, in call_object
Module zope.browserpage.simpleviewclass, line 44, in __call__
Module Products.Five.browser.pagetemplatefile, line 127, in __call__
Module Products.Five.browser.pagetemplatefile, line 59, in __call__
Module zope.pagetemplate.pagetemplate, line 134, in pt_render
Module Products.PageTemplates.engine, line 368, in __call__
Module z3c.pt.pagetemplate, line 198, in render
Module chameleon.zpt.template, line 328, in render
Module chameleon.template, line 229, in render
Module chameleon.utils, line 20, in raise_with_traceback
Module chameleon.template, line 200, in render
Module a94f2c16e12b5bc5bf3d0915e87d52a7, line 2190, in render
Module 8e733f7ceb91386f88bd8add9e273477, line 915, in render_master
Module 8e733f7ceb91386f88bd8add9e273477, line 1530, in render_content
Module a94f2c16e12b5bc5bf3d0915e87d52a7, line 2175, in __fill_content_core
Module a94f2c16e12b5bc5bf3d0915e87d52a7, line 1874, in render_content_core
Module a94f2c16e12b5bc5bf3d0915e87d52a7, line 110, in __quote
Module chameleon.zpt.template, line 311, in translate
Module z3c.pt.pagetemplate, line 185, in translate
Module chameleon.i18n, line 64, in fast_translate
Module zope.i18n, line 194, in translate
Module zope.i18n.translationdomain, line 88, in translate
Module zope.i18n.translationdomain, line 163, in _recursive_translate
Module zope.i18n.gettextmessagecatalog, line 107, in queryMessage
Module gettext, line 431, in gettext
TypeError: unhashable type: 'list'
It is this line and it fails on showing the srcset attribute of a scale, because this is a list.
The strange thing is: the TypeError is thrown because something tries to translate this. But I don't see where in the code this is happening.
I went back to plone.namedfile 6.4.0 and even there it is happening.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels