Closed 1letter closed 1 year ago
I recently added this https://github.com/plone/plone.dexterity/pull/139 to plone.dexterity. What happens if you pin plone.dexterity 2.10.0?
That doesn't help. I pinned the version to 2.10.0 and run the buildout. But the error don't go away.
You are right, I did not notice it was another adapter: https://github.com/plone/plone.namedfile/blob/14c1a3539cee99c3983adeb28eca5117272b7591/plone/namedfile/utils/__init__.py#L74-L75 Anyway the fix should be similar to https://github.com/plone/plone.dexterity/pull/139
i will check it. thanks for hint
filestream_range_iterator
is a pseudo stream implementation, you need to have all the file available, but you can expose parts of them using HTTP Range headers. I was wondering why a similar issue was not reported in plone.namedilfe
, so I double-checked and found differences between here and plone.namedfile
. @1letter please check if #78 solves the issue.
I get a traceback if the Video Source should be played.
But the interface IStreamIterator required a method len () per definition. It's not implemented in the filestream_range_iterator.
Versions: plone.namedfile 5.4.0 wildcard.media 2.1.0 Plone 5.2.2 py3