You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/usr/local/lib/python3.12/site-packages/polyfile/polyfile.py", line 314, in mime_types
for match in self.magic_matcher.match(MatchContext.load(f, only_match_mime=True)):
File "/usr/local/lib/python3.12/site-packages/polyfile/magic.py", line 2750, in match
if m and (not to_match.only_match_mime or any(t is not None for t in m.mimetypes)):
^
File "/usr/local/lib/python3.12/site-packages/polyfile/magic.py", line 2531, in __bool__
return any(m for m in self.mimetypes) or any(e for e in self.extensions) or bool(self.message())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/polyfile/magic.py", line 2531, in <genexpr>
return any(m for m in self.mimetypes) or any(e for e in self.extensions) or bool(self.message())
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/polyfile/iterators.py", line 44, in __iter__
yield self[i]
~~~~^^^
File "/usr/local/lib/python3.12/site-packages/polyfile/iterators.py", line 30, in __getitem__
self._items.append(next(self._source_iter))
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/polyfile/iterators.py", line 54, in unique
for t in iterator:
File "/usr/local/lib/python3.12/site-packages/polyfile/magic.py", line 2511, in <genexpr>
return LazyIterableSet((
^
File "/usr/local/lib/python3.12/site-packages/polyfile/magic.py", line 2561, in __iter__
yield self[i]
~~~~^^^
File "/usr/local/lib/python3.12/site-packages/polyfile/magic.py", line 2545, in __getitem__
result = next(self._result_iter)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/polyfile/magic.py", line 946, in _match
yield from child._match(context=context, parent_match=m)
File "/usr/local/lib/python3.12/site-packages/polyfile/magic.py", line 946, in _match
yield from child._match(context=context, parent_match=m)
File "/usr/local/lib/python3.12/site-packages/polyfile/magic.py", line 2278, in _match
raise NotImplementedError("TODO: Add support for use tests with flipped endianness")
The text was updated successfully, but these errors were encountered:
Attempting to run on a file.
The text was updated successfully, but these errors were encountered: