From e278da92199b483cd364388494a0c4cd4635d830 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 3 Apr 2012 12:07:38 +0530 Subject: [PATCH] ... --- src/calibre/library/server/utils.py | 4 ++-- src/calibre/manual/faq.rst | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/calibre/library/server/utils.py b/src/calibre/library/server/utils.py index 9b8ec98d87..111f535686 100644 --- a/src/calibre/library/server/utils.py +++ b/src/calibre/library/server/utils.py @@ -7,6 +7,7 @@ __docformat__ = 'restructuredtext en' import time, sys from urllib import quote as quote_, unquote as unquote_ +from functools import wraps import cherrypy @@ -40,6 +41,7 @@ class Offsets(object): def expose(func): + @wraps(func) def do(*args, **kwargs): self = func.im_self if self.opts.develop: @@ -54,8 +56,6 @@ def expose(func): prints('\tTime:', func.__name__, time.time()-start) return ans - do.__name__ = func.__name__ - return do diff --git a/src/calibre/manual/faq.rst b/src/calibre/manual/faq.rst index a6d1467cab..a248962abd 100644 --- a/src/calibre/manual/faq.rst +++ b/src/calibre/manual/faq.rst @@ -381,6 +381,18 @@ that allows you to create collections on your Kindle from the |app| metadata. It .. note:: Amazon have removed the ability to manipulate collections completely in their newer models, like the Kindle Touch and Kindle Fire, making even the above plugin useless. If you really want the ability to manage collections on your Kindle via a USB connection, we encourage you to complain to Amazon about it, or get a reader where this is supported, like the SONY Readers. +I am getting an error when I try to use |app| with my Kobo Touch? +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The Kobo Touch has very buggy firmware. Connecting to it has been known to fail at random. Certain combinations of motherboard, USB ports/cables/hubs can exacerbate this tendency to fail. If you are getting an error when connecting to your touch with |app| try the following, each of which has solved the problem for *some* |app| users. + + * Connect the Kobo directly to your computer, not via USB Hub + * Try a different USB cable and a different USB port on your computer + * Try a different computer (preferably an older model) + * Try upgrading the firmware on your Kobo Touch to the latest + * Try resetting the Kobo (sometimes this cures the problem for a little while, but then it re-appears, in which case you have to reset again and again) + * Try only putting one or two books onto the Kobo at a time and do not keep large collections on the Kobo + Library Management ------------------