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 378 - Macro recorder throws error message when saving without file extension
Macro recorder throws error message when saving without file extension
Status: RESOLVED FIXED
Product: Fiji
Classification: Unclassified
Component: Other
unspecified
PC Mac OS
: P2 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2011-11-03 15:10 CDT by Jan Eglinger
Modified: 2011-11-03 20:28 CDT
0 users

See Also:

Description Jan Eglinger 2011-11-03 15:10:58 CDT
To reproduce:
- start the macro recorder ('Plugins>Macros>Record...')
- open an image (e.g. 'File>Open Samples>Blobs (25K)')
- 'File>Save As>Tiff...'
- enter a name *without* specifying a file extension

You'll get an error message like:
--------------------------------------------
Duplicate keyword:

Command: "Tiff..."
Keyword: "save"
Value: /Users/eglinger/Desktop/test.tif

Add an underscore to the corresponding label
in the dialog to make the first word unique.
--------------------------------------------

The Recorder window will record:
saveAs("Tiff", "nulltest.tif");

Note: this does not happen if you specify '.tif' in the filename of the dialog.

Can anyone confirm? (Current updated Fiji with ImageJ 1.45r)
Cheers,
Jan
Comment 1 Wayne Rasband 2011-11-03 20:28:15 CDT
This bug is fixed in the ImageJ 1.46a6 daily build. The daily build also adds support for sub-pixel resolution to the PointRoi class.