Closed GoogleCodeExporter closed 9 years ago
Original comment by roberto.alsina
on 1 Feb 2011 at 7:26
This issue was updated by revision b3fbe4884e.
This should fix the issue, will request review.
Original comment by roberto.alsina
on 1 Feb 2011 at 7:47
It's much better know.
Take a look at the exception, though:
Traceback (most recent call last):
File "/home/elbarto/issue33/src/book_editor.py", line 101, in on_guessButton_clicked
authors = u', '.join(authors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal
not in range(128)
Original comment by andresgattinoni
on 1 Feb 2011 at 8:09
I wonder where the ascii is coming from.
Original comment by roberto.alsina
on 1 Feb 2011 at 8:27
No idea. These are the suggestions that are listed when the error comes up:
* Bulletin boards and 3-D showcases that capture them with pizzazz by Karen Hawthorne, Jane E. Gibson
* Health and health care as social problems by Peter Conrad, Valerie Leiter
* Chasing Death Losing a Child to Suicide. by Jan Andersen
BTW, I have no idea how Google guessed those books from the title "Autumn
Leaves".
I tried with another book ("Alice in Wonderland", which returns a much longer
list of suggestions) and the error didn't show.
Original comment by andresgattinoni
on 1 Feb 2011 at 8:40
Maybe we are getting str from google instead of unicode?
Original comment by roberto.alsina
on 1 Feb 2011 at 8:54
Maybe. I don't know what the gdata-client does. Anyhow neither of the current
guesser plugins do any (re)encoding of the incoming data. Should they?
Original comment by andresgattinoni
on 1 Feb 2011 at 9:31
Well, to avoid that, they should really provide unicode.
Original comment by roberto.alsina
on 2 Feb 2011 at 1:02
This issue was updated by revision 18a4dc62e5.
Merged the writable fields on the guess dialog.
Original comment by roberto.alsina
on 2 Feb 2011 at 2:27
Original issue reported on code.google.com by
roberto.alsina
on 1 Feb 2011 at 7:26