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

can't pickle _ElementUnicodeResult objects #2

Open
msz1621 opened this issue Nov 4, 2014 · 0 comments
Open

can't pickle _ElementUnicodeResult objects #2

msz1621 opened this issue Nov 4, 2014 · 0 comments

Comments

@msz1621
Copy link

msz1621 commented Nov 4, 2014

I get the following error when I do:

import dblp
authors = dblp.search('michael ley')
m = authors[0]
print m.name
Michael Ley
print m.publications[0].title
DBLP - Some Lessons Learned.
print m.publications[1].title
Traceback (most recent call last):
File "<pyshell#16>", line 1, in
print m.publications[1].title
File "C:\Python27\lib\idlelib\PyShell.py", line 1325, in write
return self.shell.write(s, self.tags)
File "C:\Python27\lib\idlelib\rpc.py", line 595, in call
value = self.sockio.remotecall(self.oid, self.name, args, kwargs)
File "C:\Python27\lib\idlelib\rpc.py", line 210, in remotecall
seq = self.asynccall(oid, methodname, args, kwargs)
File "C:\Python27\lib\idlelib\rpc.py", line 225, in asynccall
self.putmessage((seq, request))
File "C:\Python27\lib\idlelib\rpc.py", line 324, in putmessage
s = pickle.dumps(message)
File "C:\Python27\lib\copy_reg.py", line 70, in _reduce_ex
raise TypeError, "can't pickle %s objects" % base.name
TypeError: can't pickle _ElementUnicodeResult objects

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