sidphbot / Auto-Research

Generate custom detailed survey paper with topic clustered sections and proper citations, from just a single query in just under 30 mins !!
GNU General Public License v3.0
54 stars 6 forks source link

AttributeError: 'Page' object has no attribute 'getImageList' (Python 3.7) #2

Open rybshik opened 10 months ago

rybshik commented 10 months ago

Kaggle Jupiter notebook with virtual environment Python 3.7 (does not work with Python 3.8, 3.9, 3.10)

$ pip install sacremoses $ pip install protobuf==3.20.3 --upgrade

%%writefile test.py from survey import Surveyor mysurveyor = Surveyor() mysurveyor.survey('vision transformers')

Writing test.py

$ python3.7 test.py

File "/kaggle/working/Auto-Research/src/Surveyor.py", line 1084, in extract_images images.extend(page.getImageList()) AttributeError: 'Page' object has no attribute 'getImageList'

Related info: https://stackoverflow.com/questions/75321414/python-page-object-has-no-attribute-getimagelist-where-i-try-to-extract-im https://pymupdf.readthedocs.io/en/latest/znames.html

sidphbot commented 10 months ago

Hi thanks for checking this out and posting your issue, I have been quite busy since a few months and am not able to post any fixes for now.

The issue here is that some of the dependencies have breaking changes and I forgot to add the exact versions for which it was working. I will try to fix the issues and bring it to a working state when I find some time in the next few months, but feel free to try out the versions available for every dependency during my last commit to this package. If you fix it already before me, feel free to put a pull request I will be happy to merge it.

rybshik commented 10 months ago

Hi, Thanks for your reply.

How can I disable cuda to run on CPU only (without GPU)?

Thanks, Alex.

rybshik commented 10 months ago

Hi, Thanks for your reply.

How can I disable cuda to run on CPU only (without GPU)?

Thanks, Alex.

On Tue, Oct 17, 2023 at 1:50 AM Sidharth Pal @.***> wrote:

Hi thanks for checking this out and posting your issue, I have been quite busy since a few months and am not able to post any fixes for now.

The issue here is that some of the dependencies have breaking changes and I forgot to add the exact versions for which it was working. I will try to fix the issues and bring it to a working state when I find some time in the next few months, but feel free to try out the versions available for every dependency during my last commit to this package. If you fix it already before me, feel free to put a pull request I will be happy to merge it.

— Reply to this email directly, view it on GitHub https://github.com/sidphbot/Auto-Research/issues/2#issuecomment-1765712613, or unsubscribe https://github.com/notifications/unsubscribe-auth/BC77WZVBJ6TCAEGC5H35LR3X7YMCRAVCNFSM6AAAAAA6AAH5P6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRVG4YTENRRGM . You are receiving this because you authored the thread.Message ID: @.***>