Welcome to the Melbourne Community Daily Discussion Thread.

  • Rusty Raven @aussie.zoneM
    link
    fedilink
    arrow-up
    6
    ·
    10 months ago

    Apologies in advance, but the Lemmy upgrade appears to have broken the bot’s ability to post - it is trying, but it can’t actually connect to any communities for some reason. ☹️

    If one of the nightowls could make a post at midnight that would be great - we can declare it “Manual Monday” and I can poke at the programming tomorrow when I have had some sleep.

    • indisin@aussie.zone
      link
      fedilink
      arrow-up
      1
      ·
      10 months ago

      It’ll possibly be an Auth issue with the bot, I was getting those when browsing since the upgrade.

      All you might have to do is feed the bot a new set of creds and let it eat a new token :)

      I could be completely wrong as I am guessing based on my user experience!

        • indisin@aussie.zone
          link
          fedilink
          arrow-up
          2
          ·
          10 months ago

          Yeah there was, and if the community of devs maintaining lemmy is even mediocre, they’ll not to do breaking API contract changes. Hence me thinking the bot is just having authentication/authorisation issues (I’m a very very experienced software dev)

      • Rusty Raven @aussie.zoneM
        link
        fedilink
        arrow-up
        1
        ·
        10 months ago

        There were initially issues with logging in, but I got that sorted out. IIt’s now giving an error message when trying to connect to the individual communities, so something may have changed there. None of the other community bots seem to have posted daily threads today, so I guess it’s not just my dodgy bot having issues with the change. The last major upgrade to Lemmy made some API changes that broke a lot of things, so it is definitely possible they have done the same again.

        I was hoping to get some working code for the post sorted out today (based on working code from other communities) and then work on the cron stuff to trigger it (standby for questions regarding that, I am likely to have some!). But it is likely to take longer if everyone’s bots are having the same issue.

        • indisin@aussie.zone
          link
          fedilink
          arrow-up
          1
          ·
          10 months ago

          Urgh… Good devs do not make breaking changes so I feel really sorry for you and managing the bot.

          I’m always happy to help and have a load of free time later this week and through in to late Jan to support you if you need it. Defo have a hack at it first though, it’s the best way of learning this stuff IMO.

          • Rusty Raven @aussie.zoneM
            link
            fedilink
            arrow-up
            1
            ·
            10 months ago

            The good news is I think I’ve fixed the logon/community connection problem. The bad news is I think I broke the part of the code that does the actual posting, so while I’m not getting any messages now it’s also just not doing anything!

        • indisin@aussie.zone
          link
          fedilink
          arrow-up
          1
          ·
          10 months ago

          Also feel free to DM me the http response code and exception message. Make sure you remove any tokens &/or and PII though.