visit icon indicating copy to clipboard operation
visit copied to clipboard

Enhance the launcher script to handle spaces in path names.

Open aowen87 opened this issue 6 years ago • 0 comments

Mark Stowell installed VisIt on a mac in a directory where one of the directory names contained a space. VisIt wouldn't launch because of it. We should fix this. Here is the text of Mark's e-mail. Hello, I recently installed the latest VisIt (2.9.1) using the precompiled binary distribution for Mac OS X. Unfortunately, it refused to start. The icon would bounce once of twice in the dock then nothing. I tracked down the problem but I don't know the solution. The problem was that the path where I had installed the application contained a space in one of the directory names. The launcher scripts use 'dirname' to determine the location of the application but this fails because it sees more than one string on the command line. Fortunately I was able to rename the offending directory but the launcher scripts should probably be modified to handle this situation. Thank you,Mark

-----------------------REDMINE MIGRATION----------------------- This ticket was migrated from Redmine. As such, not all information was able to be captured in the transition. Below is a complete record of the original redmine ticket.

Ticket number: 2297 Status: Pending Project: VisIt Tracker: Feature Priority: Normal Subject: Enhance the launcher script to handle spaces in path names. Assigned to: - Category: - Target version: - Author: Eric Brugger Start: 06/11/2015 Due date: % Done: 0% Estimated time: Created: 06/11/2015 11:13 am Updated: 06/30/2015 07:02 pm Likelihood: Severity: Found in version: 2.12.3 Impact: 3 - Medium Expected Use: 3 - Occasional OS: All Support Group: Any Description: Mark Stowell installed VisIt on a mac in a directory where one of the directory names contained a space. VisIt wouldn't launch because of it. We should fix this. Here is the text of Mark's e-mail. Hello, I recently installed the latest VisIt (2.9.1) using the precompiled binary distribution for Mac OS X. Unfortunately, it refused to start. The icon would bounce once of twice in the dock then nothing. I tracked down the problem but I don't know the solution. The problem was that the path where I had installed the application contained a space in one of the directory names. The launcher scripts use 'dirname' to determine the location of the application but this fails because it sees more than one string on the command line. Fortunately I was able to rename the offending directory but the launcher scripts should probably be modified to handle this situation. Thank you,Mark

Comments:

aowen87 avatar Feb 27 '19 00:02 aowen87