Tracker: Bugs

5 Launch using shortcut in application-menu throws error - ID: 2862145
Last Update: Comment added ( mironsadziak )

Summary:
SQuirreL SQL cannot be started using a shortcut in the application-menu
created by the .jar installer. Instead, an error is displayed:
Could not launch 'SQuirreL SQL Client'. Failed to change to directory
'"/home/kmantis/SQuirreL SQL Client"' (No such file or directory).

Strange thing is, Squirrel is actually installed in the directory mentioned
in the error.
If I create a new shortcut in the menu and point it to the squirrel-sql.sh
file in the same directory, that home-made shortcut will work. Even if I
copy-paste the path from the home-made shortcut to the installed-made
shortcut, the installer-made shortcut will not work, returning the same
error.

When installing Squirrel to a directory without spaces, the installed-made
shortcut works.

Environment:
Ubuntu (tested on 9.04, 9.10 Alpha 6)
Squirrel 3.0.2
Java JRE 1.6.0_15


Sannie Kwakman ( kmantis ) - 2009-09-19 12:29

5

Open

None

Rob Manning

Installer

3.0.2

Public


Comment ( 1 )




Date: 2009-11-07 05:37
Sender: mironsadziak

That is actually a problem of combination IzPack+Ubuntu. (IzPack is used as
installer for SQuirreL).
IzPack creates file .local/share/applications/SQuirreL\ SQL\
Client*********.desktop which should contain SQuirreL's directory on
property Path, but without apostrophes. For some reason IzPack adds
apostrophes when the install directory contains spaces, which is probably
wrong behavior.
Unfortunately in Ubuntu you can not access that Path setting with GUI (as
far as I know. prove me if im wrong). You can only change it by editing
that file.
Maybe upgrading IzPack to the newest version will solve the issue.




Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.