Closed tmplt closed 5 years ago
The seemingly remaining part of a fix for this is in core::get_string(const py::dict &dict, const char *key)
which throws an index error when returning the string: basic_string::substr: __pos (which is 4294967295) > this->size() (which is 45)
.
The py::str(dict[key])
operation passes, as does an explicit std::string str = py::str(dict[key])
, but we're not able to return it; weird, because that is the deepest call in the item constructor for that dict.
Closing in favour of #76.
From the simple query
bookwyrm -t 'mass effect'
. Line 104 points toself.bookwyrm.feed(item)
; are we extracting data from apy::dict
incorrectly somewhere?