<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ralf Haifisch wrote:
<blockquote id="mid_012e01c9d616_4dbf0a40_e93d1ec0__biz"
cite="mid:012e01c9d616$4dbf0a40$e93d1ec0$@biz" type="cite">
<style>#mid_012e01c9d616_4dbf0a40_e93d1ec0__biz p.MsoNormal,
#mid_012e01c9d616_4dbf0a40_e93d1ec0__biz li.MsoNormal,
#mid_012e01c9d616_4dbf0a40_e93d1ec0__biz div.MsoNormal { margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri","sans-serif"; }
#mid_012e01c9d616_4dbf0a40_e93d1ec0__biz a:link,
#mid_012e01c9d616_4dbf0a40_e93d1ec0__biz span.MsoHyperlink { color: blue; text-decoration: underline; }
#mid_012e01c9d616_4dbf0a40_e93d1ec0__biz a:visited,
#mid_012e01c9d616_4dbf0a40_e93d1ec0__biz span.MsoHyperlinkFollowed { color: purple; text-decoration: underline; }
#mid_012e01c9d616_4dbf0a40_e93d1ec0__biz span.E-MailFormatvorlage17 { font-family: "Calibri","sans-serif"; color: windowtext; }
#mid_012e01c9d616_4dbf0a40_e93d1ec0__biz .MsoChpDefault { }
#mid_012e01c9d616_4dbf0a40_e93d1ec0__biz div.Section1 { page: Section1; }
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal">Heho,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">did anyone use the save oar
from the Remote
Admin module ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Dirk told me it is included,
and yes –
I see it in the code.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I did try:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">admin_save_oar sharkbunte.oar
Shark bunte
anarchy<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">admin_save_oar sharkbunte.oar
"Shark
bunte anarchy"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">admin_save_oar
"sharkbunte.oar"
"Shark bunte anarchy"</span></p>
</div>
</blockquote>
ralf, not sure what you are trying there. if you take a look at the
documentation in the code (or even the code itself), you'll see what
parameters are required:<br>
<blockquote>
<pre> /// <summary>
/// Save a region to an OAR file
/// <summary>
/// <param name="request">incoming XML RPC request</param>
/// <remarks>
/// XmlRpcSaveOARMethod takes the following XMLRPC
/// parameters
/// <list type="table">
/// <listheader><term>parameter name</term><description>description</description></listheader>
/// <item><term>password</term>
/// <description>admin password as set in OpenSim.ini</description></item>
/// <item><term>filename</term>
/// <description>file name for the OAR file</description></item>
/// <item><term>region_uuid</term>
/// <description>UUID of the region</description></item>
/// <item><term>region_name</term>
/// <description>region name</description></item>
/// </list>
</pre>
</blockquote>
from that it follows that you need to pass in:<br>
<ul>
<li>password <br>
</li>
<li>filename</li>
<li>region_uuid or region_name</li>
</ul>
using python your code would look roughly like this (typing from
memory, immobilized on the couch as i sprained my ankle this afternoon
:-(<br>
<blockquote>import xmlrpclib<br>
<br>
opensim = xmlrpclib.Server('<a class="moz-txt-link-freetext" href="http://opensim.bla.foo:9000/">http://opensim.bla.foo:9000/</a>')<br>
res = opensim.admin_save_oar(dict(password = 'secret', filename =
'/tmp/saved.oar', <br>
region_name =
'My Cool Region'))<br>
if res['saved']: <br>
print 'saved OAR file'<br>
</blockquote>
more or less like that. that should work (we are using it daily). the
OAR file will be saved on the opensim server, you could you the REST
file interface to retrieve it.<br>
<br>
cheers,<br>
DrS/dirk<br>
<pre>
</pre>
<blockquote id="mid_012e01c9d616_4dbf0a40_e93d1ec0__biz"
cite="mid:012e01c9d616$4dbf0a40$e93d1ec0$@biz" type="cite">
<div class="Section1">
<p class="MsoNormal"><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">result is always:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[RADMIN] SaveOAR:
System.Exception: missing
parameter filename<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> at
OpenSim.ApplicationPlugins.RemoteController.RemoteAdminPlugin.XmlRpcSaveOARMethod
(Nwc.XmlRpc.XmlRpcRequest request) [0x00000]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">using other commands seem to
be no problem,
so the setup is ok.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I used the <a
moz-do-not-send="true"
href="http://lab.newworldgrid.com/index.php/RemoteAdmin_Executable">http://lab.newworldgrid.com/index.php/RemoteAdmin_Executable</a>
.<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Arial","sans-serif";"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Arial","sans-serif";"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Arial","sans-serif";"
lang="EN-US">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Arial","sans-serif";"
lang="EN-US">Ralf Haifisch<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Arial","sans-serif";"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Arial","sans-serif";"><a
moz-do-not-send="true" href="mailto:ralf@ralf-haifisch.biz"><span
style="color: blue;" lang="EN-US">ralf@ralf-haifisch.biz</span></a></span><span
style="font-size: 10pt; font-family: "Arial","sans-serif";"> <span
lang="EN-US"><o:p></o:p></span></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Arial","sans-serif";"><a
moz-do-not-send="true" href="http://www.ralf-haifisch.biz/"><span
style="color: blue;" lang="EN-US">http://www.ralf-haifisch.biz/</span></a></span><span
style="font-size: 10pt; font-family: "Arial","sans-serif";"
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style=""><span lang="EN-US">The ultimate 3D
web magazine - </span><u><span
style="font-family: "Arial","sans-serif"; color: rgb(0, 176, 240);"
lang="EN-US"><a class="moz-txt-link-freetext" href="http://www.maxping.org">http://www.maxping.org</a></span></u><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal" style=""><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style=""><span lang="EN-US">The best way to
predict the future is to create it. (Peter Drucker)<span
style="color: rgb(99, 64, 71);"><o:p></o:p></span></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Arial","sans-serif";"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 12pt; font-family: "Times New Roman","serif";"
lang="EN-US">Büro/office: in
OSGRID find us at Sharkland Tropical 1 - explore the regions !<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 12pt; font-family: "Times New Roman","serif";"
lang="EN-US">Residenz in
Second Life: Great White Shark <o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Arial","sans-serif";"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Opensim-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a>
<a class="moz-txt-link-freetext" href="https://lists.berlios.de/mailman/listinfo/opensim-users">https://lists.berlios.de/mailman/listinfo/opensim-users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="80">--
dr dirk husemann ---- math & computer science ---- ibm zurich research lab
RL: <a class="moz-txt-link-abbreviated" href="mailto:hud@zurich.ibm.com">hud@zurich.ibm.com</a> - +41 44 724 8573 - <a class="moz-txt-link-freetext" href="http://www.zurich.ibm.com/~hud/">http://www.zurich.ibm.com/~hud/</a>
SL: <a class="moz-txt-link-abbreviated" href="mailto:drscofield@xyzzyxyzzy.net">drscofield@xyzzyxyzzy.net</a> --------------------- <a class="moz-txt-link-freetext" href="http://xyzzyxyzzy.net/">http://xyzzyxyzzy.net/</a></pre>
</body>
</html>