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
Traceback (most recent call last):
File "C:\Users\mikes\anaconda3\envs\speedread\Lib\site-packages\megaparse\megaparse.py", line 89, in aload
parsed_document = await parser.convert(
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mikes\anaconda3\envs\speedread\Lib\site-packages\megaparse\parser\unstructured_parser.py", line 114, in convert
content_type=file_extension.mimetype if file_extension else None,
^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'FileExtension' object has no attribute 'mimetype'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\m\OneDrive\Documents\Python Scripts\speedtest\main.py", line 62, in <module>
parsed_data = parse_file(file_path)
^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\m\OneDrive\Documents\Python Scripts\speedtest\main.py", line 31, in parse_file
parsed_output = megaparse.load(file_path)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\m\anaconda3\envs\speedread\Lib\site-packages\megaparse\megaparse.py", line 109, in load
return loop.run_until_complete(
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\m\anaconda3\envs\speedread\Lib\asyncio\base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Users\m\anaconda3\envs\speedread\Lib\site-packages\megaparse\megaparse.py", line 98, in aload
raise ParsingException(
megaparse.exceptions.base.ParsingException: Error while parsing file data\test.pdf, file_extension: FileExtension.PDF: 'FileExtension' object has no attribute 'mimetype'
with version 0.0.52 on windows machine
The text was updated successfully, but these errors were encountered:
when trying to run
I get this error:
with version 0.0.52 on windows machine
The text was updated successfully, but these errors were encountered: