Fix #2076 (Error during Recursive Search)

This commit is contained in:
Kovid Goyal 2009-03-15 09:14:59 -07:00
parent ff7969051e
commit 570a9eaeac
2 changed files with 6 additions and 6 deletions

View File

@ -224,7 +224,10 @@ class AddRecursive(Add):
files = _('<p>Books with the same title as the following already ' files = _('<p>Books with the same title as the following already '
'exist in the database. Add them anyway?<ul>') 'exist in the database. Add them anyway?<ul>')
for mi in self.duplicates: for mi in self.duplicates:
files += '<li>'+mi[0].title+'</li>\n' title = mi[0].title
if not isinstance(title, unicode):
title = title.decode(preferred_encoding, 'replace')
files += '<li>'+title+'</li>\n'
d = WarningDialog (_('Duplicates found!'), d = WarningDialog (_('Duplicates found!'),
_('Duplicates found!'), _('Duplicates found!'),
files+'</ul></p>', parent=self._parent) files+'</ul></p>', parent=self._parent)

View File

@ -123,15 +123,12 @@ turned into a collection on the reader. Note that the PRS-500 does not support c
How do I use |app| with my iPhone? How do I use |app| with my iPhone?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
First install the Stanza reader on your iPhone from http://www.lexcycle.com . Then, First install the Stanza reader on your iPhone from http://www.lexcycle.com . Then,
* Set the output format for calibre to EPUB (The output format can be set next to the big red heart) * Set the output format for calibre to EPUB (The output format can be set next to the big red heart)
* Convert the books you want to read on your iPhone to EPUB format by selecting them and clicking the Convert button. * Convert the books you want to read on your iPhone to EPUB format by selecting them and clicking the Convert button.
* Turn on the Content Server in |app|'s preferences and leave |app| running. * Turn on the Content Server in |app|'s preferences and leave |app| running.
* Now you should be able to access your books on your iPhone. If not, try the following:
In the Stanza reader on your iPhone, add a new catalog. The URL of the catalog is of the form
``http://10.34.56.89:8080/stanza``, where you should replace the IP address ``10.34.56.89``
with the IP address of your computer. Stanza will the use the |app| content server to access all the
EPUB books in your |app| database.
Now you should be able to access your books on your iPhone.
Library Management Library Management
------------------ ------------------