Closed thkfighter closed 11 months ago
OpenPLC Editor 2.01, branch master Ubuntu 22.04 Python 3.10.6 in python virtural environment
When updating OpenPLC Editor from its menu file, a bug poped up. The bug report is shown here.
app-title: beremiz app-version: 2.01 Release: 2023-05-13 cwd: /home/nuc/workspace/OpenPLC_Editor date: Sat Jul 22 14:44:46 2023 e-type: <class 'urllib2.URLError'> e-value: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:733)> locals: err: SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:733)') h: <httplib.HTTPSConnection instance at 0x7f55246cc1e0> self: <urllib2.HTTPSHandler instance at 0x7f55246bbe60> req: <urllib2.Request instance at 0x7f55246bdcd0> headers: {'Host': 'raw.githubusercontent.com', 'Connection': 'close', 'User-Agent': 'Python-urllib/2.7'} host: 'raw.githubusercontent.com' http_class: <class httplib.HTTPSConnection at 0x7f553ff829f0> http_conn_args: {'context': None} platform: Linux-5.19.0-46-generic-x86_64-with-Kylin-V10-kylin python-version: 2.7.18 self: _debuglevel: 0 _context: None parent: <urllib2.OpenerDirector instance at 0x7f5524b62140> traceback: File "/home/nuc/workspace/OpenPLC_Editor/editor/util/ExceptionHandler.py", line 153, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/home/nuc/workspace/OpenPLC_Editor/editor/dialogs/EditorUpdateDialog.py", line 123, in updater cloud_file = urllib2.urlopen('https://github.com/thiagoralves/OpenPLC_Editor/blob/master/revision?raw=true') File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 435, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 548, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 467, in error result = self._call_chain(*args) File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 654, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/usr/lib/python2.7/urllib2.py", line 435, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 548, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 467, in error result = self._call_chain(*args) File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 654, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/usr/lib/python2.7/urllib2.py", line 429, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 447, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 1248, in https_open context=self._context) File "/usr/lib/python2.7/urllib2.py", line 1205, in do_open raise URLError(err) <class 'urllib2.URLError'>: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:733)> wx-platform: __WXGTK__ wx-version: 3.0.2.0
Can't reproduce. You're probably missing SSL certificates on your Python2.7 environment.
OpenPLC Editor 2.01, branch master Ubuntu 22.04 Python 3.10.6 in python virtural environment
When updating OpenPLC Editor from its menu file, a bug poped up. The bug report is shown here.