[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openslide-users
Subject:    deepzoom_tile.py Issue
From:       Kathleen Sucipto <sucipto.kathleen () gmail ! com>
Date:       2017-11-27 6:18:02
Message-ID: CAPwj_z3iJ4EDfLZ=oQ3oFHdJRh_QV1AYNBwO3fOm2HuiMLLMUw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

I just installed python-openslide 1.1.0 and ran the example code
deepzoom_tile.py on a tiff image. Somehow it produces this error message:

Process TileWorker:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in
_bootstrap
    self.run()
  File
"/usr/share/doc/python-openslide-examples/examples/deepzoom/deepzoom_tile.py",
line 66, in run
    tile = dz.get_tile(level, address)
  File "/usr/lib/python2.7/dist-packages/openslide/deepzoom.py", line 142,
in get_tile
    tile = self._osr.read_region(*args)
  File "/usr/lib/python2.7/dist-packages/openslide/__init__.py", line 219,
in read_region
    level, size[0], size[1])
  File "/usr/lib/python2.7/dist-packages/openslide/lowlevel.py", line 217,
in read_region
    w, h))
OpenSlideError: negative width (259) or negative height (-32) not allowed

I tried it on a different computer and it works fine. Both of them use
Ubuntu 16.04 - 64 bit. Any idea why this issue occurred?

Thanks in advance!


Best regards,

Kathleen

[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div>Hi,</div><div><br></div>I just installed \
python-openslide 1.1.0 and ran the example code deepzoom_tile.py on a tiff image. \
Somehow it produces this error message:<br><br>Process TileWorker:<br>Traceback (most \
recent call last):<br>   File \
&quot;/usr/lib/python2.7/multiprocessing/process.py&quot;, line 258, in \
_bootstrap<br>       self.run()<br>   File \
&quot;/usr/share/doc/python-openslide-examples/examples/deepzoom/deepzoom_tile.py&quot;, \
line 66, in run<br>       tile = dz.get_tile(level, address)<br>   File \
&quot;/usr/lib/python2.7/dist-packages/openslide/deepzoom.py&quot;, line 142, in \
get_tile<br>       tile = self._osr.read_region(*args)<br>   File \
&quot;/usr/lib/python2.7/dist-packages/openslide/__init__.py&quot;, line 219, in \
read_region<br>       level, size[0], size[1])<br>   File \
&quot;/usr/lib/python2.7/dist-packages/openslide/lowlevel.py&quot;, line 217, in \
read_region<br>       w, h))<br>OpenSlideError: negative width (259) or negative \
height (-32) not allowed<br><br></div>I tried it on a different computer and it works \
fine. Both of them use Ubuntu 16.04 - 64 bit. Any idea why this issue \
occurred?</div><div><br></div><div>Thanks in \
advance!</div><div><br></div><div><br></div><div>Best \
regards,<br></div><div><br></div><div>Kathleen<br></div><br><br></div>



_______________________________________________
openslide-users mailing list
openslide-users@lists.andrew.cmu.edu
https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic