Cannot convert to ICO when on NFS mount

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Airspray
Posts: 1
Joined: 2011-05-20T01:39:58-07:00
Authentication code: 8675308

Cannot convert to ICO when on NFS mount

Post by Airspray »

I have a system where a drive is mounted with /etc/fstab:
server.domain.com:/shares/sharename/ /mydir nfs auto,nouser,noexec,rw,hard,intr 0 0

If I run command `convert file.png file.gif` in /mydir/, I get the expected file.gif, but if I run the command `convert file.png file.ico`, I receive error "convert: unable to open image `file.ico': Invalid argument.", and file.ico is created with 0 file size.

When running command `convert file.png file.ico`in a local folder, convert happens as expected.

I'm running version 6.3.7, which is the latest version offered by Debian.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Cannot convert to ICO when on NFS mount

Post by anthony »

IM does not do anything special with regards to the file system. It just opens, reads and writes files. That is all.

It is more likely that something about the file system is reaching to the creation of the file.ico and not IM.

Try using some other program to create that file and should have exactly the same problem IM is reporting.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply