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
Hi
I am running refextract on MacOS Sonoma 14.0.
I had a consistent error with mmap resize in clean_pdf_file in engine.py.
To fix it, I removed the if elif then block in the function and used flush to do all the work as follows: mmfile.flush(start, end + offset - start).
I believe that should do the work without invoking the system dependent resize and move.
Please let me know what you think.
Best wishes.
Ahmed
The text was updated successfully, but these errors were encountered:
It would be great if this fix (or an adaptation of it) could be incorporated. Currentlypip install refextract gives a version that doesn't work on MacOS 14.X.
Thanks,
Gavin
Hi
I am running refextract on MacOS Sonoma 14.0.
I had a consistent error with mmap resize in
clean_pdf_file
inengine.py
.To fix it, I removed the
if elif then
block in the function and usedflush
to do all the work as follows:mmfile.flush(start, end + offset - start)
.I believe that should do the work without invoking the system dependent resize and move.
Please let me know what you think.
Best wishes.
Ahmed
The text was updated successfully, but these errors were encountered: