Personal tools
You are here: Home Forums Site discussion Access to egoban from mgo

Access to egoban from mgo

Up to Site discussion

Access to egoban from mgo

Posted by John Zuum at June 16. 2008

Hello Creators of Egoban,

 

i`m a user of a j2me-application called mgo (http://mgo.wiki.sourceforge.net/) which enables me to write kifus on the go. Unfortunately many mobilphones including mine do not support jsr-75 extension which in short means that saved games cannot be transfered from the mobilphone to a computer. The developers of mgo had the clever idea to just upload games to this site (where it then can be downloaded to the computer). This does not seem to work anymore.

I assume that this is because of site changes, so

I have looked into the sourcecode of the application and there it was done by invoking a http-get to a script called script_mgoUpload, which is no longer available on this site.

OK.

 

Now my questions:

Does this or a similiar script still exists for this site, maybe only under a new url?

Is there some mobilphone optimized version available (wap or so) ?

Maybe it is possilbe to create some lightweight access to download and maybe also upload games to this site?

 

Thanks in advance!

Re: Access to egoban from mgo

Posted by George Gozadinos at June 21. 2008

Sorry for the late reply,

I had actually completely forgotten about mgo...

Promise to reenable the functionality in the coming week....

Thanks for the submission,

gg

Re: Access to egoban from mgo

Posted by George Gozadinos at July 01. 2008

An update for those interested,

I reenabled mgo support last week, and Hannes will probably integrate it in the next mgo version.

 

 

Re: Access to egoban from mgo

Posted by John Zuum at July 08. 2008

Hi, i`m trying to access the upload script from Wireless Toolkit Emulator results in the following error. What do i do wrong?

 

-------------------------------------------

POST /@@mgoUpload HTTP/1.1
User-Agent: Profile/MIDP-1.0 Configuration/CLDC-1.0
Referer: http://egoban.org/@@mgoUpload
Content-type: multipart/form-data; boundary=mgoGamePart
Cookie: __ac="5PVX53MrfSMSFsIXh3mX9x3lHnYgTXJadXVt"
Content-Length: 880
Host: egoban.org
 
--mgoGamePart
Content-Disposition: form-data; name="form.title"
Content-Type: text/plain; charset=utf-8
 
TestGame
--mgoGamePart
Content-Disposition: form-data; name="form.sgfText"
Content-Type: text/plain; charset=utf-8
 
(;GM[1]FF[3] RU[Japanese]SZ[19]HA[0]KM[5.5] PW[White] PB[Black] GN[Copyright goproblems.com] DT[1999-07-21]TM[1800] ;C[Black to play and live.] AW[bb][cb][cc][cd][de][df][cg][ch][dh][ai][bi][ci] AB[ba][ab][ac][bc][bd][be][cf][bg][bh] (;B[af];W[ah] (;B[ce];W[ag] C[only one eye this way]) (;B[ag];W[ce]) ) (;B[ah];W[af] (;B[ae];W[bf];B[ag];W[bf] (;B[af];W[ce] C[oops! you can't take this stone]) (;B[ce];W[af];B[bg] C[RIGHT black plays under the stones and lives]) ) (;B[bf];W[ae]) ) (;B[ae];W[ag]) )
--mgoGamePart
Content-Disposition: form-data; name="form.actions.submit"
Content-Type: text/plain; charset=utf-8
 
submit
--mgoGamePart
 
 
 
 
HTTP/1.1 500 Internal Server Error
Date: Tue, 08 Jul 2008 00:27:02 GMT
Server: Zope/(Zope 2.10.5-final, python 2.4.4, linux2) ZServer/1.1 Plone/3.1.1
Bobo-Exception-Line: 452
Content-Length: 836
Bobo-Exception-Value: See the server error log for details
Content-Type: text/html; charset=utf-8
Bobo-Exception-Type: AttributeError
Bobo-Exception-File: HTTPRequest.py
Via: 1.1 egoban.org
Connection: close
 
<html>
  <head><title>Zope</title></head>
  <body bgcolor="#FFFFFF">


  <h2>Site Error</h2>

  <p>An error was encountered while publishing this resource.
  </p>
 
  <p>
      <strong>Error Type: AttributeError</strong><br/>
      <strong>Error Value: 'NoneType' object has no attribute 'rfind'</strong><br/>
  </p>
 
  <hr noshade="noshade" />
 
  <p>Troubleshooting Suggestions</p>

  <ul>
            <li>The URL may be incorrect.</li>
      <li>The parameters passed to this resource may be incorrect.</li>
      <li>A resource that this resource relies on may be encountering
          an error.</li>
  </ul>

  <p>For more detailed information about the error, please
  refer to the error log.
  </p>

  <p>If the error persists please contact the site maintainer.
  Thank you for your patience.
  </p>

 

  </body>
</html>

 

Re: Access to egoban from mgo

Posted by George Gozadinos at July 08. 2008

I don't think Hannes has completed his part on mgo to allow for game uploading yet.

What you receive is an error indicating that you are accessing the wrong page. I think egoban integration should be available soon but not yet...

 

Re: Access to egoban from mgo

Posted by John Zuum at July 08. 2008

Oh, sorry for the misunderstanding. I joined development of the mgo-project and now trying to re-enable access to egoban. The log above is the transfer-log of my (unpublished) development version.

By the way: It would be cool if upload and login could be done in one step, because the login-site is not very handy to parse for small devices.

 

Thx in advance!

 

Previously George Gozadinos wrote:

I don't think Hannes has completed his part on mgo to allow for game uploading yet.

What you receive is an error indicating that you are accessing the wrong page. I think egoban integration should be available soon but not yet...

 

 

Re: Access to egoban from mgo

Posted by George Gozadinos at July 08. 2008

Ok, I see;)

Please get my mail from hannes and use that for dev communication.

In short, yes you can do authentication in one step already. Hannes had it working on the previous version, ask him for details, as my java knowledge is way way obsolete;)

We'll talk soon by email.

gg

 

Powered by Ploneboard
Document Actions