Project

General

Profile

Bug #5145

ISIS3 preferences not where the error message says itis

Added by Laszlo Kestay about 1 year ago. Updated 11 months ago.

Status:
Closed
Priority:
Block
Category:
Applications
Target version:
Impact:

Should not impact Isis functionality beyond a clearer error message.

Software Version:
Test Reviewer:

Description

I tried to make a 120 GB mosaic. The error message says I need to change the max value to larger than 12GB at ~/.Isis/IsisPreferences. But there is no such file. I have no clue where to change this preference value...

Screen Shot 2017-09-11 at 9.37.47 AM.png View (51 KB) Laszlo Kestay, 2017-09-11 09:38 AM


Related issues

Related to ISIS - Feature #202: GUI for changing prefence files Acknowledged
Related to ISIS - Documentation #5147: Expand on the Setup Guide Acknowledged

History

#1 Updated by Lynn Weller about 1 year ago

Hi Laz,

You might need to take another look - when I look I see the file /home/laz/.Isis/IsisPreferences

If for some reason you still do not see your file you can copy the system default file into your .Isis directory and modify the MaximumSize value under the CubeCustomizaton group. The default file can be found under the $ISISROOT directory which expands to /usgs/pkgs/isis3.5.1/isis/ if your are using the public version of isis3.

If all else fails I can come by take a look.

Lynn

#2 Updated by Laszlo Kestay about 1 year ago

I did a google search for ISIS Preference file and found an ancient discussion...
Copied the file out of $ISISROOT and all seems to be working.
But the error message might need to be rewritten or the ISIS3 installation should create a user preference file because the current error message is not sufficient.

#3 Updated by Lynn Weller about 1 year ago

  • Status changed from New to In Progress
  • Assignee set to Lynn Weller

Just to clarify - did you change the value of MaximumSize in the preference file? The default is 12 Gb and automos/mapmos/etc. will eventually fail again if it wasn't modified and may take a while to tell you so.

#5 Updated by Laszlo Kestay about 1 year ago

I changed it to 200GB for now... seems happy!

#6 Updated by Tammy Becker about 1 year ago

  • Related to Feature #202: GUI for changing prefence files added

#7 Updated by Tammy Becker about 1 year ago

Hi Laz,

We briefly cover the Isis preference file in the workshops. Below are the details we share for future reference.

Instructions to over-ride system-wide defaults:
You can create a “hidden” .Isis directory in your $HOME area
Copy the IsisPreferences file to this directory

cp $ISISROOT/IsisPreferences $HOME/.Isis/IsisPreferences
View and edit your copy of the IsisPreferences file

And for more information that we do have:
http://isis.astrogeology.usgs.gov/documents/PreferenceDictionary/PreferenceDictionary.html
http://isis.astrogeology.usgs.gov/documents/EnvironmentAndPreferencesSetup/EnvironmentAndPreferencesSetup.html

I have also related an old ticket that notes the need for improved user access to the preference file.

#8 Updated by Stuart Sides about 1 year ago

#9 Updated by Lynn Weller about 1 year ago

  • Status changed from In Progress to Acknowledged
  • Assignee deleted (Lynn Weller)

#10 Updated by Stuart Sides 12 months ago

  • Status changed from Acknowledged to Assigned
  • Assignee set to Summer Stapleton
  • Target version set to 3.5.2 (2017-01-31 Jan)

Add to the error message, so it is clear what to do if you don't have an preference file.

#11 Updated by Summer Stapleton 12 months ago

  • Status changed from Assigned to In Progress

#12 Updated by Summer Stapleton 12 months ago

  • Status changed from In Progress to Resolved
  • Impact updated (diff)

Changes in /work/projects/isis/latest/m05145

Please confirm that this message is sufficient

#13 Updated by Summer Stapleton 12 months ago

  • Test Reviewer set to Stuart Sides

#14 Updated by Stuart Sides 11 months ago

Current message:

*USER ERROR** The cube you are attempting to create [tttt] is [14GB]. This is larger than the current allowed size of [1GB]. The 
cube dimensions were (S,L,B) [380000, 40000, 1] with [1] bytes per pixel. If you still wish to create this cube, the maximum 
value can be changed in the file [~/.Isis/IsisPreferences] within the group CubeCustomization, keyword MaximumSize. If you are 
having troublelocating the IsisPreferences file, please refer to thedocumentation on Isis setup. A user preference file may not 
havebeen created in Cube.cpp at 378.

Suggestions:
Some of the words do not have spaces between them

*USER ERROR** The cube you are attempting to create [tttt] is [14GB]. This is larger than the current allowed size of [1GB]. The 
cube dimensions were (S,L,B) [380000, 40000, 1] with [1] bytes per pixel. If you still wish to create this cube, the maximum value 
can be changed in your personal preference file located in [~/.Isis/IsisPreferences] within the group CubeCustomization, keyword MaximumSize. If you do not have an ISISPreference file, please refer to the documentation "Environment and Preference Setup". Error 

#15 Updated by Summer Stapleton 11 months ago

I already fixed this on my Git version - completely forgot about updating the version in m05145! Should be good to go now. Sorry about that.

#16 Updated by Stuart Sides 11 months ago

  • Status changed from Resolved to Closed

Closed for Laz. Error message expanded

Also available in: Atom PDF