NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 341 - fiji doesn't start on win32
fiji doesn't start on win32
Status: RESOLVED WONTFIX
Product: ImageJ
Classification: Unclassified
Component: Launcher
unspecified
PC Windows
: P2 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2011-07-28 20:00 CDT by Mark Longair
Modified: 2015-04-06 15:44 CDT
0 users

See Also:


Attachments
A screenshot of the error message, supplied by the user (64.82 KB, image/png)
2011-07-28 20:01 CDT, Mark Longair

Description Mark Longair 2011-07-28 20:00:09 CDT
I'm passing along this bug report from a user who emailed me.  On double-clicking on fiji-win32.exe the user gets the error:

   "ERROR: failed to launch (errno=22;Invalid argument)"

I'll attach the screenshot with the complete error message.

many thanks,
mark
Comment 1 Mark Longair 2011-07-28 20:01:42 CDT
Created attachment 49
A screenshot of the error message, supplied by the user
Comment 2 Johannes Schindelin 2011-07-29 01:49:14 CDT
The issue seems to be a network path (starts with \\<host>\...). If that is true, fear that this might be much more complicated than just working around exec() not grokking an UNC path; as far as I remember, LoadLibrary() and opendir() and all kinds of standard C functions do not operate on UNC paths on Windows, but rather throw an error.

Can you please map a drive number and try again?
Comment 3 Johannes Schindelin 2011-10-20 01:03:50 CDT
I am assuming that the bug only happens on unmapped path. For the moment, I'll not have time to work on it if mapping the path to a drive letter works around the issue... Feel free to reopen if the problem becomes "unworkaroundable".