[Bug 113789] Re: servicemenue convert images has problems with dots in pathnames

Luke Plant L.Plant.98 at cantab.net
Mon Apr 7 13:18:06 UTC 2008


Just come across this bug.  The strange thing is that playing around at
a command line, I get different results:

$ TMP=/some/dotted.path/foo.tiff
$ echo "$TMP" "`echo $TMP | perl -pe 's/\.[^.]+$//'`.jpg"
/some/dotted.path/foo.tiff /some/dotted.path/foo.jpg    # just what you expect and want

But if I write a "~/bin/convert" that wraps the "/usr/bin/convert" and
writes debugging info and stderr to a log file, and then use the service
menu from Konqueror, I get the error seen above.  Real example:

the input file name: 
  /home/luke/httpd/christchurchbradford.org.uk/web/images/thepoint/hedgehog.tiff 
transformed file name: 
  /home/luke/httpd/christchurchbradford.uk/web/images/thepoint/hedgehog.tiff.jpg
output from convert:
convert: unable to open image `/home/luke/httpd/christchurchbradford.uk/web/images/thepoint/hedgehog.tiff.jpg': No such file or directory.

I am completely failing to account for this behaviour at the moment! (=
I am stumped).

-- 
servicemenue convert images has problems with dots in pathnames
https://bugs.launchpad.net/bugs/113789
You received this bug notification because you are a member of Kubuntu
Team, which is subscribed to kdeaddons in ubuntu.




More information about the kubuntu-bugs mailing list