GwR diagnostic for KG crash

This commit is contained in:
GRiker 2010-01-22 11:36:24 -07:00
parent 64611c1b0d
commit 6a8b4f9a21
2 changed files with 32 additions and 8 deletions

View File

@ -17,7 +17,7 @@
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<y>70</y>
<width>241</width>
<height>21</height>
</rect>
@ -36,7 +36,7 @@
<property name="geometry">
<rect>
<x>20</x>
<y>50</y>
<y>100</y>
<width>241</width>
<height>17</height>
</rect>
@ -49,7 +49,7 @@
<property name="geometry">
<rect>
<x>20</x>
<y>110</y>
<y>160</y>
<width>171</width>
<height>17</height>
</rect>
@ -62,7 +62,7 @@
<property name="geometry">
<rect>
<x>300</x>
<y>20</y>
<y>70</y>
<width>231</width>
<height>22</height>
</rect>
@ -78,7 +78,7 @@
<property name="geometry">
<rect>
<x>300</x>
<y>50</y>
<y>100</y>
<width>231</width>
<height>22</height>
</rect>
@ -94,7 +94,7 @@
<property name="geometry">
<rect>
<x>300</x>
<y>80</y>
<y>130</y>
<width>231</width>
<height>22</height>
</rect>
@ -110,7 +110,7 @@
<property name="geometry">
<rect>
<x>20</x>
<y>80</y>
<y>130</y>
<width>241</width>
<height>17</height>
</rect>
@ -123,7 +123,7 @@
<property name="geometry">
<rect>
<x>300</x>
<y>110</y>
<y>160</y>
<width>231</width>
<height>22</height>
</rect>
@ -135,6 +135,29 @@
<string>*</string>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>61</x>
<y>20</y>
<width>461</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Special Tags for Catalog Creation</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</widget>
<resources/>
<connections/>

View File

@ -2453,6 +2453,7 @@ class EPUB_MOBI(CatalogPlugin):
for (i,word) in enumerate(title_words):
hit = re.search('[0-9]+',word)
if hit :
print "library.catalog:CatalogBuilder.generateSortTitle(): translating '%s'" % word
translated.append(EPUB_MOBI.NumberToText(word).text)
else:
translated.append(word)