nvbn / everpad

Evernote client well integrated with linux desktop
1.17k stars 143 forks source link

Authorise dialog window stays blank #437

Open jgomo3 opened 9 years ago

jgomo3 commented 9 years ago

Clicking the Autorise button in the "Settings and management" Dialog, produce a blank Dialog:

Autorise Blank Dialog

I got the following stack trace:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/everpad/pad/management.py", line 254, 
in change_auth
    'GET')
  File "/usr/lib/python2.7/dist-packages/oauth2/__init__.py", line 682, in 
request
    connection_type=connection_type)
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1569, 
in request
    (response, content) = self._request(conn, authority, uri, request_uri, 
method, body, headers, redirections, cachekey)
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1316, 
in _request
    (response, content) = self._conn_request(conn, request_uri, method, bod
y, headers)
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1251, 
in _conn_request
    conn.connect()
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1017, 
in connect
    sock.connect((self.host, self.port))
  File "/usr/lib/python2.7/dist-packages/httplib2/socks.py", line 424, in c
onnect
    self.__negotiatehttp(destpair[0], destpair[1])
  File "/usr/lib/python2.7/dist-packages/httplib2/socks.py", line 390, in _
_negotiatehttp
    raise HTTPError((statuscode, statusline[2]))
httplib2.socks.HTTPError: (404, 'Not Found')

First, i suggest to display an informative text when this happen, instead of a blank page. You could show a message reporting the kind of error (i.e: Sorry, a Network related error is keeping us from delivering you the appropriate content. Check or you could report this issue at https://github.com/nvbn/everpad/issues. In order to prepare a good issue report, we ask you to follow this seteps: <paste the content of https://github.com/nvbn/everpad/wiki/developing-for-everpad > (paste the content, don't simply put the URL, as the user is having Network problems)).

Second, the issues #156, #308 and #377 could be related, but the stack trace i receive is different.

I'm using: