Skip to content

Crash on running base.py #1

@Candunc

Description

@Candunc
Traceback (most recent call last):
  File "base.py", line 154, in <module>
    main()
  File "base.py", line 150, in main
    scraper.scrape_websocket_forever('place.sqlite')
  File "base.py", line 19, in scrape_websocket_forever
    self.ws = create_connection(url)
  File "/usr/local/lib/python3.4/dist-packages/websocket/_core.py", line 487, in create_connection
    websock.connect(url, **options)
  File "/usr/local/lib/python3.4/dist-packages/websocket/_core.py", line 211, in connect
    options.pop('socket', None))
  File "/usr/local/lib/python3.4/dist-packages/websocket/_http.py", line 71, in connect
    sock = _open_socket(addrinfo_list, options.sockopt, options.timeout)
  File "/usr/local/lib/python3.4/dist-packages/websocket/_http.py", line 108, in _open_socket
    sock.setsockopt(*opts)
OSError: [Errno 22] Invalid argument

I've installed placescraper and websocket-client from pip3 and am running the latest place-scraper commit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions