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 318 - IOException after succesful plugin upload w/ Updater
IOException after succesful plugin upload w/ Updater
Status: RESOLVED FIXED
Product: Fiji
Classification: Unclassified
Component: Other
unspecified
PC Windows
: P4 minor
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2011-05-23 23:16 CDT by Gavin
Modified: 2011-10-20 02:38 CDT
1 user (show)

See Also:

Description Gavin 2011-05-23 23:16:22 CDT
When uploading a plugin or plugin metadata to a 3rd party site, the uploads conclude successfully, judging by the contents of the site and the db.xml file. However, the Updater always throws an exception:
java.io.IOException: Command failed (see Log)!
   at fiji.updater.logic.SSHFileUploader.disconnectSession(SSHFileUploader.java:239)
   at fiji.updater.logic.SSHFileUploader.upload(SSHFileUploader.java:102)
   at fiji.updater.logic.PluginUploader.upload(PluginUploader.java:129)
   at fiji.updater.ui.UpdaterFrame.upload(UpdaterFrame.java:705)
   at fiji.updater.ui.UpdaterFrame$6$1.run(UpdaterFrame.java:266) 

The log entry is:
launching command date +%Y%m%d%H%M%S
launching command scp -p -t -r public_html/BeCelLinTAlphaTestVersion/
got last modified 1306178798000 = timestamp 20110523122638
launching command mv public_html/BeCelLinTAlphaTestVersion/db.xml.gz.lock public_html/BeCelLinTAlphaTestVersion/db.xml.gz 

Per Johannes, this is due to an ssh timing issue and a fix has been successfully tested but is not yet added to the distribution. In the meantime, restarting Fiji and the Updater is a useable workaround.
Comment 1 Johannes Schindelin 2011-10-20 02:38:39 CDT
Since I uploaded new versions of the Updater in the meantime I think this issue is fixed.