View Single Post
Old 11-09-2015, 01:34 PM   #728
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,999
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Firedancer885 View Post
I just tried to drag and drop a link from Chrome into the download window and got this error.

Spoiler:
Code:
calibre, version 2.42.0
HIBA: Ismeretlen hiba történt: <b>UnicodeDecodeError</b>:'utf8' codec can't decode byte 0xe9 in position 84: invalid continuation byte

calibre 2.42  isfrozen: True is64bit: True
Linux-3.19.0-30-generic-x86_64-with-debian-jessie-sid Linux ('64bit', 'ELF')
('Linux', '3.19.0-30-generic', '#34-Ubuntu SMP Fri Oct 2 22:08:41 UTC 2015')
Python 2.7.9
Linux: ('debian', 'jessie/sid', '')
Successfully initialized third party plugins: Antikvarium_hu && Count Pages && Reading List && FanFicFare && EpubSplit && Generate Cover && EpubMerge && djvumaker && View Manager && Libri_hu
Traceback (most recent call last):
  File "calibre_plugins.fanficfare_plugin.dialogs", line 202, in dropEvent
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 84: invalid continuation byte


Here is the link to the story. http://archiveofourown.org/works/4670174

I'm using Ubuntu 15.10 64bit. I asked about this before. I have attached a screenshot about the possible cause. In the shot I'm dragging the link.
The last time was in July. Is this something you're seeing a lot, or just once in a great while? Because what I said then still applies:

Quote:
Originally Posted by JimmXinu View Post
I was able to duplicate the issue with a live-cd linux desktop before the entire OS crashed. Twice. And I didn't find a current calibre distro for Raspberry Pi, the other linux-ish hardware I have handy.

But I was able to confirm that other URLs drag and dropped fine. So I'm blaming the unicode chars in the title: hoʻokāne.

The drag and drop event object hands me data in a 'QByteArray' object. I don't know why Chrome on linux is (presumably) including the link text along with the URL, but that's what I speculate is happening.

If you bump into it a lot, I might look at it some more. But as it is, I'm inclined to call it an odd corner case and not worry about it.
JimmXinu is offline   Reply With Quote