You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "frog_wrapper.pyx", line 80, in frog.FrogOptions.__init__
File "frog_wrapper.pyx", line 125, in frog.FrogOptions.__setitem__
File "<stringsource>", line 15, in string.from_py.__pyx_convert_string_from_py_std__in_string
TypeError: expected bytes, str found
I think it might need this for id and threads as well, such as it already does for skip, and/or it might need to check if the value has already been encoded to bytes.
The text was updated successfully, but these errors were encountered:
When creating a Frog instance such as:
I get the following error:
When I add an
encode()
todocid='DOCID'
it works:Reading:
python-frog/frog_wrapper.pyx
Lines 124 to 137 in 1babaa4
I think it might need this for
id
andthreads
as well, such as it already does forskip
, and/or it might need to check if the value has already been encoded to bytes.The text was updated successfully, but these errors were encountered: