Giter VIP home page Giter VIP logo

Comments (5)

gabacode avatar gabacode commented on May 28, 2024

Hello @doctore2015. Please check this comment, let me know if that helps.

from chatpdf.

gabacode avatar gabacode commented on May 28, 2024

Duplicate of #2

from chatpdf.

doctore2015 avatar doctore2015 commented on May 28, 2024

this is my root
image

and this where goes wrong

image

from chatpdf.

doctore2015 avatar doctore2015 commented on May 28, 2024

somehow i fix my first issue, however here comes a new one as follow:

i make a copy to my c: drive and exe it , hopefully there is no problem here.

File "C:\Users\doctore\chatPDF\main.py", line 99, in
ask(file)
File "C:\Users\doctore\chatPDF\main.py", line 34, in ask
PDFReader = download_loader("PDFReader")
File "C:\Users\doctore\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\llama_index\readers\download.py", line 124, in download_loader
library_raw_content, _ = _get_file_content(loader_hub_url, "/library.json")
File "C:\Users\doctore\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\llama_index\readers\download.py", line 24, in _get_file_content
resp = requests.get(loader_hub_url + path)
File "C:\Users\doctore\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\requests\api.py", line 73, in get
return request("get", url, params=params, **kwargs)
File "C:\Users\doctore\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\requests\api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "C:\Users\doctore\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\requests\sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\doctore\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\requests\sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "C:\Users\doctore\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\requests\adapters.py", line 565, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /emptycrown/loader-hub/main/loader_hub/library.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000209980F2CE0>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed'))

from chatpdf.

gabacode avatar gabacode commented on May 28, 2024

@doctore2015 it seems that you're having network issues that don't let you download the loader from GitHub. Check your firewall to be sure!

from chatpdf.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.