This bit is perhaps relevant: Message="NewFileAgentInventory capability is not currently available"
Has this cap actually been removed recently? On Wed, May 13, 2009 at 5:50 PM, Anthony Bundy <[email protected]> wrote: > You probably want to post this over on the openMV email list instead of > here. > http://openmv.org/cgi-bin/mailman/listinfo/libsl-dev > Tony > > On Wed, May 13, 2009 at 1:36 AM, Cai Xiao(dynaturtle) > <[email protected]> wrote: >> >> Hey, guys, >> I am new to second life and I am trying to develop a robot using open >> metaverse. But I was confused with upload function. My program sometimes >> breaks with a exception as following: >> System.Exception was unhandled >> Message="NewFileAgentInventory capability is not currently available" >> Source="OpenMetaverse" >> StackTrace: >> at OpenMetaverse.InventoryManager.RequestCreateItemFromAsset(Byte[] >> data, String name, String description, AssetType assetType, InventoryType >> invType, UUID folderID, ProgressCallback progCallback, >> ItemCreatedFromAssetCallback callback) >> at OpenMetaverseStudy.PrimCreation.DoUpload(Byte[] UploadData, >> String fileName) in F:\graduate >> essay\3dpku\trunk\OpenMetaverseStudy\OpenMetaverseStudy\PrimCreation.cs:line >> 98 >> at OpenMetaverseStudy.PrimCreation..ctor(OverlayStruct[] >> overlayArray) in F:\graduate >> essay\3dpku\trunk\OpenMetaverseStudy\OpenMetaverseStudy\PrimCreation.cs:line >> 276 >> at OpenMetaverseStudy.Program.PrimAddFromDBDemo() in F:\graduate >> essay\3dpku\trunk\OpenMetaverseStudy\OpenMetaverseStudy\Program.cs:line 123 >> at OpenMetaverseStudy.Program.Main(String[] args) in F:\graduate >> essay\3dpku\trunk\OpenMetaverseStudy\OpenMetaverseStudy\Program.cs:line 182 >> at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] >> args) >> at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence >> assemblySecurity, String[] args) >> at >> Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() >> at System.Threading.ThreadHelper.ThreadStart_Context(Object state) >> at System.Threading.ExecutionContext.Run(ExecutionContext >> executionContext, ContextCallback callback, Object state) >> at System.Threading.ThreadHelper.ThreadStart() >> InnerException: >> my code is as following: >> client.Inventory.RequestCreateItemFromAsset(UploadData, name, >> "Uploaded with Testclient", >> AssetType.Texture, InventoryType.Texture, >> client.Inventory.FindFolderForType(AssetType.Texture), >> delegate(CapsClient cclient, long bytesReceived, long >> bytesSent, long totalBytesToReceive, long totalBytesToSend) >> { >> if (bytesSent > 0) >> Console.WriteLine(String.Format("Texture >> upload: {0} / {1}", bytesSent, totalBytesToSend)); >> }, >> delegate(bool success, string status, UUID itemID, >> UUID assetID) >> { >> Console.WriteLine(String.Format( >> "RequestCreateItemFromAsset() returned: >> Success={0}, Status={1}, ItemID={2}, AssetID={3}", >> success, status, itemID, assetID)); >> >> UUIDTable.Add(name, assetID); >> TextureID = assetID; >> Console.WriteLine(String.Format("Upload took {0}", >> DateTime.Now.Subtract(start))); >> >> uploadCompleteEvents[completedUploadTexture].Set(); >> completedUploadTexture ++; >> } >> ); >> can anyone help me fix the problem? >> Thanks a lot. >> -- >> Department of Spatial Information Science&Technology, >> School of Earth&Space Science, Peking University >> >> ADD: Room 3028, Building 46, Peking University, Beijing, P.R. China >> Zip Code: 100871 >> >> >> _______________________________________________ >> Policies and (un)subscribe information available here: >> http://wiki.secondlife.com/wiki/SLDev >> Please read the policies before posting to keep unmoderated posting >> privileges > > > _______________________________________________ > Policies and (un)subscribe information available here: > http://wiki.secondlife.com/wiki/SLDev > Please read the policies before posting to keep unmoderated posting > privileges > _______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/SLDev Please read the policies before posting to keep unmoderated posting privileges
