← Back to team overview

openlp-core team mailing list archive

[Bug 1524254] Re: The First-Time-Wizard causes Traceback with SSLError on Mac

 

** Changed in: openlp
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1524254

Title:
  The First-Time-Wizard causes Traceback with SSLError on Mac

Status in OpenLP:
  Won't Fix

Bug description:
  Reported with OpenLP 2.2.1 on Mac OS X.
  Original reports in the support system: http://support.openlp.org/scp/tickets.php?id=3163 and http://support.openlp.org/scp/tickets.php?id=3173

  Tracebacks are below. What are causing the actual SSLError is unknown, but we should catch the SSLError in:
  openlp/core/ui/firsttimeform.py", line 464, in _get_file_size, and openlp/core/ui/firsttimeform.py", line 414, in url_get_file, and maybe other places as well.

  The tracebacks:

  --- Exception Traceback ---
  Traceback (most recent call last):
    File "/Users/raoul/Projects/OpenLP/OpenLP-2.2.1/openlp/core/ui/firsttimeform.py", line 348, in on_current_id_changed
    File "/Users/raoul/Projects/OpenLP/OpenLP-2.2.1/openlp/core/ui/firsttimeform.py", line 601, in _perform_wizard
    File "/Users/raoul/Projects/OpenLP/OpenLP-2.2.1/openlp/core/ui/firsttimeform.py", line 642, in _download_selected
    File "/Users/raoul/Projects/OpenLP/OpenLP-2.2.1/openlp/core/ui/firsttimeform.py", line 414, in url_get_file
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 500, in read
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 539, in readinto
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/socket.py", line 374, in readinto
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/ssl.py", line 751, in recv_into
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/ssl.py", line 623, in read
  ssl.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1769)


  
   --- Exception Traceback ---
  Traceback (most recent call last):
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 1182, in do_open
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1088, in request
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1126, in _send_request
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1084, in endheaders
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 922, in _send_output
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 857, in send
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1231, in connect
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/ssl.py", line 365, in wrap_socket
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/ssl.py", line 583, in __init__
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/ssl.py", line 810, in do_handshake
  ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/Users/raoul/Projects/OpenLP/OpenLP-2.2.1/openlp/core/ui/firsttimeform.py", line 510, in _pre_wizard
    File "/Users/raoul/Projects/OpenLP/OpenLP-2.2.1/openlp/core/ui/firsttimeform.py", line 464, in _get_file_size
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 161, in urlopen
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 463, in open
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 481, in _open
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 441, in _call_chain
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 1225, in https_open
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 1184, in do_open
  urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/Users/raoul/Projects/OpenLP/OpenLP-2.2.1/openlp/core/ui/firsttimeform.py", line 347, in on_current_id_changed
    File "/Users/raoul/Projects/OpenLP/OpenLP-2.2.1/openlp/core/ui/firsttimeform.py", line 533, in _pre_wizard
    File "/Users/raoul/Projects/OpenLP/OpenLP-2.2.1/openlp/core/lib/ui.py", line 114, in critical_error_message_box
  AttributeError: 'NoneType' object has no attribute 'error_message'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1524254/+subscriptions


References