mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-28 12:30:00 +00:00
Merge branch 'master' into Develop (handle case of cover smaller than thumbnail)
This commit is contained in:
commit
dfb49bfca9
@ -17,6 +17,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
from shutil import copyfile, copyfileobj
|
||||||
from urllib.request import urlopen
|
from urllib.request import urlopen
|
||||||
|
|
||||||
from .. import constants
|
from .. import constants
|
||||||
@ -188,14 +189,18 @@ class TaskGenerateCoverThumbnails(CalibreTask):
|
|||||||
try:
|
try:
|
||||||
stream = urlopen(web_content_link)
|
stream = urlopen(web_content_link)
|
||||||
with Image(file=stream) as img:
|
with Image(file=stream) as img:
|
||||||
|
filename = self.cache.get_cache_file_path(thumbnail.filename,
|
||||||
|
constants.CACHE_TYPE_THUMBNAILS)
|
||||||
height = get_resize_height(thumbnail.resolution)
|
height = get_resize_height(thumbnail.resolution)
|
||||||
if img.height > height:
|
if img.height > height:
|
||||||
width = get_resize_width(thumbnail.resolution, img.width, img.height)
|
width = get_resize_width(thumbnail.resolution, img.width, img.height)
|
||||||
img.resize(width=width, height=height, filter='lanczos')
|
img.resize(width=width, height=height, filter='lanczos')
|
||||||
img.format = thumbnail.format
|
img.format = thumbnail.format
|
||||||
filename = self.cache.get_cache_file_path(thumbnail.filename,
|
|
||||||
constants.CACHE_TYPE_THUMBNAILS)
|
|
||||||
img.save(filename=filename)
|
img.save(filename=filename)
|
||||||
|
else:
|
||||||
|
with open(filename, 'rb') as fd:
|
||||||
|
copyfileobj(stream, fd)
|
||||||
|
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
# Bubble exception to calling function
|
# Bubble exception to calling function
|
||||||
self.log.debug('Error generating thumbnail file: ' + str(ex))
|
self.log.debug('Error generating thumbnail file: ' + str(ex))
|
||||||
@ -210,12 +215,15 @@ class TaskGenerateCoverThumbnails(CalibreTask):
|
|||||||
|
|
||||||
with Image(filename=book_cover_filepath) as img:
|
with Image(filename=book_cover_filepath) as img:
|
||||||
height = get_resize_height(thumbnail.resolution)
|
height = get_resize_height(thumbnail.resolution)
|
||||||
|
filename = self.cache.get_cache_file_path(thumbnail.filename, constants.CACHE_TYPE_THUMBNAILS)
|
||||||
if img.height > height:
|
if img.height > height:
|
||||||
width = get_resize_width(thumbnail.resolution, img.width, img.height)
|
width = get_resize_width(thumbnail.resolution, img.width, img.height)
|
||||||
img.resize(width=width, height=height, filter='lanczos')
|
img.resize(width=width, height=height, filter='lanczos')
|
||||||
img.format = thumbnail.format
|
img.format = thumbnail.format
|
||||||
filename = self.cache.get_cache_file_path(thumbnail.filename, constants.CACHE_TYPE_THUMBNAILS)
|
|
||||||
img.save(filename=filename)
|
img.save(filename=filename)
|
||||||
|
else:
|
||||||
|
# take cover as is
|
||||||
|
copyfile(book_cover_filepath, filename)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
|
@ -37,20 +37,20 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-6 col-md-6 col-sm-offset-3" style="margin-top:50px;">
|
<div class="col-xs-6 col-md-6 col-sm-offset-3" style="margin-top:50px;">
|
||||||
|
|
||||||
<p class='text-justify attribute'><strong>Start Time: </strong>2023-03-05 19:08:50</p>
|
<p class='text-justify attribute'><strong>Start Time: </strong>2023-03-20 06:27:14</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-6 col-md-6 col-sm-offset-3">
|
<div class="col-xs-6 col-md-6 col-sm-offset-3">
|
||||||
|
|
||||||
<p class='text-justify attribute'><strong>Stop Time: </strong>2023-03-06 01:50:49</p>
|
<p class='text-justify attribute'><strong>Stop Time: </strong>2023-03-20 13:00:29</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-6 col-md-6 col-sm-offset-3">
|
<div class="col-xs-6 col-md-6 col-sm-offset-3">
|
||||||
<p class='text-justify attribute'><strong>Duration: </strong>5h 46 min</p>
|
<p class='text-justify attribute'><strong>Duration: </strong>5h 35 min</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -236,120 +236,380 @@
|
|||||||
|
|
||||||
<tr id="su" class="errorClass">
|
<tr id="su" class="errorClass">
|
||||||
<td>TestBackupMetadata</td>
|
<td>TestBackupMetadata</td>
|
||||||
<td class="text-center">14</td>
|
<td class="text-center">16</td>
|
||||||
<td class="text-center">13</td>
|
|
||||||
<td class="text-center">0</td>
|
|
||||||
<td class="text-center">1</td>
|
<td class="text-center">1</td>
|
||||||
|
<td class="text-center">1</td>
|
||||||
|
<td class="text-center">14</td>
|
||||||
<td class="text-center">0</td>
|
<td class="text-center">0</td>
|
||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
<a onclick="showClassDetail('c2', 14)">Detail</a>
|
<a onclick="showClassDetail('c2', 16)">Detail</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id='pt2.1' class='hiddenRow bg-success'>
|
<tr id="ft2.1" class="none bg-danger">
|
||||||
<td>
|
<td>
|
||||||
<div class='testcase'>TestBackupMetadata - test_backup_all</div>
|
<div class='testcase'>TestBackupMetadata - test_backup_all</div>
|
||||||
</td>
|
</td>
|
||||||
<td colspan='6' align='center'>PASS</td>
|
<td colspan='6'>
|
||||||
|
<div class="text-center">
|
||||||
|
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_ft2.1')">FAIL</a>
|
||||||
|
</div>
|
||||||
|
<!--css div popup start-->
|
||||||
|
<div id="div_ft2.1" class="popup_window test_output" style="display:block;">
|
||||||
|
<div class='close_button pull-right'>
|
||||||
|
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||||
|
onclick="document.getElementById('div_ft2.1').style.display='none'"><span
|
||||||
|
aria-hidden="true">×</span></button>
|
||||||
|
</div>
|
||||||
|
<div class="text-left pull-left">
|
||||||
|
<pre class="text-left">Traceback (most recent call last):
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 111, in test_backup_all
|
||||||
|
self.assertEqual(1, len(res))
|
||||||
|
AssertionError: 1 != 0</pre>
|
||||||
|
</div>
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
|
<!--css div popup end-->
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id='pt2.2' class='hiddenRow bg-success'>
|
<tr id="et2.2" class="none bg-info">
|
||||||
<td>
|
<td>
|
||||||
<div class='testcase'>TestBackupMetadata - test_backup_change_book_author</div>
|
<div class='testcase'>TestBackupMetadata - test_backup_change_book_author</div>
|
||||||
</td>
|
</td>
|
||||||
<td colspan='6' align='center'>PASS</td>
|
<td colspan='6'>
|
||||||
</tr>
|
<div class="text-center">
|
||||||
|
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et2.2')">ERROR</a>
|
||||||
|
</div>
|
||||||
|
<!--css div popup start-->
|
||||||
<tr id='pt2.3' class='hiddenRow bg-success'>
|
<div id="div_et2.2" class="popup_window test_output" style="display:block;">
|
||||||
<td>
|
<div class='close_button pull-right'>
|
||||||
<div class='testcase'>TestBackupMetadata - test_backup_change_book_custom_bool</div>
|
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||||
|
onclick="document.getElementById('div_et2.2').style.display='none'"><span
|
||||||
|
aria-hidden="true">×</span></button>
|
||||||
|
</div>
|
||||||
|
<div class="text-left pull-left">
|
||||||
|
<pre class="text-left">Traceback (most recent call last):
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 237, in test_backup_change_book_author
|
||||||
|
metadata = read_opf_metadata(meta_path)
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 21, in read_opf_metadata
|
||||||
|
with codecs.open(filename, "r", "utf-8") as f:
|
||||||
|
File "/usr/lib/python3.10/codecs.py", line 905, in open
|
||||||
|
file = builtins.open(filename, mode, buffering)
|
||||||
|
FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/Dokumente/tüst db/Frodo Beutlin/Der Buchtitel (1)/metadata.opf'</pre>
|
||||||
|
</div>
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
|
<!--css div popup end-->
|
||||||
</td>
|
</td>
|
||||||
<td colspan='6' align='center'>PASS</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id='pt2.4' class='hiddenRow bg-success'>
|
<tr id="et2.3" class="none bg-info">
|
||||||
<td>
|
<td>
|
||||||
<div class='testcase'>TestBackupMetadata - test_backup_change_book_description</div>
|
<div class='testcase'>TestBackupMetadata - test_backup_change_book_description</div>
|
||||||
</td>
|
</td>
|
||||||
<td colspan='6' align='center'>PASS</td>
|
<td colspan='6'>
|
||||||
|
<div class="text-center">
|
||||||
|
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et2.3')">ERROR</a>
|
||||||
|
</div>
|
||||||
|
<!--css div popup start-->
|
||||||
|
<div id="div_et2.3" class="popup_window test_output" style="display:block;">
|
||||||
|
<div class='close_button pull-right'>
|
||||||
|
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||||
|
onclick="document.getElementById('div_et2.3').style.display='none'"><span
|
||||||
|
aria-hidden="true">×</span></button>
|
||||||
|
</div>
|
||||||
|
<div class="text-left pull-left">
|
||||||
|
<pre class="text-left">Traceback (most recent call last):
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 337, in test_backup_change_book_description
|
||||||
|
metadata = read_opf_metadata(meta_path)
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 21, in read_opf_metadata
|
||||||
|
with codecs.open(filename, "r", "utf-8") as f:
|
||||||
|
File "/usr/lib/python3.10/codecs.py", line 905, in open
|
||||||
|
file = builtins.open(filename, mode, buffering)
|
||||||
|
FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/Dokumente/tüst db/Asterix Lionherd/comicdemo (3)/metadata.opf'</pre>
|
||||||
|
</div>
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
|
<!--css div popup end-->
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id='pt2.5' class='hiddenRow bg-success'>
|
<tr id="et2.4" class="none bg-info">
|
||||||
<td>
|
<td>
|
||||||
<div class='testcase'>TestBackupMetadata - test_backup_change_book_language</div>
|
<div class='testcase'>TestBackupMetadata - test_backup_change_book_language</div>
|
||||||
</td>
|
</td>
|
||||||
<td colspan='6' align='center'>PASS</td>
|
<td colspan='6'>
|
||||||
|
<div class="text-center">
|
||||||
|
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et2.4')">ERROR</a>
|
||||||
|
</div>
|
||||||
|
<!--css div popup start-->
|
||||||
|
<div id="div_et2.4" class="popup_window test_output" style="display:block;">
|
||||||
|
<div class='close_button pull-right'>
|
||||||
|
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||||
|
onclick="document.getElementById('div_et2.4').style.display='none'"><span
|
||||||
|
aria-hidden="true">×</span></button>
|
||||||
|
</div>
|
||||||
|
<div class="text-left pull-left">
|
||||||
|
<pre class="text-left">Traceback (most recent call last):
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 297, in test_backup_change_book_language
|
||||||
|
metadata = read_opf_metadata(meta_path)
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 21, in read_opf_metadata
|
||||||
|
with codecs.open(filename, "r", "utf-8") as f:
|
||||||
|
File "/usr/lib/python3.10/codecs.py", line 905, in open
|
||||||
|
file = builtins.open(filename, mode, buffering)
|
||||||
|
FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/Dokumente/tüst db/Asterix Lionherd/comicdemo (3)/metadata.opf'</pre>
|
||||||
|
</div>
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
|
<!--css div popup end-->
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id='pt2.6' class='hiddenRow bg-success'>
|
<tr id="et2.5" class="none bg-info">
|
||||||
<td>
|
<td>
|
||||||
<div class='testcase'>TestBackupMetadata - test_backup_change_book_publisher</div>
|
<div class='testcase'>TestBackupMetadata - test_backup_change_book_publisher</div>
|
||||||
</td>
|
</td>
|
||||||
<td colspan='6' align='center'>PASS</td>
|
<td colspan='6'>
|
||||||
|
<div class="text-center">
|
||||||
|
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et2.5')">ERROR</a>
|
||||||
|
</div>
|
||||||
|
<!--css div popup start-->
|
||||||
|
<div id="div_et2.5" class="popup_window test_output" style="display:block;">
|
||||||
|
<div class='close_button pull-right'>
|
||||||
|
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||||
|
onclick="document.getElementById('div_et2.5').style.display='none'"><span
|
||||||
|
aria-hidden="true">×</span></button>
|
||||||
|
</div>
|
||||||
|
<div class="text-left pull-left">
|
||||||
|
<pre class="text-left">Traceback (most recent call last):
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 205, in test_backup_change_book_publisher
|
||||||
|
metadata = read_opf_metadata(meta_path)
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 21, in read_opf_metadata
|
||||||
|
with codecs.open(filename, "r", "utf-8") as f:
|
||||||
|
File "/usr/lib/python3.10/codecs.py", line 905, in open
|
||||||
|
file = builtins.open(filename, mode, buffering)
|
||||||
|
FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/Dokumente/tüst db/Frodo Beutlin/Der Buchtitel (1)/metadata.opf'</pre>
|
||||||
|
</div>
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
|
<!--css div popup end-->
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id='pt2.7' class='hiddenRow bg-success'>
|
<tr id="et2.6" class="none bg-info">
|
||||||
<td>
|
<td>
|
||||||
<div class='testcase'>TestBackupMetadata - test_backup_change_book_publishing_date</div>
|
<div class='testcase'>TestBackupMetadata - test_backup_change_book_publishing_date</div>
|
||||||
</td>
|
</td>
|
||||||
<td colspan='6' align='center'>PASS</td>
|
<td colspan='6'>
|
||||||
|
<div class="text-center">
|
||||||
|
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et2.6')">ERROR</a>
|
||||||
|
</div>
|
||||||
|
<!--css div popup start-->
|
||||||
|
<div id="div_et2.6" class="popup_window test_output" style="display:block;">
|
||||||
|
<div class='close_button pull-right'>
|
||||||
|
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||||
|
onclick="document.getElementById('div_et2.6').style.display='none'"><span
|
||||||
|
aria-hidden="true">×</span></button>
|
||||||
|
</div>
|
||||||
|
<div class="text-left pull-left">
|
||||||
|
<pre class="text-left">Traceback (most recent call last):
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 260, in test_backup_change_book_publishing_date
|
||||||
|
metadata = read_opf_metadata(meta_path)
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 21, in read_opf_metadata
|
||||||
|
with codecs.open(filename, "r", "utf-8") as f:
|
||||||
|
File "/usr/lib/python3.10/codecs.py", line 905, in open
|
||||||
|
file = builtins.open(filename, mode, buffering)
|
||||||
|
FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/Dokumente/tüst db/Hector Goncalves/book9 (11)/metadata.opf'</pre>
|
||||||
|
</div>
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
|
<!--css div popup end-->
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id='pt2.8' class='hiddenRow bg-success'>
|
<tr id="et2.7" class="none bg-info">
|
||||||
<td>
|
<td>
|
||||||
<div class='testcase'>TestBackupMetadata - test_backup_change_book_rating</div>
|
<div class='testcase'>TestBackupMetadata - test_backup_change_book_rating</div>
|
||||||
</td>
|
</td>
|
||||||
<td colspan='6' align='center'>PASS</td>
|
<td colspan='6'>
|
||||||
</tr>
|
<div class="text-center">
|
||||||
|
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et2.7')">ERROR</a>
|
||||||
|
</div>
|
||||||
|
<!--css div popup start-->
|
||||||
<tr id='pt2.9' class='hiddenRow bg-success'>
|
<div id="div_et2.7" class="popup_window test_output" style="display:block;">
|
||||||
<td>
|
<div class='close_button pull-right'>
|
||||||
<div class='testcase'>TestBackupMetadata - test_backup_change_book_read_status</div>
|
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||||
|
onclick="document.getElementById('div_et2.7').style.display='none'"><span
|
||||||
|
aria-hidden="true">×</span></button>
|
||||||
|
</div>
|
||||||
|
<div class="text-left pull-left">
|
||||||
|
<pre class="text-left">Traceback (most recent call last):
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 318, in test_backup_change_book_rating
|
||||||
|
metadata = read_opf_metadata(meta_path)
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 21, in read_opf_metadata
|
||||||
|
with codecs.open(filename, "r", "utf-8") as f:
|
||||||
|
File "/usr/lib/python3.10/codecs.py", line 905, in open
|
||||||
|
file = builtins.open(filename, mode, buffering)
|
||||||
|
FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/Dokumente/tüst db/Asterix Lionherd/comicdemo (3)/metadata.opf'</pre>
|
||||||
|
</div>
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
|
<!--css div popup end-->
|
||||||
</td>
|
</td>
|
||||||
<td colspan='6' align='center'>PASS</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id='pt2.10' class='hiddenRow bg-success'>
|
<tr id="et2.8" class="none bg-info">
|
||||||
<td>
|
<td>
|
||||||
<div class='testcase'>TestBackupMetadata - test_backup_change_book_seriesindex</div>
|
<div class='testcase'>TestBackupMetadata - test_backup_change_book_seriesindex</div>
|
||||||
</td>
|
</td>
|
||||||
<td colspan='6' align='center'>PASS</td>
|
<td colspan='6'>
|
||||||
|
<div class="text-center">
|
||||||
|
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et2.8')">ERROR</a>
|
||||||
|
</div>
|
||||||
|
<!--css div popup start-->
|
||||||
|
<div id="div_et2.8" class="popup_window test_output" style="display:block;">
|
||||||
|
<div class='close_button pull-right'>
|
||||||
|
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||||
|
onclick="document.getElementById('div_et2.8').style.display='none'"><span
|
||||||
|
aria-hidden="true">×</span></button>
|
||||||
|
</div>
|
||||||
|
<div class="text-left pull-left">
|
||||||
|
<pre class="text-left">Traceback (most recent call last):
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 166, in test_backup_change_book_seriesindex
|
||||||
|
metadata = read_opf_metadata(meta_path)
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 21, in read_opf_metadata
|
||||||
|
with codecs.open(filename, "r", "utf-8") as f:
|
||||||
|
File "/usr/lib/python3.10/codecs.py", line 905, in open
|
||||||
|
file = builtins.open(filename, mode, buffering)
|
||||||
|
FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/Dokumente/tüst db/Frodo Beutlin/Der Buchtitel (1)/metadata.opf'</pre>
|
||||||
|
</div>
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
|
<!--css div popup end-->
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id='pt2.11' class='hiddenRow bg-success'>
|
<tr id="et2.9" class="none bg-info">
|
||||||
<td>
|
<td>
|
||||||
<div class='testcase'>TestBackupMetadata - test_backup_change_book_tags</div>
|
<div class='testcase'>TestBackupMetadata - test_backup_change_book_tags</div>
|
||||||
</td>
|
</td>
|
||||||
<td colspan='6' align='center'>PASS</td>
|
<td colspan='6'>
|
||||||
|
<div class="text-center">
|
||||||
|
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et2.9')">ERROR</a>
|
||||||
|
</div>
|
||||||
|
<!--css div popup start-->
|
||||||
|
<div id="div_et2.9" class="popup_window test_output" style="display:block;">
|
||||||
|
<div class='close_button pull-right'>
|
||||||
|
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||||
|
onclick="document.getElementById('div_et2.9').style.display='none'"><span
|
||||||
|
aria-hidden="true">×</span></button>
|
||||||
|
</div>
|
||||||
|
<div class="text-left pull-left">
|
||||||
|
<pre class="text-left">Traceback (most recent call last):
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 276, in test_backup_change_book_tags
|
||||||
|
metadata = read_opf_metadata(meta_path)
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 21, in read_opf_metadata
|
||||||
|
with codecs.open(filename, "r", "utf-8") as f:
|
||||||
|
File "/usr/lib/python3.10/codecs.py", line 905, in open
|
||||||
|
file = builtins.open(filename, mode, buffering)
|
||||||
|
FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/Dokumente/tüst db/Peter Parker/Very long extra super turbo cool tit (4)/metadata.opf'</pre>
|
||||||
|
</div>
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
|
<!--css div popup end-->
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<tr id="et2.10" class="none bg-info">
|
||||||
|
<td>
|
||||||
|
<div class='testcase'>TestBackupMetadata - test_backup_change_book_title</div>
|
||||||
|
</td>
|
||||||
|
<td colspan='6'>
|
||||||
|
<div class="text-center">
|
||||||
|
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et2.10')">ERROR</a>
|
||||||
|
</div>
|
||||||
|
<!--css div popup start-->
|
||||||
|
<div id="div_et2.10" class="popup_window test_output" style="display:block;">
|
||||||
|
<div class='close_button pull-right'>
|
||||||
|
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||||
|
onclick="document.getElementById('div_et2.10').style.display='none'"><span
|
||||||
|
aria-hidden="true">×</span></button>
|
||||||
|
</div>
|
||||||
|
<div class="text-left pull-left">
|
||||||
|
<pre class="text-left">Traceback (most recent call last):
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 221, in test_backup_change_book_title
|
||||||
|
metadata = read_opf_metadata(meta_path)
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 21, in read_opf_metadata
|
||||||
|
with codecs.open(filename, "r", "utf-8") as f:
|
||||||
|
File "/usr/lib/python3.10/codecs.py", line 905, in open
|
||||||
|
file = builtins.open(filename, mode, buffering)
|
||||||
|
FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/Dokumente/tüst db/John Doe/Buuko (7)/metadata.opf'</pre>
|
||||||
|
</div>
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
|
<!--css div popup end-->
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<tr id="et2.11" class="none bg-info">
|
||||||
|
<td>
|
||||||
|
<div class='testcase'>TestBackupMetadata - test_backup_change_custom_bool</div>
|
||||||
|
</td>
|
||||||
|
<td colspan='6'>
|
||||||
|
<div class="text-center">
|
||||||
|
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et2.11')">ERROR</a>
|
||||||
|
</div>
|
||||||
|
<!--css div popup start-->
|
||||||
|
<div id="div_et2.11" class="popup_window test_output" style="display:block;">
|
||||||
|
<div class='close_button pull-right'>
|
||||||
|
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||||
|
onclick="document.getElementById('div_et2.11').style.display='none'"><span
|
||||||
|
aria-hidden="true">×</span></button>
|
||||||
|
</div>
|
||||||
|
<div class="text-left pull-left">
|
||||||
|
<pre class="text-left">Traceback (most recent call last):
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 356, in test_backup_change_custom_bool
|
||||||
|
metadata = read_opf_metadata(meta_path)
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 21, in read_opf_metadata
|
||||||
|
with codecs.open(filename, "r", "utf-8") as f:
|
||||||
|
File "/usr/lib/python3.10/codecs.py", line 905, in open
|
||||||
|
file = builtins.open(filename, mode, buffering)
|
||||||
|
FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/Dokumente/tüst db/Asterix Lionherd/comicdemo (3)/metadata.opf'</pre>
|
||||||
|
</div>
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
|
<!--css div popup end-->
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id="et2.12" class="none bg-info">
|
<tr id="et2.12" class="none bg-info">
|
||||||
<td>
|
<td>
|
||||||
<div class='testcase'>TestBackupMetadata - test_backup_change_book_title</div>
|
<div class='testcase'>TestBackupMetadata - test_backup_change_custom_float</div>
|
||||||
</td>
|
</td>
|
||||||
<td colspan='6'>
|
<td colspan='6'>
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
@ -364,11 +624,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="text-left pull-left">
|
<div class="text-left pull-left">
|
||||||
<pre class="text-left">Traceback (most recent call last):
|
<pre class="text-left">Traceback (most recent call last):
|
||||||
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 224, in test_backup_change_book_title
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 389, in test_backup_change_custom_float
|
||||||
self.edit_book(7, content={'title': 'Buuko'})
|
metadata = read_opf_metadata(meta_path)
|
||||||
File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1772, in edit_book
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 21, in read_opf_metadata
|
||||||
ele.send_keys(Keys.CONTROL, "a")
|
with codecs.open(filename, "r", "utf-8") as f:
|
||||||
AttributeError: 'bool' object has no attribute 'send_keys'</pre>
|
File "/usr/lib/python3.10/codecs.py", line 905, in open
|
||||||
|
file = builtins.open(filename, mode, buffering)
|
||||||
|
FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/Dokumente/tüst db/Asterix Lionherd/comicdemo (3)/metadata.opf'</pre>
|
||||||
</div>
|
</div>
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
</div>
|
</div>
|
||||||
@ -378,7 +640,73 @@ AttributeError: 'bool' object has no attribute 'send_keys'</pre>
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id='pt2.13' class='hiddenRow bg-success'>
|
<tr id="et2.13" class="none bg-info">
|
||||||
|
<td>
|
||||||
|
<div class='testcase'>TestBackupMetadata - test_backup_change_custom_int</div>
|
||||||
|
</td>
|
||||||
|
<td colspan='6'>
|
||||||
|
<div class="text-center">
|
||||||
|
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et2.13')">ERROR</a>
|
||||||
|
</div>
|
||||||
|
<!--css div popup start-->
|
||||||
|
<div id="div_et2.13" class="popup_window test_output" style="display:block;">
|
||||||
|
<div class='close_button pull-right'>
|
||||||
|
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||||
|
onclick="document.getElementById('div_et2.13').style.display='none'"><span
|
||||||
|
aria-hidden="true">×</span></button>
|
||||||
|
</div>
|
||||||
|
<div class="text-left pull-left">
|
||||||
|
<pre class="text-left">Traceback (most recent call last):
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 422, in test_backup_change_custom_int
|
||||||
|
metadata = read_opf_metadata(meta_path)
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 21, in read_opf_metadata
|
||||||
|
with codecs.open(filename, "r", "utf-8") as f:
|
||||||
|
File "/usr/lib/python3.10/codecs.py", line 905, in open
|
||||||
|
file = builtins.open(filename, mode, buffering)
|
||||||
|
FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/Dokumente/tüst db/Asterix Lionherd/comicdemo (3)/metadata.opf'</pre>
|
||||||
|
</div>
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
|
<!--css div popup end-->
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<tr id="et2.14" class="none bg-info">
|
||||||
|
<td>
|
||||||
|
<div class='testcase'>TestBackupMetadata - test_backup_change_custom_rating</div>
|
||||||
|
</td>
|
||||||
|
<td colspan='6'>
|
||||||
|
<div class="text-center">
|
||||||
|
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et2.14')">ERROR</a>
|
||||||
|
</div>
|
||||||
|
<!--css div popup start-->
|
||||||
|
<div id="div_et2.14" class="popup_window test_output" style="display:block;">
|
||||||
|
<div class='close_button pull-right'>
|
||||||
|
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||||
|
onclick="document.getElementById('div_et2.14').style.display='none'"><span
|
||||||
|
aria-hidden="true">×</span></button>
|
||||||
|
</div>
|
||||||
|
<div class="text-left pull-left">
|
||||||
|
<pre class="text-left">Traceback (most recent call last):
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 455, in test_backup_change_custom_rating
|
||||||
|
metadata = read_opf_metadata(meta_path)
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 21, in read_opf_metadata
|
||||||
|
with codecs.open(filename, "r", "utf-8") as f:
|
||||||
|
File "/usr/lib/python3.10/codecs.py", line 905, in open
|
||||||
|
file = builtins.open(filename, mode, buffering)
|
||||||
|
FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/Dokumente/tüst db/Asterix Lionherd/comicdemo (3)/metadata.opf'</pre>
|
||||||
|
</div>
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
|
<!--css div popup end-->
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<tr id='pt2.15' class='hiddenRow bg-success'>
|
||||||
<td>
|
<td>
|
||||||
<div class='testcase'>TestBackupMetadata - test_gdrive</div>
|
<div class='testcase'>TestBackupMetadata - test_gdrive</div>
|
||||||
</td>
|
</td>
|
||||||
@ -387,11 +715,35 @@ AttributeError: 'bool' object has no attribute 'send_keys'</pre>
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id='pt2.14' class='hiddenRow bg-success'>
|
<tr id="et2.16" class="none bg-info">
|
||||||
<td>
|
<td>
|
||||||
<div class='testcase'>TestBackupMetadata - test_upload_book</div>
|
<div class='testcase'>TestBackupMetadata - test_upload_book</div>
|
||||||
</td>
|
</td>
|
||||||
<td colspan='6' align='center'>PASS</td>
|
<td colspan='6'>
|
||||||
|
<div class="text-center">
|
||||||
|
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et2.16')">ERROR</a>
|
||||||
|
</div>
|
||||||
|
<!--css div popup start-->
|
||||||
|
<div id="div_et2.16" class="popup_window test_output" style="display:block;">
|
||||||
|
<div class='close_button pull-right'>
|
||||||
|
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||||
|
onclick="document.getElementById('div_et2.16').style.display='none'"><span
|
||||||
|
aria-hidden="true">×</span></button>
|
||||||
|
</div>
|
||||||
|
<div class="text-left pull-left">
|
||||||
|
<pre class="text-left">Traceback (most recent call last):
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 490, in test_upload_book
|
||||||
|
metadata = read_opf_metadata(meta_path)
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 21, in read_opf_metadata
|
||||||
|
with codecs.open(filename, "r", "utf-8") as f:
|
||||||
|
File "/usr/lib/python3.10/codecs.py", line 905, in open
|
||||||
|
file = builtins.open(filename, mode, buffering)
|
||||||
|
FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/Dokumente/tüst db/Noname 23/book9 (15)/metadata.opf'</pre>
|
||||||
|
</div>
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
|
<!--css div popup end-->
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
@ -1524,11 +1876,11 @@ AttributeError: 'bool' object has no attribute 'send_keys'</pre>
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id="su" class="passClass">
|
<tr id="su" class="failClass">
|
||||||
<td>TestEditAuthorsGdrive</td>
|
<td>TestEditAuthorsGdrive</td>
|
||||||
<td class="text-center">6</td>
|
<td class="text-center">6</td>
|
||||||
<td class="text-center">6</td>
|
<td class="text-center">5</td>
|
||||||
<td class="text-center">0</td>
|
<td class="text-center">1</td>
|
||||||
<td class="text-center">0</td>
|
<td class="text-center">0</td>
|
||||||
<td class="text-center">0</td>
|
<td class="text-center">0</td>
|
||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
@ -1556,11 +1908,31 @@ AttributeError: 'bool' object has no attribute 'send_keys'</pre>
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id='pt14.3' class='hiddenRow bg-success'>
|
<tr id="ft14.3" class="none bg-danger">
|
||||||
<td>
|
<td>
|
||||||
<div class='testcase'>TestEditAuthorsGdrive - test_change_capital_one_author_two_books</div>
|
<div class='testcase'>TestEditAuthorsGdrive - test_change_capital_one_author_two_books</div>
|
||||||
</td>
|
</td>
|
||||||
<td colspan='6' align='center'>PASS</td>
|
<td colspan='6'>
|
||||||
|
<div class="text-center">
|
||||||
|
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_ft14.3')">FAIL</a>
|
||||||
|
</div>
|
||||||
|
<!--css div popup start-->
|
||||||
|
<div id="div_ft14.3" class="popup_window test_output" style="display:block;">
|
||||||
|
<div class='close_button pull-right'>
|
||||||
|
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||||
|
onclick="document.getElementById('div_ft14.3').style.display='none'"><span
|
||||||
|
aria-hidden="true">×</span></button>
|
||||||
|
</div>
|
||||||
|
<div class="text-left pull-left">
|
||||||
|
<pre class="text-left">Traceback (most recent call last):
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_author_gdrive.py", line 235, in test_change_capital_one_author_two_books
|
||||||
|
self.assertFalse(self.check_element_on_page((By.ID, "flash_danger")))
|
||||||
|
AssertionError: <selenium.webdriver.remote.webelement.WebElement (session="e48627fb-832f-4b00-a0f4-491ce8c36819", element="68e15ae5-a7f8-46ff-947a-86ca13bc4c45")> is not false</pre>
|
||||||
|
</div>
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
|
<!--css div popup end-->
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
@ -1770,13 +2142,13 @@ AttributeError: 'bool' object has no attribute 'send_keys'</pre>
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id="su" class="errorClass">
|
<tr id="su" class="passClass">
|
||||||
<td>TestLoadMetadata</td>
|
<td>TestLoadMetadata</td>
|
||||||
<td class="text-center">1</td>
|
<td class="text-center">1</td>
|
||||||
<td class="text-center">0</td>
|
|
||||||
<td class="text-center">0</td>
|
|
||||||
<td class="text-center">1</td>
|
<td class="text-center">1</td>
|
||||||
<td class="text-center">0</td>
|
<td class="text-center">0</td>
|
||||||
|
<td class="text-center">0</td>
|
||||||
|
<td class="text-center">0</td>
|
||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
<a onclick="showClassDetail('c16', 1)">Detail</a>
|
<a onclick="showClassDetail('c16', 1)">Detail</a>
|
||||||
</td>
|
</td>
|
||||||
@ -1784,42 +2156,22 @@ AttributeError: 'bool' object has no attribute 'send_keys'</pre>
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id="et16.1" class="none bg-info">
|
<tr id='pt16.1' class='hiddenRow bg-success'>
|
||||||
<td>
|
<td>
|
||||||
<div class='testcase'>TestLoadMetadata - test_load_metadata</div>
|
<div class='testcase'>TestLoadMetadata - test_load_metadata</div>
|
||||||
</td>
|
</td>
|
||||||
<td colspan='6'>
|
<td colspan='6' align='center'>PASS</td>
|
||||||
<div class="text-center">
|
|
||||||
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et16.1')">ERROR</a>
|
|
||||||
</div>
|
|
||||||
<!--css div popup start-->
|
|
||||||
<div id="div_et16.1" class="popup_window test_output" style="display:block;">
|
|
||||||
<div class='close_button pull-right'>
|
|
||||||
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
|
||||||
onclick="document.getElementById('div_et16.1').style.display='none'"><span
|
|
||||||
aria-hidden="true">×</span></button>
|
|
||||||
</div>
|
|
||||||
<div class="text-left pull-left">
|
|
||||||
<pre class="text-left">Traceback (most recent call last):
|
|
||||||
File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_metadata.py", line 84, in test_load_metadata
|
|
||||||
elif 'https://amazon.com/' == results[20]['source']:
|
|
||||||
IndexError: list index out of range</pre>
|
|
||||||
</div>
|
|
||||||
<div class="clearfix"></div>
|
|
||||||
</div>
|
|
||||||
<!--css div popup end-->
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id="su" class="passClass">
|
<tr id="su" class="errorClass">
|
||||||
<td>TestEditBooksOnGdrive</td>
|
<td>TestEditBooksOnGdrive</td>
|
||||||
<td class="text-center">18</td>
|
<td class="text-center">18</td>
|
||||||
<td class="text-center">18</td>
|
<td class="text-center">16</td>
|
||||||
<td class="text-center">0</td>
|
|
||||||
<td class="text-center">0</td>
|
<td class="text-center">0</td>
|
||||||
|
<td class="text-center">2</td>
|
||||||
<td class="text-center">0</td>
|
<td class="text-center">0</td>
|
||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
<a onclick="showClassDetail('c17', 18)">Detail</a>
|
<a onclick="showClassDetail('c17', 18)">Detail</a>
|
||||||
@ -1837,11 +2189,42 @@ IndexError: list index out of range</pre>
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id='pt17.2' class='hiddenRow bg-success'>
|
<tr id="et17.2" class="none bg-info">
|
||||||
<td>
|
<td>
|
||||||
<div class='testcase'>TestEditBooksOnGdrive - test_edit_author</div>
|
<div class='testcase'>TestEditBooksOnGdrive - test_edit_author</div>
|
||||||
</td>
|
</td>
|
||||||
<td colspan='6' align='center'>PASS</td>
|
<td colspan='6'>
|
||||||
|
<div class="text-center">
|
||||||
|
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et17.2')">ERROR</a>
|
||||||
|
</div>
|
||||||
|
<!--css div popup start-->
|
||||||
|
<div id="div_et17.2" class="popup_window test_output" style="display:block;">
|
||||||
|
<div class='close_button pull-right'>
|
||||||
|
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||||
|
onclick="document.getElementById('div_et17.2').style.display='none'"><span
|
||||||
|
aria-hidden="true">×</span></button>
|
||||||
|
</div>
|
||||||
|
<div class="text-left pull-left">
|
||||||
|
<pre class="text-left">Traceback (most recent call last):
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 386, in test_edit_author
|
||||||
|
self.fill_basic_config({"config_unicode_filename": 0})
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 398, in fill_basic_config
|
||||||
|
cls._fill_basic_config(elements)
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 302, in _fill_basic_config
|
||||||
|
WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port")))
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until
|
||||||
|
raise TimeoutException(message, screen, stacktrace)
|
||||||
|
selenium.common.exceptions.TimeoutException: Message:
|
||||||
|
Stacktrace:
|
||||||
|
RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
|
||||||
|
WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:180:5
|
||||||
|
NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:392:5
|
||||||
|
element.find/</<@chrome://remote/content/marionette/element.sys.mjs:134:16</pre>
|
||||||
|
</div>
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
|
<!--css div popup end-->
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
@ -1963,11 +2346,31 @@ IndexError: list index out of range</pre>
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id='pt17.16' class='hiddenRow bg-success'>
|
<tr id="et17.16" class="none bg-info">
|
||||||
<td>
|
<td>
|
||||||
<div class='testcase'>TestEditBooksOnGdrive - test_edit_title</div>
|
<div class='testcase'>TestEditBooksOnGdrive - test_edit_title</div>
|
||||||
</td>
|
</td>
|
||||||
<td colspan='6' align='center'>PASS</td>
|
<td colspan='6'>
|
||||||
|
<div class="text-center">
|
||||||
|
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et17.16')">ERROR</a>
|
||||||
|
</div>
|
||||||
|
<!--css div popup start-->
|
||||||
|
<div id="div_et17.16" class="popup_window test_output" style="display:block;">
|
||||||
|
<div class='close_button pull-right'>
|
||||||
|
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
||||||
|
onclick="document.getElementById('div_et17.16').style.display='none'"><span
|
||||||
|
aria-hidden="true">×</span></button>
|
||||||
|
</div>
|
||||||
|
<div class="text-left pull-left">
|
||||||
|
<pre class="text-left">Traceback (most recent call last):
|
||||||
|
File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 231, in test_edit_title
|
||||||
|
self.assertEqual(ele.text, u'Very long extra super turbo cool title without any issue of displaying including ö utf-8 characters')
|
||||||
|
AttributeError: 'bool' object has no attribute 'text'</pre>
|
||||||
|
</div>
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
|
<!--css div popup end-->
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
@ -3848,8 +4251,8 @@ IndexError: list index out of range</pre>
|
|||||||
<tr id="su" class="failClass">
|
<tr id="su" class="failClass">
|
||||||
<td>TestThumbnails</td>
|
<td>TestThumbnails</td>
|
||||||
<td class="text-center">8</td>
|
<td class="text-center">8</td>
|
||||||
<td class="text-center">2</td>
|
<td class="text-center">6</td>
|
||||||
<td class="text-center">5</td>
|
<td class="text-center">1</td>
|
||||||
<td class="text-center">0</td>
|
<td class="text-center">0</td>
|
||||||
<td class="text-center">1</td>
|
<td class="text-center">1</td>
|
||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
@ -3868,89 +4271,29 @@ IndexError: list index out of range</pre>
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id="ft44.2" class="none bg-danger">
|
<tr id='pt44.2' class='hiddenRow bg-success'>
|
||||||
<td>
|
<td>
|
||||||
<div class='testcase'>TestThumbnails - test_cache_of_deleted_book</div>
|
<div class='testcase'>TestThumbnails - test_cache_of_deleted_book</div>
|
||||||
</td>
|
</td>
|
||||||
<td colspan='6'>
|
<td colspan='6' align='center'>PASS</td>
|
||||||
<div class="text-center">
|
|
||||||
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_ft44.2')">FAIL</a>
|
|
||||||
</div>
|
|
||||||
<!--css div popup start-->
|
|
||||||
<div id="div_ft44.2" class="popup_window test_output" style="display:block;">
|
|
||||||
<div class='close_button pull-right'>
|
|
||||||
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
|
||||||
onclick="document.getElementById('div_ft44.2').style.display='none'"><span
|
|
||||||
aria-hidden="true">×</span></button>
|
|
||||||
</div>
|
|
||||||
<div class="text-left pull-left">
|
|
||||||
<pre class="text-left">Traceback (most recent call last):
|
|
||||||
File "/home/ozzie/Development/calibre-web-test/test/test_thumbnails.py", line 193, in test_cache_of_deleted_book
|
|
||||||
self.assertEqual(len(res), 1)
|
|
||||||
AssertionError: 2 != 1</pre>
|
|
||||||
</div>
|
|
||||||
<div class="clearfix"></div>
|
|
||||||
</div>
|
|
||||||
<!--css div popup end-->
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id="ft44.3" class="none bg-danger">
|
<tr id='pt44.3' class='hiddenRow bg-success'>
|
||||||
<td>
|
<td>
|
||||||
<div class='testcase'>TestThumbnails - test_cover_cache_on_database_change</div>
|
<div class='testcase'>TestThumbnails - test_cover_cache_on_database_change</div>
|
||||||
</td>
|
</td>
|
||||||
<td colspan='6'>
|
<td colspan='6' align='center'>PASS</td>
|
||||||
<div class="text-center">
|
|
||||||
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_ft44.3')">FAIL</a>
|
|
||||||
</div>
|
|
||||||
<!--css div popup start-->
|
|
||||||
<div id="div_ft44.3" class="popup_window test_output" style="display:block;">
|
|
||||||
<div class='close_button pull-right'>
|
|
||||||
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
|
||||||
onclick="document.getElementById('div_ft44.3').style.display='none'"><span
|
|
||||||
aria-hidden="true">×</span></button>
|
|
||||||
</div>
|
|
||||||
<div class="text-left pull-left">
|
|
||||||
<pre class="text-left">Traceback (most recent call last):
|
|
||||||
File "/home/ozzie/Development/calibre-web-test/test/test_thumbnails.py", line 80, in test_cover_cache_on_database_change
|
|
||||||
self.assertLessEqual(len(res), 1, res)
|
|
||||||
AssertionError: 2 not less than or equal to 1 : [{'user': 'System', 'task': 'Metadata backup: Backing up Metadata', 'result': 'Finished', 'progress': '100 %', 'duration': ' 0s', 'start': '3/6/23, 12:12\u202fAM'}, {'user': 'System', 'task': 'Cover Thumbnails: Generated 222 cover thumbnails', 'result': 'Finished', 'progress': '100 %', 'duration': ' 5s', 'start': '3/6/23, 12:12\u202fAM'}]</pre>
|
|
||||||
</div>
|
|
||||||
<div class="clearfix"></div>
|
|
||||||
</div>
|
|
||||||
<!--css div popup end-->
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id="ft44.4" class="none bg-danger">
|
<tr id='pt44.4' class='hiddenRow bg-success'>
|
||||||
<td>
|
<td>
|
||||||
<div class='testcase'>TestThumbnails - test_cover_change_on_upload_new_cover</div>
|
<div class='testcase'>TestThumbnails - test_cover_change_on_upload_new_cover</div>
|
||||||
</td>
|
</td>
|
||||||
<td colspan='6'>
|
<td colspan='6' align='center'>PASS</td>
|
||||||
<div class="text-center">
|
|
||||||
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_ft44.4')">FAIL</a>
|
|
||||||
</div>
|
|
||||||
<!--css div popup start-->
|
|
||||||
<div id="div_ft44.4" class="popup_window test_output" style="display:block;">
|
|
||||||
<div class='close_button pull-right'>
|
|
||||||
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
|
||||||
onclick="document.getElementById('div_ft44.4').style.display='none'"><span
|
|
||||||
aria-hidden="true">×</span></button>
|
|
||||||
</div>
|
|
||||||
<div class="text-left pull-left">
|
|
||||||
<pre class="text-left">Traceback (most recent call last):
|
|
||||||
File "/home/ozzie/Development/calibre-web-test/test/test_thumbnails.py", line 123, in test_cover_change_on_upload_new_cover
|
|
||||||
self.assertLessEqual(len(res), 1)
|
|
||||||
AssertionError: 2 not less than or equal to 1</pre>
|
|
||||||
</div>
|
|
||||||
<div class="clearfix"></div>
|
|
||||||
</div>
|
|
||||||
<!--css div popup end-->
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
@ -3964,31 +4307,11 @@ AssertionError: 2 not less than or equal to 1</pre>
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr id="ft44.6" class="none bg-danger">
|
<tr id='pt44.6' class='hiddenRow bg-success'>
|
||||||
<td>
|
<td>
|
||||||
<div class='testcase'>TestThumbnails - test_cover_on_upload_book</div>
|
<div class='testcase'>TestThumbnails - test_cover_on_upload_book</div>
|
||||||
</td>
|
</td>
|
||||||
<td colspan='6'>
|
<td colspan='6' align='center'>PASS</td>
|
||||||
<div class="text-center">
|
|
||||||
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_ft44.6')">FAIL</a>
|
|
||||||
</div>
|
|
||||||
<!--css div popup start-->
|
|
||||||
<div id="div_ft44.6" class="popup_window test_output" style="display:block;">
|
|
||||||
<div class='close_button pull-right'>
|
|
||||||
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
|
|
||||||
onclick="document.getElementById('div_ft44.6').style.display='none'"><span
|
|
||||||
aria-hidden="true">×</span></button>
|
|
||||||
</div>
|
|
||||||
<div class="text-left pull-left">
|
|
||||||
<pre class="text-left">Traceback (most recent call last):
|
|
||||||
File "/home/ozzie/Development/calibre-web-test/test/test_thumbnails.py", line 230, in test_cover_on_upload_book
|
|
||||||
self.assertLessEqual(len(res), 1)
|
|
||||||
AssertionError: 2 not less than or equal to 1</pre>
|
|
||||||
</div>
|
|
||||||
<div class="clearfix"></div>
|
|
||||||
</div>
|
|
||||||
<!--css div popup end-->
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
@ -4019,9 +4342,9 @@ AssertionError: 2 not less than or equal to 1</pre>
|
|||||||
</div>
|
</div>
|
||||||
<div class="text-left pull-left">
|
<div class="text-left pull-left">
|
||||||
<pre class="text-left">Traceback (most recent call last):
|
<pre class="text-left">Traceback (most recent call last):
|
||||||
File "/home/ozzie/Development/calibre-web-test/test/test_thumbnails.py", line 320, in test_sideloaded_book
|
File "/home/ozzie/Development/calibre-web-test/test/test_thumbnails.py", line 310, in test_sideloaded_book
|
||||||
self.assertGreaterEqual(diff(BytesIO(list_cover), BytesIO(new_list_cover), delete_diff_file=True), 0.04)
|
self.assertAlmostEqual(diff(BytesIO(list_cover), BytesIO(old_list_cover), delete_diff_file=True), 0.0,
|
||||||
AssertionError: 0.0036014628073451605 not greater than or equal to 0.04</pre>
|
AssertionError: 0.007264083411142234 != 0.0 within 0.0001 delta (0.007264083411142234 difference)</pre>
|
||||||
</div>
|
</div>
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
</div>
|
</div>
|
||||||
@ -5100,10 +5423,10 @@ AssertionError: 0.0036014628073451605 not greater than or equal to 0.04</pre>
|
|||||||
|
|
||||||
<tr id='total_row' class="text-center bg-grey">
|
<tr id='total_row' class="text-center bg-grey">
|
||||||
<td>Total</td>
|
<td>Total</td>
|
||||||
<td>445</td>
|
<td>447</td>
|
||||||
<td>431</td>
|
<td>421</td>
|
||||||
<td>5</td>
|
<td>3</td>
|
||||||
<td>2</td>
|
<td>16</td>
|
||||||
<td>7</td>
|
<td>7</td>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -5240,7 +5563,7 @@ AssertionError: 0.0036014628073451605 not greater than or equal to 0.04</pre>
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>pypdf</th>
|
<th>pypdf</th>
|
||||||
<td>3.5.1</td>
|
<td>3.5.2</td>
|
||||||
<td>Basic</td>
|
<td>Basic</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -5258,7 +5581,7 @@ AssertionError: 0.0036014628073451605 not greater than or equal to 0.04</pre>
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>SQLAlchemy</th>
|
<th>SQLAlchemy</th>
|
||||||
<td>1.4.46</td>
|
<td>1.4.47</td>
|
||||||
<td>Basic</td>
|
<td>Basic</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -5288,7 +5611,7 @@ AssertionError: 0.0036014628073451605 not greater than or equal to 0.04</pre>
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>google-api-python-client</th>
|
<th>google-api-python-client</th>
|
||||||
<td>2.80.0</td>
|
<td>2.81.0</td>
|
||||||
<td>TestCliGdrivedb</td>
|
<td>TestCliGdrivedb</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -5318,7 +5641,7 @@ AssertionError: 0.0036014628073451605 not greater than or equal to 0.04</pre>
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>google-api-python-client</th>
|
<th>google-api-python-client</th>
|
||||||
<td>2.80.0</td>
|
<td>2.81.0</td>
|
||||||
<td>TestEbookConvertCalibreGDrive</td>
|
<td>TestEbookConvertCalibreGDrive</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -5348,7 +5671,7 @@ AssertionError: 0.0036014628073451605 not greater than or equal to 0.04</pre>
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>google-api-python-client</th>
|
<th>google-api-python-client</th>
|
||||||
<td>2.80.0</td>
|
<td>2.81.0</td>
|
||||||
<td>TestEbookConvertGDriveKepubify</td>
|
<td>TestEbookConvertGDriveKepubify</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -5390,7 +5713,7 @@ AssertionError: 0.0036014628073451605 not greater than or equal to 0.04</pre>
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>google-api-python-client</th>
|
<th>google-api-python-client</th>
|
||||||
<td>2.80.0</td>
|
<td>2.81.0</td>
|
||||||
<td>TestEditAuthorsGdrive</td>
|
<td>TestEditAuthorsGdrive</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -5426,7 +5749,7 @@ AssertionError: 0.0036014628073451605 not greater than or equal to 0.04</pre>
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>google-api-python-client</th>
|
<th>google-api-python-client</th>
|
||||||
<td>2.80.0</td>
|
<td>2.81.0</td>
|
||||||
<td>TestEditBooksOnGdrive</td>
|
<td>TestEditBooksOnGdrive</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -5468,7 +5791,7 @@ AssertionError: 0.0036014628073451605 not greater than or equal to 0.04</pre>
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>google-api-python-client</th>
|
<th>google-api-python-client</th>
|
||||||
<td>2.80.0</td>
|
<td>2.81.0</td>
|
||||||
<td>TestSetupGdrive</td>
|
<td>TestSetupGdrive</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -5558,7 +5881,7 @@ AssertionError: 0.0036014628073451605 not greater than or equal to 0.04</pre>
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
drawCircle(431, 5, 2, 7);
|
drawCircle(421, 3, 16, 7);
|
||||||
showCase(5);
|
showCase(5);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user