Quote:
Originally Posted by DoctorOhh
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!