• Bus times

    From Chris Newman@newslists@npost.uk to comp.sys.acorn.apps on Mon Oct 20 12:25:52 2025
    From Newsgroup: comp.sys.acorn.apps

    I had been using BusTimes, a great app from Kevin Wells but it stopped
    working with an error.

    Reporter output..

    12:20:04.67 Exec
    12:20:14.41 wget http://transportapi.com/v3/uk/bus/stop/1990PH130232/live.json?group=yes&nextbuses=yes&app_id=861d1af6&app_key=bff7016a8aeb73e720ecb5da6c6be823 -q
    -O <Wimp$ScrapDir>.BusTimes.bus
    12:20:14.41 WimpSlot -min 2968k
    12:20:14.41 Run ADFS::FAST.$.!BOOT.Resources.!Wget.wget http://transportapi.com/v3/uk/bus/stop/1990PH130232/live.json?group=yes&nextbuses=yes&app_id=861d1af6&app_key=bff7016a8aeb73e720ecb5da6c6be823 -q
    -O <Wimp$ScrapDir>.BusTimes.bus
    12:20:14.43 RMEnsure SharedUnixLibrary 1.07 RMLoad
    System:Modules.SharedULib
    12:20:14.43 RMEnsure SharedUnixLibrary 1.07 RMLoad
    UnixLib:Modules.SharedULib
    12:20:14.43 RMEnsure SharedUnixLibrary 1.07 Error XYZ
    12:20:15.18 Exec
    12:20:15.24 ** BASICError ** ERR=26 Unknown or missing variable ERL=1081 12:20:15.24 ** WimpError ** from Error from BusTimes
    Error : &00000000
    Message: Unknown or missing variable at line 1081
    12:20:15.24 Exec
    12:20:17.01 Exec

    I had a key but can't find the details and I can't find where it's stored
    in the app or on the computer to check if all is OK.

    I seem to remember Kevin saying there was a problem with the API key and
    he was looking for a new provider.

    I've emailed Kev but no reply yet. Probably very busy.

    Has anyone else got this working?
    --
    Chris
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Harriet Bazley@harriet@bazleyfamily.co.uk to comp.sys.acorn.apps on Mon Oct 20 15:07:07 2025
    From Newsgroup: comp.sys.acorn.apps

    On 20 Oct 2025 as I do recall,
    Chris Newman wrote:

    I had been using BusTimes, a great app from Kevin Wells but it stopped working with an error.

    [snip]


    I had a key but can't find the details and I can't find where it's stored
    in the app or on the computer to check if all is OK.

    It's probably stored in <Choices$Write>.BusTimes.API (by analogy with
    my TrainTimes API file location)

    It's just a two-line file with your user ID as Key1 and a 40-byte hex
    number as Key2.

    But I don't know how you would check this for validity!
    --
    Harriet Bazley == Loyaulte me lie ==

    I'm all for computer dating.... But I wouldn't want one to marry my sister.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Chris Newman@newslists@npost.uk to comp.sys.acorn.apps on Mon Oct 20 16:38:11 2025
    From Newsgroup: comp.sys.acorn.apps

    In article <8f36cb6e5c.harriet@bazleyfamily.co.uk>, Harriet Bazley <harriet@bazleyfamily.co.uk> wrote:
    On 20 Oct 2025 as I do recall, Chris Newman wrote:

    I had been using BusTimes, a great app from Kevin Wells but it
    stopped working with an error.

    [snip]


    I had a key but can't find the details and I can't find where it's
    stored in the app or on the computer to check if all is OK.

    It's probably stored in <Choices$Write>.BusTimes.API (by analogy with
    my TrainTimes API file location)

    It's just a two-line file with your user ID as Key1 and a 40-byte hex
    number as Key2.

    But I don't know how you would check this for validity!

    Thanks for that. My train times indeed has its API there but Bus Times
    doesn't have one at at. Strange! Where did that go? I tried the train one
    but that didn't work. I seem to recall that originally, one key did all.
    --
    Chris
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Steve Fryatt@news@stevefryatt.org.uk to comp.sys.acorn.apps on Mon Oct 20 18:57:59 2025
    From Newsgroup: comp.sys.acorn.apps

    On 20 Oct, Chris Newman wrote in message
    <5c6ebc7304newslists@npost.uk>:

    I had been using BusTimes, a great app from Kevin Wells but it stopped working with an error.

    If that was this morning, it might be worth trying it again when AWS have sorted their issues out -- just in case the UK's bus tracking infrastructure
    is cloud-based and with a certain cloud provider (the railways certainly
    appear to have some dependencies).

    BASICError ** ERR=26 Unknown or missing variable ERL=1081 12:20:15.24 ** WimpError ** from Error from BusTimes
    Error : &00000000
    Message: Unknown or missing variable at line 1081

    That doesn't look like a good error... Perhaps BusTimes has a bug, too?
    --
    Steve Fryatt - Leeds, England

    http://www.stevefryatt.org.uk/
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Kevin Wells@kev@kevsoft.co.uk to comp.sys.acorn.apps on Mon Oct 20 19:50:52 2025
    From Newsgroup: comp.sys.acorn.apps

    In message <5c6ed38cfdnewslists@npost.uk>
    Chris Newman <newslists@npost.uk> wrote:

    In article <8f36cb6e5c.harriet@bazleyfamily.co.uk>, Harriet Bazley ><harriet@bazleyfamily.co.uk> wrote:
    On 20 Oct 2025 as I do recall, Chris Newman wrote:

    I had been using BusTimes, a great app from Kevin Wells but it
    stopped working with an error.

    [snip]


    I had a key but can't find the details and I can't find where it's
    stored in the app or on the computer to check if all is OK.

    It's probably stored in <Choices$Write>.BusTimes.API (by analogy with
    my TrainTimes API file location)

    It's just a two-line file with your user ID as Key1 and a 40-byte hex
    number as Key2.

    But I don't know how you would check this for validity!

    Thanks for that. My train times indeed has its API there but Bus Times >doesn't have one at at. Strange! Where did that go? I tried the train one
    but that didn't work. I seem to recall that originally, one key did all.

    BusTimes and TrainTimes use different API providers, and the API
    provider for BusTimes stopped working so I'm looking for a new BusTimes
    API provider.

    I found one for TrainTimes that is why it is at version 2. whilst
    BusTimes is at version 1. when I find a new bus time table provider then BusTimes will move to version 2
    --
    Kev Wells
    https://kevsoft.co.uk/ https://ko-fi.com/kevsoft
    carpe cervisium
    They sent me to the gallery or round the music-'alls,
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Martin@News03@avisoft.f9.co.uk to comp.sys.acorn.apps on Tue Oct 21 16:22:53 2025
    From Newsgroup: comp.sys.acorn.apps

    In article <mpro.t4fz8h00r0gkv09sg.news@stevefryatt.org.uk>,
    Steve Fryatt <news@stevefryatt.org.uk> wrote:
    On 20 Oct, Chris Newman wrote in message
    <5c6ebc7304newslists@npost.uk>:

    I had been using BusTimes, a great app from Kevin Wells but it
    stopped working with an error.

    If that was this morning, it might be worth trying it again when
    AWS have sorted their issues out -- just in case the UK's bus
    tracking infrastructure is cloud-based and with a certain cloud
    provider (the railways certainly appear to have some dependencies).

    BASICError ** ERR=26 Unknown or missing variable ERL=1081
    12:20:15.24 ** WimpError ** from Error from BusTimes
    Error : &00000000
    Message: Unknown or missing variable at line 1081

    That doesn't look like a good error... Perhaps BusTimes has a bug,
    too?

    Agreed.
    It seems that line 1081 references test%, which has not been defined.

    The error can be displayed very simply: If BusTimes v1.19 is started,
    and Select clicked in the iconbar, the error is raised. At that point,
    PROCnull has not been called, which is the only place where test% is
    set.

    This may only happen when a wget does not give the expected results,
    but nevertheless is a bug that can (and has!) happened, which could be
    made less confusing for users.
    --
    Martin Avison
    Note that unfortunately this email address will become invalid
    without notice if (when) any spam is received.
    --- Synchronet 3.21a-Linux NewsLink 1.2