cytomine / Cytomine-IMS

Cytomine-IMS: Image Management System
GNU Lesser General Public License v2.1
14 stars 16 forks source link

Internal Server Error Formatage requête tuile Python ? #15

Closed rmaree closed 10 years ago

rmaree commented 10 years ago

L'imageserver ne répond plus aux requêtes du client python:

Error 500: Internal Server Error URI /image/tile Class java.lang.NullPointerException Message null Trace Line | Method ->> 117 | getImageFormatByMimeType in be.cytomine.formats.FormatIdentifier


| 103 | tile in be.cytomine.image.ImageController | 1145 | runWorker . . . . . . . in java.util.concurrent.ThreadPoolExecutor | 615 | run in java.util.concurrent.ThreadPoolExecutor$Worker ^ 722 | run . . . . . . . . . . in java.lang.Thread

fetch http://image3.cytomine.be/image/tile?zoomify=/data/beta.cytomine.be/14/14/1400251059451/P20-10GH015084_A4_CD45_201404151301.tif-output_converted.tif/TileGroup0/7-16-0.jpg authorization = CYTOMINE 21e24dba-6471-4479-8658-2c23899b3678:/Zp50XEMsSfmJgCddsBTrK1gT1c=

Error while requesting 7-16-0.jpg Response {'status': '500', 'content-language': 'fr-BE', 'transfer-encoding': 'chunked', 'server': 'Apache-Coyote/1.1', 'connection': 'close', 'date': 'Thu, 17 Jul 2014 14:09:46 GMT', 'content-type': 'text/html;charset=UTF-8'}

stevben commented 10 years ago

Il manque le paramètre mimeType obligatoire dans le client Python pour identifier le "driver" du format de fichier. Ce mimeType est donné dans imageInstance & abstractImage

stevben commented 10 years ago

Je voulais le fixer mais d'après ce que je vois c'est fait https://github.com/cytomine/Python/commit/4c79de412a85bc781f96c39632b72c5d1c99147c#diff-019fc9ca7994e4a252d1c38b7a9c3b8e