Re: Pyrolite and JavaScript in browser

Richard <[email protected]> Sat, 07 Mar 2015 19:56:21 +0100
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============5401075963723628263==
Content-Type: multipart/alternative;
	boundary="------------050300080302010204080701"

This is a multi-part message in MIME format.
--------------050300080302010204080701
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

Yes I can see that. But I do have a serious problem with rights.
No matter what I choose on the gateway site, I get:

ERROR: 403 Forbidden
403 Forbidden - access to the requested object has been denied

Richard
On 07/03/15 16:10, Irmen de Jong wrote:
> On 7-3-2015 15:52, Bzzzz wrote:
>> On Sat, 07 Mar 2015 15:41:06 +0100
>> Richard <[email protected]> wrote:
>>
>>> Thanks! That seems to work. Now I am trying to get the gateway to
>>> work. A few examples would be welcome...
>>> If I enter:
>>>
>>> http://localhost:8080/pyro/test/echoserver
>>>
>>> I get:
>>>
>>> 403 Forbidden - access to the requested object has been denied
>> Clone the repo (https://github.com/irmen/Pyro4) in a nice place,
>> cd docs, make html to build docs into html, then point your browser to:
>> file:///zeniceplaceiputpyro4/build/sphinx/html/ to read them;
>> eventually, juste keep or move /examples & /build.
>>
> Or just visit http://pythonhosted.org/Pyro4/    :-)
>
> The httpgateway is described in:
> http://pythonhosted.org/Pyro4/tipstricks.html#pyro-via-http-and-json
>
> If you view-source the browser page of the gateway, you can see how I did the couple of
> examples there (I used jquery).
>
>
> Irmen
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Pyro-core mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pyro-core


--------------050300080302010204080701
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Yes I can see that. But I do have a serious problem with rights.<br>
    No matter what I choose on the gateway site, I get:<br>
    <br>
    <meta charset="utf-8">
    <pre id="pyro_response" style="border: 1px solid rgb(187, 187, 255); padding: 1ex; margin: 1ex; white-space: pre-wrap; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">ERROR: 403 Forbidden 
403 Forbidden - access to the requested object has been denied

</pre>
    Richard<br>
    <div class="moz-cite-prefix">On 07/03/15 16:10, Irmen de Jong wrote:<br>
    </div>
    <blockquote cite="mid:[email protected]" type="cite">
      <pre wrap="">On 7-3-2015 15:52, Bzzzz wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">On Sat, 07 Mar 2015 15:41:06 +0100
Richard <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a> wrote:

</pre>
        <blockquote type="cite">
          <pre wrap="">Thanks! That seems to work. Now I am trying to get the gateway to
work. A few examples would be welcome...
If I enter:

<a class="moz-txt-link-freetext" href="http://localhost:8080/pyro/test/echoserver">http://localhost:8080/pyro/test/echoserver</a>

I get:

403 Forbidden - access to the requested object has been denied
</pre>
        </blockquote>
        <pre wrap="">
Clone the repo (<a class="moz-txt-link-freetext" href="https://github.com/irmen/Pyro4">https://github.com/irmen/Pyro4</a>) in a nice place,
cd docs, make html to build docs into html, then point your browser to:
<a class="moz-txt-link-freetext" href="file:///zeniceplaceiputpyro4/build/sphinx/html/">file:///zeniceplaceiputpyro4/build/sphinx/html/</a> to read them;
eventually, juste keep or move /examples &amp; /build.

</pre>
      </blockquote>
      <pre wrap="">
Or just visit <a class="moz-txt-link-freetext" href="http://pythonhosted.org/Pyro4/">http://pythonhosted.org/Pyro4/</a>    :-)

The httpgateway is described in:
<a class="moz-txt-link-freetext" href="http://pythonhosted.org/Pyro4/tipstricks.html#pyro-via-http-and-json">http://pythonhosted.org/Pyro4/tipstricks.html#pyro-via-http-and-json</a>

If you view-source the browser page of the gateway, you can see how I did the couple of
examples there (I used jquery).


Irmen


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. <a class="moz-txt-link-freetext" href="http://goparallel.sourceforge.net/">http://goparallel.sourceforge.net/</a>
_______________________________________________
Pyro-core mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/pyro-core">https://lists.sourceforge.net/lists/listinfo/pyro-core</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------050300080302010204080701--


--===============5401075963723628263==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
--===============5401075963723628263==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Pyro-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyro-core

--===============5401075963723628263==--