<div dir="ltr"><div>Has anyone had any luck with Ubuntu 14.04 and Openslide (latest from Git).<br></div><div><br></div><div><br></div><div>I am getting this error:  opj_j2k_apply_nb_tile_parts_correction error when I try an open a file.<br></div><div><br></div><div><br></div><div><br></div><div>If I run TIFFINFO on the file I get: </div><div><br></div><div>TIFF Directory at offset 0x2df63806 (771110918)</div><div>  Subfile Type: (0 = 0x0)</div><div>  Image Width: 119905 Image Length: 82284 Image Depth: 1</div><div>  Tile Width: 256 Tile Length: 256</div><div>  Bits/Sample: 8</div><div>  Compression Scheme: 33003 (0x80eb)</div><div>  Photometric Interpretation: RGB color</div><div>  Samples/Pixel: 3</div><div>  Planar Configuration: single image plane</div><div>  ImageDescription: Aperio Image Library v10.2.41</div><div><br></div><div><br></div><div>So the file is JPEG2000 encoded file (compression scheme 33003)</div><div><br></div><div>Nothing showed up on google when I typed in that string, so I wanted to check on the list serve.<br></div><br>I built both openslide (3.4.1.) and openjpeg  (version 2.1.0) from source and the openslide make process seemed to go without any issues:<br><br>checking for ZLIB... yes<br>checking for OPENJPEG2... yes &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;-----------------------<br>checking for LIBTIFF... yes<br>checking for GLIB2... yes<br>checking for CAIRO... yes<br>checking for LIBPNG... yes<br>checking for GDKPIXBUF... yes<br>checking for LIBXML2... yes<br>checking for SQLITE3... yes<br>checking for VALGRIND... no<br><br><div><font color="#c4a000"><span style="white-space:pre-wrap"><br></span></font></div><div><font color="#c4a000"><span style="white-space:pre-wrap"><br></span></font><br><div class="" style="min-width:14ex;padding:0px 0.4em;margin:0px;font-family:monospace;text-align:right;line-height:1.21429em;color:rgb(0,0,0);font-size:14px"></div><div class="" style="padding:0.4em;max-width:calc(100% - 14ex);color:rgb(0,0,0);line-height:1.21429em;font-family:&#39;Helvetica Neue&#39;,Helvetica,Arial,sans-serif;font-size:14px"><pre style="overflow:auto;font-size:inherit;padding:0px;margin-top:0px;margin-bottom:0px;line-height:inherit;word-wrap:break-word;border:0px;border-radius:0px;white-space:pre-wrap;vertical-align:baseline;background-color:transparent"><span class="" style="color:rgb(139,0,0)">---------------------------------------------------------------------------</span>
<span class="" style="color:rgb(139,0,0)">OpenSlideError</span>                            Traceback (most recent call last)
<span class="" style="color:rgb(0,100,0)">&lt;ipython-input-5-d23ae8751584&gt;</span> in <span class="" style="color:rgb(70,130,180)">&lt;module&gt;<span class="" style="color:rgb(0,0,139)">()</span>
<span class="" style="color:rgb(0,100,0)">      1</span> <span class="" style="color:rgb(0,100,0)">import</span> openslide<span class="" style="color:rgb(196,160,0)"></span>
<span class="" style="color:rgb(0,100,0)">      2</span> <span class="" style="color:rgb(196,160,0)"></span>
<span class="" style="color:rgb(0,100,0)">----&gt; 3<span class="" style="color:rgb(196,160,0)"> </span>img <span class="" style="color:rgb(196,160,0)">=</span> openslide<span class="" style="color:rgb(196,160,0)">.</span>open_slide<span class="" style="color:rgb(196,160,0)">(</span> curr_svs_slide_list<span class="" style="color:rgb(196,160,0)">[</span><span class="" style="color:rgb(70,130,180)">21</span><span class="" style="color:rgb(196,160,0)">]</span><span class="" style="color:rgb(196,160,0)">)</span><span class="" style="color:rgb(196,160,0)"></span>

<span class="">/home/dagutman/Envs/dsa_tools/local/lib/python2.7/site-packages/openslide/__init__.pyc</span> in <span class="" style="color:rgb(70,130,180)">open_slide<span class="" style="color:rgb(0,0,139)">(filename)</span>
<span class="" style="color:rgb(0,100,0)">    360</span>     object for other types of images.&quot;&quot;&quot;
<span class="" style="color:rgb(0,100,0)">    361</span>     <span class="" style="color:rgb(0,100,0)">try</span><span class="" style="color:rgb(196,160,0)">:</span><span class="" style="color:rgb(196,160,0)"></span>
<span class="" style="color:rgb(0,100,0)">--&gt; 362<span class="" style="color:rgb(196,160,0)">         <span class="" style="color:rgb(0,100,0)">return</span> OpenSlide<span class="">(</span>filename<span class="">)</span><span class=""></span>
<span class="" style="color:rgb(0,100,0)">    363</span>     <span class="" style="color:rgb(0,100,0)">except</span> OpenSlideUnsupportedFormatError<span class="">:</span><span class=""></span>
<span class="" style="color:rgb(0,100,0)">    364</span>         <span class="" style="color:rgb(0,100,0)">return</span> ImageSlide<span class="">(</span>filename<span class="">)</span><span class=""></span>

<span class="" style="color:rgb(0,100,0)">/home/dagutman/Envs/dsa_tools/local/lib/python2.7/site-packages/openslide/__init__.pyc</span> in <span class="" style="color:rgb(70,130,180)">__init__<span class="" style="color:rgb(0,0,139)">(self, filename)</span>
<span class="" style="color:rgb(0,100,0)">    151</span>         <span class="" style="color:rgb(0,0,139)">&quot;&quot;&quot;Open a whole-slide image.&quot;&quot;&quot;</span><span class="" style="color:rgb(196,160,0)"></span>
<span class="" style="color:rgb(0,100,0)">    152</span>         AbstractSlide<span class="" style="color:rgb(196,160,0)">.</span>__init__<span class="" style="color:rgb(196,160,0)">(</span>self<span class="" style="color:rgb(196,160,0)">)</span><span class="" style="color:rgb(196,160,0)"></span>
<span class="" style="color:rgb(0,100,0)">--&gt; 153<span class="" style="color:rgb(196,160,0)">         </span>self<span class="" style="color:rgb(196,160,0)">.</span>_osr <span class="" style="color:rgb(196,160,0)">=</span> lowlevel<span class="" style="color:rgb(196,160,0)">.</span>open<span class="" style="color:rgb(196,160,0)">(</span>filename<span class="" style="color:rgb(196,160,0)">)</span><span class="" style="color:rgb(196,160,0)"></span>
<span class="">    154</span> <span class="" style="color:rgb(196,160,0)"></span>
<span class="">    155</span>     <span class="" style="color:rgb(196,160,0)">@</span>classmethod<span class="" style="color:rgb(196,160,0)"></span>

<span class="">/home/dagutman/Envs/dsa_tools/local/lib/python2.7/site-packages/openslide/lowlevel.pyc</span> in <span class="" style="color:rgb(70,130,180)">_check_open<span class="" style="color:rgb(0,0,139)">(result, _func, _args)</span>
<span class="" style="color:rgb(0,100,0)">    139</span>     err <span class="" style="color:rgb(196,160,0)">=</span> get_error<span class="" style="color:rgb(196,160,0)">(</span>slide<span class="" style="color:rgb(196,160,0)">)</span><span class="" style="color:rgb(196,160,0)"></span>
<span class="" style="color:rgb(0,100,0)">    140</span>     <span class="" style="color:rgb(0,100,0)">if</span> err <span class="" style="color:rgb(0,100,0)">is</span> <span class="" style="color:rgb(0,100,0)">not</span> None<span class="" style="color:rgb(196,160,0)">:</span><span class="" style="color:rgb(196,160,0)"></span>
<span class="" style="color:rgb(0,100,0)">--&gt; 141<span class="" style="color:rgb(196,160,0)">         <span class="" style="color:rgb(0,100,0)">raise</span> OpenSlideError<span class="">(</span>err<span class="">)</span><span class=""></span>
<span class="" style="color:rgb(0,100,0)">    142</span>     <span class="" style="color:rgb(0,100,0)">return</span> slide<span class=""></span>
<span class="" style="color:rgb(0,100,0)">    143</span> <span class=""></span>

<span class="" style="color:rgb(139,0,0)">OpenSlideError</span>: OpenJPEG error: opj_j2k_apply_nb_tile_parts_correction error
</span></span></span></span></span></span></span></span></span></span></pre><div><span class="" style="color:rgb(70,130,180)"><span class="" style="color:rgb(0,100,0)"><span class="" style="color:rgb(70,130,180)"><span class="" style="color:rgb(0,100,0)"><span class="" style="color:rgb(196,160,0)"><span class="" style="color:rgb(70,130,180)"><span class="" style="color:rgb(0,100,0)"><span class="" style="color:rgb(70,130,180)"><span class="" style="color:rgb(0,100,0)"><span class="" style="color:rgb(196,160,0)"><br></span></span></span></span></span></span></span></span></span></span></div></div><br><br><br><br>--<br>David A Gutman, M.D. Ph.D.<br>Assistant Professor of Neurology, Psychiatry, and Biomedical Informatics<br>Emory University School of Medicine
</div></div>