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

Strangely Handled HTTP Errors #34

Open
bryanhelmig opened this issue Oct 25, 2014 · 2 comments
Open

Strangely Handled HTTP Errors #34

bryanhelmig opened this issue Oct 25, 2014 · 2 comments

Comments

@bryanhelmig
Copy link

We had a ton of these during the ~3 hours after a strange deploy Wednesday night. Both were during findNotes calls:

Traceback (most recent call last):
.....
File "/home/ubuntu/.virtualenvs/zapier/local/lib/python2.7/site-packages/evernote/edam/notestore/NoteStore.py", line 3806, in findNotes
  return self.recv_findNotes()
File "/home/ubuntu/.virtualenvs/zapier/local/lib/python2.7/site-packages/evernote/edam/notestore/NoteStore.py", line 3820, in recv_findNotes
  (fname, mtype, rseqid) = self._iprot.readMessageBegin()
File "/home/ubuntu/.virtualenvs/zapier/local/lib/python2.7/site-packages/thrift/protocol/TBinaryProtocol.py", line 137, in readMessageBegin
  name = self.trans.readAll(sz)
File "/home/ubuntu/.virtualenvs/zapier/local/lib/python2.7/site-packages/thrift/transport/TTransport.py", line 58, in readAll
  chunk = self.read(sz-have)
File "/home/ubuntu/.virtualenvs/zapier/local/lib/python2.7/site-packages/thrift/transport/THttpClient.py", line 116, in read
  return self.__http.file.read(sz)
File "/usr/lib/python2.7/socket.py", line 380, in read
  data = self._sock.recv(left)
File "/usr/lib/python2.7/ssl.py", line 241, in recv
  return self.read(buflen)
File "/usr/lib/python2.7/ssl.py", line 160, in read
  return self._sslobj.read(len)
MemoryError
Traceback (most recent call last):
....
File "/home/ubuntu/.virtualenvs/zapier/local/lib/python2.7/site-packages/evernote/edam/notestore/NoteStore.py", line 3806, in findNotes
  return self.recv_findNotes()
File "/home/ubuntu/.virtualenvs/zapier/local/lib/python2.7/site-packages/evernote/edam/notestore/NoteStore.py", line 3820, in recv_findNotes
  (fname, mtype, rseqid) = self._iprot.readMessageBegin()
File "/home/ubuntu/.virtualenvs/zapier/local/lib/python2.7/site-packages/thrift/protocol/TBinaryProtocol.py", line 137, in readMessageBegin
  name = self.trans.readAll(sz)
File "/home/ubuntu/.virtualenvs/zapier/local/lib/python2.7/site-packages/thrift/transport/TTransport.py", line 63, in readAll
  raise EOFError()
EOFError

We're running Python 2.7.3 and evernote==1.25.0. Happy to provide any extra information!

@kyounger
Copy link

+1

These seem to happen for no good reason.

@kyounger
Copy link

Ahhh, I uninstalled and reinstalled evernote via pip and it works again. I think it needed to update the version of oauth2 and httplib2, maybe?

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

2 participants