GithubHelp home page GithubHelp logo

Comments (5)

jhoogeboom avatar jhoogeboom commented on August 26, 2024 1

This only occurs when I use the binary, when using the source, it works fine.

from kleinanzeigen-bot.

Nuc1eoN avatar Nuc1eoN commented on August 26, 2024

Yup, same! On Linux. From source it works.

from kleinanzeigen-bot.

sebthom avatar sebthom commented on August 26, 2024

This is probably related to pyinstaller/pyinstaller#7229

Can you run the bot with -v and past the complete error stacktrace here.

from kleinanzeigen-bot.

russellporter avatar russellporter commented on August 26, 2024

@sebthom here's the backtrace (I have installed your project on macos):

[DEBUG] Closing Browser session...
[ERROR] Traceback (most recent call last):
  File "urllib/request.py", line 1344, in do_open
  File "http/client.py", line 1327, in request
  File "http/client.py", line 1373, in _send_request
  File "http/client.py", line 1322, in endheaders
  File "http/client.py", line 1081, in _send_output
  File "http/client.py", line 1025, in send
  File "http/client.py", line 1468, in connect
  File "ssl.py", line 455, in wrap_socket
  File "ssl.py", line 1046, in _create
  File "ssl.py", line 1321, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "kleinanzeigen_bot/__main__.py", line 9, in <module>
  File "kleinanzeigen_bot/__init__.py", line 898, in main
  File "asyncio/base_events.py", line 684, in run_until_complete
  File "kleinanzeigen_bot/__init__.py", line 114, in run
  File "kleinanzeigen_bot/__init__.py", line 857, in download_ads
  File "kleinanzeigen_bot/extract.py", line 49, in download_ad
  File "kleinanzeigen_bot/extract.py", line 246, in _extract_ad_page_info
  File "kleinanzeigen_bot/extract.py", line 83, in _download_images_from_ad_page
  File "urllib/request.py", line 240, in urlretrieve
  File "urllib/request.py", line 215, in urlopen
  File "urllib/request.py", line 515, in open
  File "urllib/request.py", line 532, in _open
  File "urllib/request.py", line 492, in _call_chain
  File "urllib/request.py", line 1392, in https_open
  File "urllib/request.py", line 1347, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)>

from kleinanzeigen-bot.

sebthom avatar sebthom commented on August 26, 2024

Thanks for the stacktrace. I pushed a patch that hopefully fixes the issue. Please try the latest release.

from kleinanzeigen-bot.

Related Issues (20)

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.