OpenSlideError: 00000000: expected a marker instead of 4880

Toby Cornish tcornis3 at jhmi.edu
Wed Dec 19 11:02:37 EST 2012


We are converting a number of SVS files to DZI using openslide and the python deepzoom_tile.py script.

All of the files tried so far work, but one file gives us an 'OpenSlideError: 00000000: expected a marker instead of 4880'

This is an SVS JPEG2k/KDU file with embedded ICC and label, macro, thumbnail.  Any thoughts?

Thanks, Toby

The full output is here (up until a ctrl-c):


deepzoom_tile.py -r 266981.svs

Process TileWorker:
Traceback (most recent call last):
  File "C:\Python27\Lib\multiprocessing\process.py", line 258, in _bootstrap
P rocess TileWorker:
   self.run()
  File "C:\Users\tcornis3\Desktop\openslide stuff\openslide-python-master\exampl
es\deepzoom\deepzoom_tile.py", line 62, in run
T    tile = dz.get_tile(level, address)
  File "C:\Python27\lib\site-packages\openslide\deepzoom.py", line 122, in get_t
ile
raceback (most recent call last):
    tile = self._osr.read_region(*args)
  File "C:\Python27\lib\site-packages\openslide\__init__.py", line 214, in read_
region
     level, size[0], size[1])
  File "C:\Python27\lib\site-packages\openslide\lowlevel.py", line 178, in read_
region
File "C:\Python27\Lib\multiprocessing\process.py", line 258, in _bootstrap
    _read_region(slide, buf, x, y, level, w, h)
     self.run()
File "C:\Python27\lib\site-packages\openslide\lowlevel.py", line 103, in _check
_error
  File "C:\Users\tcornis3\Desktop\openslide stuff\openslide-python-master\exampl
es\deepzoom\deepzoom_tile.py", line 62, in run
    raise OpenSlideError(err)
OpenSlideError: 00000000: expected a marker instead of 4880

   tile = dz.get_tile(level, address)
  File "C:\Python27\lib\site-packages\openslide\deepzoom.py", line 122, in get_t
ile
    tile = self._osr.read_region(*args)
  File "C:\Python27\lib\site-packages\openslide\__init__.py", line 214, in read_
region
    level, size[0], size[1])
  File "C:\Python27\lib\site-packages\openslide\lowlevel.py", line 178, in read_
region
    _read_region(slide, buf, x, y, level, w, h)
  File "C:\Python27\lib\site-packages\openslide\lowlevel.py", line 103, in _chec
k_error
    raise OpenSlideError(err)
OpenSlideError: 00000000: expected a marker instead of 4880

Process TileWorker:
Traceback (most recent call last):
  File "C:\Python27\Lib\multiprocessing\process.py", line 258, in _bootstrap
    self.run()
  File "C:\Users\tcornis3\Desktop\openslide stuff\openslide-python-master\exampl
es\deepzoom\deepzoom_tile.py", line 62, in run
    tile = dz.get_tile(level, address)
  File "C:\Python27\lib\site-packages\openslide\deepzoom.py", line 122, in get_t
ile
    tile = self._osr.read_region(*args)
  File "C:\Python27\lib\site-packages\openslide\__init__.py", line 214, in read_
region
    level, size[0], size[1])
  File "C:\Python27\lib\site-packages\openslide\lowlevel.py", line 178, in read_
region
    _read_region(slide, buf, x, y, level, w, h)
  File "C:\Python27\lib\site-packages\openslide\lowlevel.py", line 103, in _chec
k_error
    raise OpenSlideError(err)
OpenSlideError: 00000000: expected a marker instead of 4880

Process TileWorker:
Traceback (most recent call last):
  File "C:\Python27\Lib\multiprocessing\process.py", line 258, in _bootstrap
    self.run()
  File "C:\Users\tcornis3\Desktop\openslide stuff\openslide-python-master\exampl
es\deepzoom\deepzoom_tile.py", line 62, in run
    tile = dz.get_tile(level, address)
  File "C:\Python27\lib\site-packages\openslide\deepzoom.py", line 122, in get_t
ile
    tile = self._osr.read_region(*args)
  File "C:\Python27\lib\site-packages\openslide\__init__.py", line 214, in read_
region
    level, size[0], size[1])
  File "C:\Python27\lib\site-packages\openslide\lowlevel.py", line 178, in read_
region
    _read_region(slide, buf, x, y, level, w, h)
  File "C:\Python27\lib\site-packages\openslide\lowlevel.py", line 103, in _chec
k_error
    raise OpenSlideError(err)
OpenSlideError: 00000000: expected a marker instead of 4880

KeyboardInterrupt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/openslide-users/attachments/20121219/7f6564c8/attachment.html 


More information about the openslide-users mailing list