We're Hiring!

importing through alias

General user discussion about using the OMERO platform to its fullest. Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

importing through alias

Postby LeroyAlex » Tue Mar 10, 2015 9:48 am

Hi,

Question for you regarding the importation of folders from alias.
We have dfs disk for our team so we need to create shortcut to import from these dfs disk.
It works perfectly fine on windows but on Mac when i create an alias and drag it to the desktop, then import through importer i get an unknown format error message.
Any ideas to avoid that?

Best,

Alex.
LeroyAlex
 
Posts: 50
Joined: Sun Oct 19, 2014 4:19 pm

Re: importing through alias

Postby jmoore » Tue Mar 10, 2015 11:07 am

Hi Alex,

the aliases files created by Mac are not currently supported by our Java stack. In order to explain why, I created an alias of a screenshot on my Desktop and then tested the files from the command-line:

Code: Select all
$ file screenshot.png
screenshot.png: PNG image data, 647 x 254, 8-bit/color RGBA, non-interlaced

$ file screenshot\ alias
screenshot alias: data


In comparison, if I create a symlink of the file, this happens:

Code: Select all
$ ln -s screenshot.png screenshot.link
$ file screenshot.link
screenshot.link: PNG image data, 647 x 254, 8-bit/color RGBA, non-interlaced


i.e. most tools will simply detect the fact that a symlink points to an image, whereas Mac aliases require more native information from the Mac OS.

Cheers,
~Josh.
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: importing through alias

Postby LeroyAlex » Tue Mar 10, 2015 12:45 pm

Hi,

Hmm Ok, so nothing i can do except to tell them to first copy their folder on their computer and then import them with importer.

Best,

Alex.
LeroyAlex
 
Posts: 50
Joined: Sun Oct 19, 2014 4:19 pm

Re: importing through alias

Postby jmoore » Tue Mar 10, 2015 1:21 pm

Using a symlink created from the command-line would work, but that's not something everyone is familiar with. There are a number of suggestions listed on pages like http://superuser.com/questions/24095/create-a-symbolic-link-in-the-mac-os-x-finder, but still not ideal.

Sorry not to be able to help more.
~Josh.
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: importing through alias

Postby LeroyAlex » Thu Mar 12, 2015 9:12 am

Hi,

Thanks for your answer.
I ll have to try cause it does not look simple.

Best,

Alex.
LeroyAlex
 
Posts: 50
Joined: Sun Oct 19, 2014 4:19 pm


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 1 guest