Hi,
You can upload a file quite simply using the Python Blitz Gateway:
- Code: Select all
fileAnn = conn.createFileAnnfromLocalFile("path/to/my.pdf", mimetype="application/pdf")
This will create an OriginalFile and a FileAnnotation. You get returned the FileAnnotationWrapper, which you can then use to attach to a Project, Dataset, Image etc.
- Code: Select all
dataset = conn.getObject("Dataset", datasetId)
dataset.linkAnnotation(fileAnn)
I know that there can be a problem importing .mov files since this requires a "Quicktime for Java" decoder to be installed. However, if that was the problem, you should see a clear error message in the importer.
Maybe you could check the Insight log which should be somewhere like.
- Code: Select all
/Users/wmoore/omero/log/omeroinsight.log
If there's nothing obvious there, maybe you could send us a copy of the file (or a similar one with the same problem) and we can have a look. I think you'll have to zip it and upload it at
http://qa.openmicroscopy.org.uk/qa/uplo ... _format=37 (since we didn't add .mov to the formats list there yet).
Will.