Troubles with github hosted bot

Jump to navigation Jump to search
Revision as of 19 August 2017 at 15:17.
The highlighted comment was created in this revision.

Troubles with github hosted bot

Hi mates,

Did anyone noticed problems with rumble clients downloading github hosted bots? For example

https://github.com/realr2d2/Bots/blob/gh-pages/pbg.NinjaX_1.2.jar

I can download this bot via browser or wget, but the rumble client is failing on it. I get the following error

Could not connect to https://github.com/realr2d2/Bots/blob/gh-pages/pbg.NinjaX_1.2.jar
Could not download pbg.NinjaX_1.2.jar
    Beaming (talk)15:33, 19 August 2017

    I find the problem. Looks like github changed the raw download url. Now we have to add to the file name the following suffix

    ?raw=true
    

    I.e. old github jar urls need to be converted from something like

    https://github.com/realr2d2/Bots/blob/gh-pages/pbg.NinjaX_1.2.jar
    

    to

    https://github.com/realr2d2/Bots/blob/gh-pages/pbg.NinjaX_1.2.jar?raw=true
    
      Beaming (talk)15:52, 19 August 2017

      Weird part that some github links works as before. For example

      https://github.com/aleksey-zhidkov/rc-repo-mirror/raw/master/agrach.Dalek_1.0.jar
      

      What is wrong with github?

        Beaming (talk)16:17, 19 August 2017