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 20 - updater fails in macosx
updater fails in macosx
Status: RESOLVED FIXED
Product: Fiji
Classification: Unclassified
Component: Other
unspecified
PC Mac OS
: P2 normal
Assigned To: Mark Longair
Depends on:
Blocks:
 
Reported: 2008-11-02 17:01 CST by Albert Cardona
Modified: 2008-12-19 15:03 CST
1 user (show)

See Also:

Description Albert Cardona 2008-11-02 17:01:12 CST
When running Help - Update Fiji, the following happens:

1 - A text box opens with the download .txt containing hashes of all fiji components
2 - The file is downloaded
3 - a dialog opens with a double column of checkboxes, I push ok
4 - ImageJ status bar reports that all .jar files are being downloaded
5 - A modal dialog pops up, saying "restart fiji" or similar

When I restart, nothing has changed: jars NOT updated.

In the plugins folder, the dates of all jars have not changed (all Oct 15 or 17 -- fiji was downloaded today Nov 2nd).


In the console.app I see the following:

02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572] Could not get digest: /Applications/Fiji/Fiji.app//fiji-macosx (java.io.FileNotFoundException: /Applications/Fiji/Fiji.app/fiji-macosx (No such file or directory)) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572] java.io.FileNotFoundException: /Applications/Fiji/Fiji.app/fiji-macosx (No such file or directory) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at java.io.FileInputStream.open(Native Method) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at java.io.FileInputStream.<init>(FileInputStream.java:106) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at java.io.FileInputStream.<init>(FileInputStream.java:66) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at UpdateFiji.getDigest(UpdateFiji.java:221) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at UpdateFiji.initializeFile(UpdateFiji.java:228) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at UpdateFiji.initialize(UpdateFiji.java:275) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at UpdateFiji.run(UpdateFiji.java:72) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at ij.IJ.runUserPlugIn(IJ.java:173) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at ij.IJ.runPlugIn(IJ.java:139) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at ij.Executer.runCommand(Executer.java:127) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at ij.Executer.run(Executer.java:75) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at java.lang.Thread.run(Thread.java:613) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572] Could not get digest: /Applications/Fiji/Fiji.app//fiji-tiger (java.io.FileNotFoundException: /Applications/Fiji/Fiji.app/fiji-tiger (No such file or directory)) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572] java.io.FileNotFoundException: /Applications/Fiji/Fiji.app/fiji-tiger (No such file or directory) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at java.io.FileInputStream.open(Native Method) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at java.io.FileInputStream.<init>(FileInputStream.java:106) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at java.io.FileInputStream.<init>(FileInputStream.java:66) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at UpdateFiji.getDigest(UpdateFiji.java:221) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at UpdateFiji.initializeFile(UpdateFiji.java:228) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at UpdateFiji.initialize(UpdateFiji.java:275) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at UpdateFiji.run(UpdateFiji.java:72) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at ij.IJ.runUserPlugIn(IJ.java:173) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at ij.IJ.runPlugIn(IJ.java:139) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at ij.Executer.runCommand(Executer.java:127) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at ij.Executer.run(Executer.java:75) 
02/11/2008 10:39:02 [0x0-0x781781].org.fiji[61572]  at java.lang.Thread.run(Thread.java:613)
Comment 1 Johannes Schindelin 2008-12-19 15:03:52 CST
This issue is fixed in  c1602cf1(Fiji Updater (MacOSX): fix updating the Fiji launcher).