Thank you kindly, MattSetzer, for a patch that solves a Mantis:

This appears to be due to the fact that no asset cache has been 
configured, possibly as a result of the configuration changes that 
have been made recently. I've attached a patch to display a message 
to that effect rather than throwing an error.
0.6.6-post-fixes
Charles Krinke 2009-06-02 21:13:29 +00:00
parent 93da1c2e94
commit 23bf1bf6e0
1 changed files with 16 additions and 2 deletions

View File

@ -413,7 +413,14 @@ namespace OpenSim
private void HandleClearAssets(string module, string[] args)
{
m_assetCache.Clear();
if (AssetCache != null)
{
AssetCache.Clear();
}
else
{
m_log.Info("Asset cache is not configured.");
}
}
private void HandleForceUpdate(string module, string[] args)
@ -787,7 +794,14 @@ namespace OpenSim
switch (showParams[0])
{
case "assets":
m_assetCache.ShowState();
if (AssetCache != null)
{
AssetCache.ShowState();
}
else
{
m_log.Info("Asset cache is not configured.");
}
break;
case "users":