[Opensim-dev] SL viewer 2 testing
Justin Clark-Casey
jjustincc at googlemail.com
Tue Aug 10 01:17:41 UTC 2010
On 09/08/10 23:16, Olli Aro wrote:
> Noticed an earlier error in the log file for this:
>
> File name:
> 'C:\OpenSim-0.7.1\assets\TexturesAssetSet\fb2ae204-3fd1-df33-594f-c9f882830e
> 66.jp2'
> at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
> at System.IO.FileInfo.get_Length()
> at
> OpenSim.Framework.AssetLoader.Filesystem.AssetLoaderFileSystem.LoadAsset(Ass
> etBase info, String path)
> at
> OpenSim.Framework.AssetLoader.Filesystem.AssetLoaderFileSystem.CreateAsset(S
> tring assetIdStr, String name, String path, SByte type)
> at
> OpenSim.Framework.AssetLoader.Filesystem.AssetLoaderFileSystem.LoadXmlAssetS
> et(String assetSetPath, List`1 assets)
> at
> OpenSim.Framework.AssetLoader.Filesystem.AssetLoaderFileSystem.ForEachDefaul
> tXmlAsset(String assetSetFilename, Action`1 action)
> at OpenSim.Services.AssetService.AssetService..ctor(IConfigSource config)
>
> The file does exist in that location and is 127kb.
That's a new one on me - never seen that error before. I presume you can open the file with another program?
>
> Regards,
>
> Olli
>
>> -----Original Message-----
>> From: opensim-dev-bounces at lists.berlios.de [mailto:opensim-dev-
>> bounces at lists.berlios.de] On Behalf Of Justin Clark-Casey
>> Sent: 09 August 2010 22:36
>> To: opensim-dev at lists.berlios.de
>> Subject: Re: [Opensim-dev] SL viewer 2 testing
>>
>> On 09/08/10 22:33, Olli Aro wrote:
>>> Well it all works again if I take all the new assets out from the XML
>> file.
>>>
>>> Did some more testing. Took one of the existing assets:
>>>
>>> <Section Name="Default Avatar">
>>> <Key Name="assetID" Value="c228d1cf-4b5d-4ba8-84f4-
>> 899a0796aa97"/>
>>> <Key Name="name" Value="Default Avatar"/>
>>> <Key Name="assetType" Value="0" />
>>> <Key Name="fileName" Value="default_avatar.jp2" />
>>> </Section>
>>>
>>> And copied both the image and configuration as below:
>>>
>>> <Section Name="Default Avatar 1234">
>>> <Key Name="assetID" Value="c228d1cf-4b5d-4ba8-84f4-
>> 899a0796qs76"/>
>>> <Key Name="name" Value="Default Avatar 1234"/>
>>> <Key Name="assetType" Value="0" />
>>> <Key Name="fileName" Value="default_avatar1234.jp2" />
>>> </Section>
>>>
>>> Again the same error, so it is nothing to do with possible wrong file
>> types
>>> either.
>>>
>>> I noticed that all the existing assets are also referenced in the
>> assets
>>> database table. You sure I don't have to add the new assets somehow
>> there as
>>> well?
>>
>> No, everything should be added automatically.
>>
>> This is rather strange - even if the asset is corrupt it should still
>> at least successfully load into the service.
>>
>> Then again, I haven't looked in detail at that code for a few years,
>> possibly I'm missing something.
>>
>>>
>>> Regards,
>>>
>>> Olli
>>>
>>>> -----Original Message-----
>>>> From: opensim-dev-bounces at lists.berlios.de [mailto:opensim-dev-
>>>> bounces at lists.berlios.de] On Behalf Of Justin Clark-Casey
>>>> Sent: 09 August 2010 22:10
>>>> To: opensim-dev at lists.berlios.de
>>>> Subject: Re: [Opensim-dev] SL viewer 2 testing
>>>>
>>>> On 09/08/10 21:37, Olli Aro wrote:
>>>>> Hi Justin,
>>>>>
>>>>> What I mean is that if I add in:
>>>>>
>>>>> Section Name="Beach Grass 1">
>>>>> <Key Name="assetID" Value="18fb888b-e8f1-dce7-7da7-
>>>> 321d651ea6b0"/>
>>>>> <Key Name="name" Value="Beach Grass 1"/>
>>>>> <Key Name="assetType" Value="0" />
>>>>> <Key Name="fileName" Value="18fb888b-e8f1-dce7-7da7-
>>>> 321d651ea6b0.jp2" />
>>>>> </Section>
>>>>>
>>>>> Then copy file 18fb888b-e8f1-dce7-7da7-321d651ea6b0.jp2 to the
>>>> directory and
>>>>> then start the server I get the following:
>>>>>
>>>>> 21:36:37 - [APPLICATION]:
>>>>>
>>>>> Unhandled Exception: System.Exception: No IAssetService available.
>>>>> at OpenSim.Region.Framework.Scenes.Scene.get_AssetService()
>>>>> at
>>>>>
>>>>
>> OpenSim.Region.CoreModules.Framework.Library.LibraryModule.LoadLibrarie
>>>> sFr
>>>>> omArchives()
>>>>> at
>>>>>
>>>>
>> OpenSim.Region.CoreModules.Framework.Library.LibraryModule.RegionLoaded
>>>> (Sc
>>>>> ene scene)
>>>>> at
>>>>>
>>>>
>> OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControl
>>>> ler
>>>>> Plugin.AddRegionToModules(Scene scene)
>>>>> at OpenSim.OpenSimBase.CreateRegion(RegionInfo regionInfo,
>>>> Boolean
>>>>> portadd_fl
>>>>> ag, Boolean do_post_init, IScene& mscene)
>>>>> at OpenSim.OpenSimBase.CreateRegion(RegionInfo regionInfo,
>>>> Boolean
>>>>> portadd_fl
>>>>> ag, IScene& scene)
>>>>> at
>>>>>
>>>>
>> OpenSim.ApplicationPlugins.LoadRegions.LoadRegionsPlugin.PostInitialise
>>>> ()
>>>>> at OpenSim.OpenSimBase.StartupSpecific()
>>>>> at OpenSim.OpenSim.StartupSpecific()
>>>>> at OpenSim.Framework.Servers.BaseOpenSimServer.Startup()
>>>>> at OpenSim.Application.Main(String[] args)
>>>>
>>>> That shouldn't be the case - it sounds like some problem loading the
>>>> assets has caused the asset service to fail earlier on.
>>>>
>>>>>
>>>>> Regards,
>>>>>
>>>>> Olli
>>>>>
>>>>>> -----Original Message-----
>>>>>> From: opensim-dev-bounces at lists.berlios.de [mailto:opensim-dev-
>>>>>> bounces at lists.berlios.de] On Behalf Of Justin Clark-Casey
>>>>>> Sent: 09 August 2010 20:56
>>>>>> To: opensim-dev at lists.berlios.de
>>>>>> Subject: Re: [Opensim-dev] SL viewer 2 testing
>>>>>>
>>>>>> On 09/08/10 17:11, Olli Aro wrote:
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Anyone able to tell how to install the tree and grass textures in
>>>> an
>>>>>>> existing OpenSim instance. I copied them in
>>>> \assets\TexturesAssetSet\
>>>>>> and
>>>>>>> then modified \assets\TexturesAssetSet\TexturesAssetSet.xml
>>>>>> accordingly, but
>>>>>>> that kills the asset server.
>>>>>>
>>>>>> What do you mean by "kills the asset server"? Copying the texture
>>>> and
>>>>>> adding the required xml should be enough to load
>>>>>> the asset at startup. Nothing else is required, afaik.
>>>>>>
>>>>>> --
>>>>>> Justin Clark-Casey (justincc)
>>>>>> http://justincc.org
>>>>>> http://twitter.com/justincc
>>>>>> _______________________________________________
>>>>>> Opensim-dev mailing list
>>>>>> Opensim-dev at lists.berlios.de
>>>>>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>>>>
>>>>> _______________________________________________
>>>>> Opensim-dev mailing list
>>>>> Opensim-dev at lists.berlios.de
>>>>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>>>>
>>>>
>>>>
>>>> --
>>>> Justin Clark-Casey (justincc)
>>>> http://justincc.org
>>>> http://twitter.com/justincc
>>>> _______________________________________________
>>>> Opensim-dev mailing list
>>>> Opensim-dev at lists.berlios.de
>>>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>>
>>> _______________________________________________
>>> Opensim-dev mailing list
>>> Opensim-dev at lists.berlios.de
>>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>>
>>
>>
>> --
>> Justin Clark-Casey (justincc)
>> http://justincc.org
>> http://twitter.com/justincc
>> _______________________________________________
>> Opensim-dev mailing list
>> Opensim-dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
--
Justin Clark-Casey (justincc)
http://justincc.org
http://twitter.com/justincc
More information about the Opensim-dev
mailing list