>From memory - I tried this a while ago ... By default, tar creates entries for the various directories themselves, but "load oar" only accepts file-level entries. I couldn't work out how to change that behaviour in GNU tar, so I created a file list and used that with the -T option.
John Tom Willans wrote: >Thanks guys. > >If I just enter tar -cf ( or tar cf my tar version accepts both, you >do not strictly need the f either. ) it complains about not being in >zip format. tar -czf or -czvf it can then read in the files i.e. it >now knows about the folders assets etc. The oar compression format >is tar.gz. > >Frustrating sometimes. >Tom > > >On 25 Apr 2009, at 13:32, dr scofield wrote: > >> Willem Huisman wrote: >>> >>> Not wanting to be a wisecrack here ... but .., >>> >>> shouldn't there be a '-'sign in front of your paramaters of the >>> tar-command ? >> no, that's not necessary with most tars. >>> >>> I found out that using 'tar c folder archivename' just produces >>> garbage .. :| >> hmm, that should have been "tar cf archivename folder" >>> >>> ----- Original Message ----- >>> From: "Tom Willans" >>> To: [email protected] >>> Subject: [Opensim-users] Creating oar file from folder >>> Date: Sat, 25 Apr 2009 12:00:55 +0100 >>> >>> >>> I am trying to generate a oar file based upon the folder from a >>> decompressed file. I am using the command >>> >>> tar cvzf myoarfile.tar.gz * from with the folder itself ( this is now >>> readable). What am I doing wrong? >>> >>> 11:37:55 - [ARCHIVER]: Could not find extension information in asset >>> path assets/ since it's missing the separator _. Skipping >>> 11:37:55 - [ARCHIVER]: Could not parse region settings file >>> settings/. Ignoring. Exception was System.Xml.XmlException: >>> Document element did not appear. Line 1, position 1. >>> at Mono.Xml2.XmlTextReader.Read () [0x00000] >>> at System.Xml.XmlTextReader.Read () [0x00000] >>> at System.Xml.XmlReader.MoveToContent () [0x00000] >>> at System.Xml.XmlReader.ReadStartElement (System.String name) >>> [0x00000] >>> at >>> OpenSim.Framework.Serialization.External.RegionSettingsSerializer.Des >>> eri >>> alize (System.String serializedSettings) [0x00000] >>> at >>> OpenSim.Framework.Serialization.External.RegionSettingsSerializer.Des >>> eri >>> alize (System.Byte[] serializedSettings) [0x00000] >>> at >>> OpenSim.Region.CoreModules.World.Archiver.ArchiveReadRequest.LoadRegi >>> onS >>> ettings (System.String settingsPath, System.Byte[] data) [0x00000] >>> 11:37:55 - [TERRAIN]: Unable to load heightmap, no file loader >>> available for that format. >>> 11:37:55 - [ARCHIVER]: Error loading oar file. Exception was: >>> OpenSim.Region.CoreModules.World.Terrain.TerrainException: unable to >>> load heightmap from file terrains/: no loader available for that >>> format >>> at >>> OpenSim.Region.CoreModules.World.Terrain.TerrainModule.LoadFromStream >>> (System.String filename, System.IO.Stream stream) [0x00000] >>> at >>> OpenSim.Region.CoreModules.World.Archiver.ArchiveReadRequest.LoadTerr >>> ain >>> (System.String terrainPath, System.Byte[] data) [0x00000] >>> at >>> OpenSim.Region.CoreModules.World.Archiver.ArchiveReadRequest.Dearchiv >>> eRe >>> gion0DotStar () [0x00000] >>> >>> I have also tried tar cvzf myoarfile.tar.gz oldoarfolder/ It then >>> ignore all the folders within the oar file. >>> >>> Thanks >>> Tom >>> >>> _______________________________________________ >>> Opensim-users mailing list >>> [email protected] >>> https://lists.berlios.de/mailman/listinfo/opensim-users >>> >>> >>> __________ >>> WiLLuMPJuH >>> >>> >>> -- >>> It's News. It's Reviews. It's Interviews. It's Free. What Are You >>> Waiting For? >>> www.movieline.com! >>> _______________________________________________ >>> Opensim-users mailing list >>> [email protected] >>> https://lists.berlios.de/mailman/listinfo/opensim-users >>> >> >> >> -- >> dr dirk husemann ---- math & computer science ---- ibm zurich >> research lab >> RL: [email protected] - +41 44 724 8573 - http:// >> www.zurich.ibm.com/~hud/ >> SL: [email protected] --------------------- http:// >> xyzzyxyzzy.net/ >> _______________________________________________ >> Opensim-users mailing list >> [email protected] >> https://lists.berlios.de/mailman/listinfo/opensim-users > >Tom Willans >Managing Director >Bessacarr Publications Ltd >3 Highfield, Hatton Park, Warwick, CV35 7TQ >[email protected] >+44 (0) 1926 402055 +44 (0) 121 288 0281 >Registered in England and Wales at the above address. Company No: >4925067. VAT No:GB 823 9317 24. > >This e-mail is confidential and intended solely for the use of the >individual to whom it is addressed. Any views or opinions presented >are solely those of the author and do not necessarily represent those >of Bessacarr Publications Ltd. If you are not the intended recipient >you have received this e-mail in error and that any use, >dissemination, forwarding, printing or copying of this e-mail is >strictly prohibited. Please return it to the sender immediately. The >contents of this message may be legally privileged. > > > > -- John Hopkin _______________________________________________ Opensim-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/opensim-users
