<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Disclaimer: I'm nothing to do with openslide development</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I had a quick look at this image and it doesn't seem formatted like a regular svs file . It only contains 2 images in the TIFF (presumably full resolution and thumbnail). It <sort of> reads ok in imagescope but is very blurred until you get to native resolution
 (which fits with absence of levels 4 and 16). If it was me I'd get this file rescanned.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Derek</div>
<div id="appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> openslide-users <openslide-users-bounces+d.r.magee=leeds.ac.uk@lists.andrew.cmu.edu> on behalf of shawn <499646194@163.com><br>
<b>Sent:</b> 19 August 2020 03:49<br>
<b>To:</b> openslide-users@lists.andrew.cmu.edu <openslide-users@lists.andrew.cmu.edu><br>
<b>Subject:</b> Failed to allocate memory for to read TIFF directory (0 elements of 12 bytes each)</font>
<div> </div>
</div>
<div>
<div style="line-height:1.7; color:#000000; font-size:14px; font-family:Arial">
<p style="margin-top: 0px; margin-bottom: 0px;box-sizing:border-box; margin-bottom:16px; color:rgb(36,41,46); margin-top:0px!important">
Context</p>
<p style="margin-top: 0px; margin-bottom: 0px;box-sizing:border-box; margin-top:0px; margin-bottom:16px; color:rgb(36,41,46)">
Issue type** (bug report):<br style="box-sizing:border-box">
Operating system** (Windows 10):<br style="box-sizing:border-box">
Platform** (64-bit x86,):<br style="box-sizing:border-box">
OpenSlide Python version** (<code style="box-sizing:border-box; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace; font-size:11.9px; padding:0.2em 0.4em; margin:0px; background-color:rgba(27,31,35,0.05); border-radius:6px">py3.6.10</code>):<br style="box-sizing:border-box">
OpenSlide version** (<code style="box-sizing:border-box; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace; font-size:11.9px; padding:0.2em 0.4em; margin:0px; background-color:rgba(27,31,35,0.05); border-radius:6px">openslide.__library_version__</code>):<br style="box-sizing:border-box">
<span style="box-sizing:border-box; font-weight:600">Slide format</span> (SVS,):</p>
<p style="margin-top: 0px; margin-bottom: 0px;box-sizing:border-box; margin-top:0px; margin-bottom:16px; color:rgb(36,41,46)">
Details:</p>
<ul style="box-sizing:border-box; padding-left:2em; margin-top:0px; color:rgb(36,41,46); margin-bottom:0px!important">
<li style="box-sizing:border-box; margin-left:0px">Running on <a href="http://127.0.0.1:5000/" rel="nofollow" target="_BLANK" style="box-sizing:border-box; background-color:initial; color:rgb(3,102,214); text-decoration-line:none">http://127.0.0.1:5000/</a> (Press
 CTRL+C to quit)<br style="box-sizing:border-box">
C:\Users\sk\Desktop\python\openslide-python-master\examples\deepzoom\slide\ftv0fno1ontsv4ce2d1cpaj0_0.svs: Failed to allocate memory for to read TIFF directory (0 elements of 12 bytes each).<br style="box-sizing:border-box">
TIFFReadDirectory: Failed to read directory at offset 858581370.<br style="box-sizing:border-box">
C:\Users\sk\Desktop\python\openslide-python-master\examples\deepzoom\slide\ftv0fno1ontsv4ce2d1cpaj0_0.svs: Failed to allocate memory for to read TIFF directory (0 elements of 12 bytes each).<br style="box-sizing:border-box">
TIFFReadDirectory: Failed to read directory at offset 858581370.<br style="box-sizing:border-box">
127.0.0.1 - - [18/Aug/2020 12:28:57] "�[37mGET /ftv0fno1ontsv4ce2d1cpaj0_0.svs HTTP/1.1�[0m" 200 -<br style="box-sizing:border-box">
127.0.0.1 - - [18/Aug/2020 12:28:57] "�[37mGET /ftv0fno1ontsv4ce2d1cpaj0_0.svs.dzi HTTP/1.1�[0m" 200 -<br style="box-sizing:border-box">
[2020-08-18 12:29:15,583] ERROR in app: Exception on /ftv0fno1ontsv4ce2d1cpaj0_0.svs_files/8/0_0.jpeg [GET]<br style="box-sizing:border-box">
Traceback (most recent call last):<br style="box-sizing:border-box">
File "C:\Users\sk\anaconda3\envs\pviewer\lib\site-packages\flask\app.py", line 2447, in wsgi_app<br style="box-sizing:border-box">
response = self.full_dispatch_request()<br style="box-sizing:border-box">
File "C:\Users\sk\anaconda3\envs\pviewer\lib\site-packages\flask\app.py", line 1952, in full_dispatch_request<br style="box-sizing:border-box">
rv = self.handle_user_exception(e)<br style="box-sizing:border-box">
File "C:\Users\sk\anaconda3\envs\pviewer\lib\site-packages\flask\app.py", line 1821, in handle_user_exception<br style="box-sizing:border-box">
reraise(exc_type, exc_value, tb)<br style="box-sizing:border-box">
File "C:\Users\sk\anaconda3\envs\pviewer\lib\site-packages\flask_compat.py", line 39, in reraise<br style="box-sizing:border-box">
raise value<br style="box-sizing:border-box">
File "C:\Users\sk\anaconda3\envs\pviewer\lib\site-packages\flask\app.py", line 1950, in full_dispatch_request<br style="box-sizing:border-box">
rv = self.dispatch_request()<br style="box-sizing:border-box">
File "C:\Users\sk\anaconda3\envs\pviewer\lib\site-packages\flask\app.py", line 1936, in dispatch_request<br style="box-sizing:border-box">
return self.view_functions<a href="https://github.com/openslide/openslide-python/issues/**req.view_args" target="_BLANK" style="box-sizing:border-box; background-color:initial; color:rgb(3,102,214); text-decoration-line:none">rule.endpoint</a><br style="box-sizing:border-box">
File "deepzoom_multiserver.py", line 160, in tile<br style="box-sizing:border-box">
tile = slide.get_tile(level, (col, row))<br style="box-sizing:border-box">
File "C:\Users\sk\anaconda3\envs\pviewer\lib\site-packages\openslide\deepzoom.py", line 150, in get_tile<br style="box-sizing:border-box">
tile = self.<em style="box-sizing:border-box">osr.read_region(*args)<br style="box-sizing:border-box">
File "C:\Users\sk\anaconda3\envs\pviewer\lib\site-packages\openslide_<em style="box-sizing:border-box">init</em></em>.py", line 223, in read_region<br style="box-sizing:border-box">
level, size[0], size[1])<br style="box-sizing:border-box">
File "C:\Users\sk\anaconda3\envs\pviewer\lib\site-packages\openslide\lowlevel.py", line 258, in read_region<br style="box-sizing:border-box">
buf = (w * h * c_uint32)()<br style="box-sizing:border-box">
MemoryError</li><li style="box-sizing:border-box; margin-left:0px">aperio open is ok<img style="width:774px; height:405px" src="https://user-images.githubusercontent.com/37448773/90471766-9a90c180-e151-11ea-87ce-c6f1dfd12e7e.png"></li><li style="box-sizing:border-box; margin-left:0px">openslide open : TIFFReadDirectory: Failed to read directory at offset 858581370</li><li style="box-sizing:border-box; margin-left:0px">and Memory up to 90%<img style="width:774px; height:101px" src="https://user-images.githubusercontent.com/37448773/90472280-b6489780-e152-11ea-8732-71c83ea03c61.png"></li><li style="box-sizing:border-box; margin-left:0px">fail to open .svs  file download url:      <a rel="nofollow" href="https://slice-telepathcloud.oss-cn-shanghai.aliyuncs.com/ybl2ossmove/202008/17/92_b5c63040533829f93b6b43f0a71b2486/ftv0fno1ontsv4ce2d1cpaj0_0.svs" target="_BLANK" style="box-sizing:border-box; color:rgb(3,102,214); outline:none">https://slice-telepathcloud.oss-cn-shanghai.aliyuncs.com/ybl2ossmove/202008/17/92_b5c63040533829f93b6b43f0a71b2486/ftv0fno1ontsv4ce2d1cpaj0_0.svs</a></li></ul>
</div>
<br>
<br>
<span title="neteasefooter">
<p style="margin-top: 0px; margin-bottom: 0px;"> </p>
</span></div>
</body>
</html>