Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when i froze with cx_Freeze #66

Closed
fevzican opened this issue Sep 25, 2016 · 0 comments
Closed

error when i froze with cx_Freeze #66

fevzican opened this issue Sep 25, 2016 · 0 comments

Comments

@fevzican
Copy link

when i built with cx_freeze and run the client login, an error occurs.
it says:

Logging in...
Exception in thread Thread-1:
Traceback (most recent call last):
  File "C:\Python34\lib\site-packages\requests\packages\urllib3\util\ssl_.py", line 295, in ssl_wrap_socket
    context.load_verify_locations(ca_certs, ca_cert_dir)
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Python34\lib\site-packages\requests\adapters.py", line 423, in send
    timeout=timeout
  File "C:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 595, in urlopen
    chunked=chunked)
  File "C:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 352, in _make_request
    self._validate_conn(conn)
  File "C:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 831, in _validate_conn
    conn.connect()
  File "C:\Python34\lib\site-packages\requests\packages\urllib3\connection.py", line 289, in connect
    ssl_version=resolved_ssl_version)
  File "C:\Python34\lib\site-packages\requests\packages\urllib3\util\ssl_.py", line 297, in ssl_wrap_socket
    raise SSLError(e)
requests.packages.urllib3.exceptions.SSLError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\Python\64-bit\3.4\lib\threading.py", line 921, in _bootstrap_inner
  File "c:\Python\64-bit\3.4\lib\threading.py", line 869, in run
  File "Kontenjan_Takip.py", line 168, in kontenjan_ara
  File "C:\Python34\lib\site-packages\fbchat\client.py", line 89, in __init__
    if not self.login():
  File "C:\Python34\lib\site-packages\fbchat\client.py", line 144, in login
    soup = bs(self._get(MobileURL).text, "lxml")
  File "C:\Python34\lib\site-packages\fbchat\client.py", line 125, in _get
    return self._session.get(url, headers=self._header, params=payload, timeout=timeout)
  File "C:\Python34\lib\site-packages\requests\sessions.py", line 488, in get
    return self.request('GET', url, **kwargs)
  File "C:\Python34\lib\site-packages\requests\sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python34\lib\site-packages\requests\sessions.py", line 596, in send
    r = adapter.send(request, **kwargs)
  File "C:\Python34\lib\site-packages\requests\adapters.py", line 497, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: [Errno 2] No such file or directory

is it about this module? do you meet with this error? when i run this on pycharm, there is no error. you can follow my topic on stackoverflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant