View Single Post
Old 09-07-2015, 11:51 AM   #340
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,661
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by DoctorOhh View Post
I have no firsthand knowledge, but since the error says it "can't decode byte 0xfc in position 16:" and 0xfc is ASCII code for ü which is in the 16th position in the path, I'm guessing the odds are good that you just pointed out the problem.
You are correct.

I found the problem.
There's a call to os.path.expanduser("~") that contains a known bug that affects non-asciii usernames on the Windows platform. I thought I had fixed this once before, but perhaps it has crept back in (or maybe I fixed it in something else--I don't know), but the short answer is: it's an easy fix. Kovid has a workaround method within calibre itself I need to use in place of os.path.expanduser. Now if I can only track down what it was!
DiapDealer is offline   Reply With Quote