Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005744opensim[REGION] OpenSim Corepublic2011-10-14 22:242013-06-29 17:55
Assigned To 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0005744: Red errors if .raw file already exists when saving terrain.
DescriptionWhen saving terrain to a .raw file, several red error messages appear in the console if the file already exists, and it refuses to save the new terrain file. When saving an oar file it save the new one over the olod one just fine. Not sure why the .raw save behavior is different than the .oar save behavior.

This problem has been around forever, but I guess no one ever bothered to report it.

It should replace an existing .raw file with a new one and gracefully handle this situation just like it does when saving an .oar file.
Additional InformationRed Error messages from log file:

2011-10-14 23:56:49,233 ERROR - OpenSim.Region.CoreModules.World.Terrain.TerrainModule [TERRAIN]: Unable to save to Moorea_A8.raw, The file 'C:\OSGrid\Grid-A\bin\Moorea_A8.raw' already exists.
2011-10-14 23:56:49,235 ERROR - OpenSim.Region.Framework.Scenes.EventManager [EVENT MANAGER]: Delegate for TriggerOnPluginConsole failed - continuing. Unable to save heightmap: The file 'C:\OSGrid\Grid-A\bin\Moorea_A8.raw' already exists. at OpenSim.Region.CoreModules.World.Terrain.TerrainModule.SaveToFile(String filename) in C:\Users\Ken\Desktop\opensim-rev16900\OpenSim\Region\CoreModules\World\Terrain\TerrainModule.cs:line 266
   at OpenSim.Region.CoreModules.World.Terrain.TerrainModule.InterfaceSaveFile(Object[] args) in C:\Users\Ken\Desktop\opensim-rev16900\OpenSim\Region\CoreModules\World\Terrain\TerrainModule.cs:line 893
   at OpenSim.Region.CoreModules.Framework.InterfaceCommander.Command.Run(Object[] args) in C:\Users\Ken\Desktop\opensim-rev16900\OpenSim\Region\CoreModules\Framework\InterfaceCommander\Command.cs:line 172
   at OpenSim.Region.CoreModules.Framework.InterfaceCommander.Commander.ProcessConsoleCommand(String function, String[] args) in C:\Users\Ken\Desktop\opensim-rev16900\OpenSim\Region\CoreModules\Framework\InterfaceCommander\Commander.cs:line 152
   at OpenSim.Region.CoreModules.World.Terrain.TerrainModule.EventManager_OnPluginConsole(String[] args) in C:\Users\Ken\Desktop\opensim-rev16900\OpenSim\Region\CoreModules\World\Terrain\TerrainModule.cs:line 611
   at OpenSim.Region.Framework.Scenes.EventManager.TriggerOnPluginConsole(String[] args) in C:\Users\Ken\Desktop\opensim-rev16900\OpenSim\Region\Framework\Scenes\EventManager.cs:line 577
TagsNo tags attached.
Git Revision or version numberr16900
Run Mode Grid (Multiple Regions per Sim)
Physics EngineODE
Script Engine
Environment.NET / Windows64
Mono VersionNone
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-10-14 22:24 kenvc New Issue
2011-10-14 22:24 kenvc Git Revision => r16900
2011-10-14 22:24 kenvc Run Mode => Grid (Multiple Regions per Sim)
2011-10-14 22:24 kenvc Physics Engine => ODE
2011-10-14 22:24 kenvc Environment => .NET / Windows64
2011-10-14 22:24 kenvc Mono Version => None
2011-10-14 22:24 kenvc Viewer => N/A
2013-05-13 16:34 kenvc Status new => confirmed
2013-06-29 17:55 kenvc Description Updated View Revisions

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker