Giter Site home page Giter Site logo

Comments (12)

mauzao9 avatar mauzao9 commented on May 28, 2024 2

@Angush sadly it still constantly crashes, there is deff something wonky as to how the script is trying to get data and Trello doesn't like it heh

from trellobot.

midnightlovell avatar midnightlovell commented on May 28, 2024

same problem here. I dont know what to do.

from trellobot.

guilhermeurnau avatar guilhermeurnau commented on May 28, 2024

Same, waiting for too :(

from trellobot.

Angush avatar Angush commented on May 28, 2024

@midnightlovell @guilhermeurnau are you both on Linux as well?

from trellobot.

mauzao9 avatar mauzao9 commented on May 28, 2024

@midnightlovell @guilhermeurnau are you both on Linux as well?

Same with me, and yes, but the bot runs smoothly for a while it just crashed once or twice with that same error.

from trellobot.

Wooza42 avatar Wooza42 commented on May 28, 2024

I would love to getting this bot running but in my case it doesn't even run longer than some seconds before crashing with the above message. If there is more I can do to help troubleshooting, let me know.

from trellobot.

Angush avatar Angush commented on May 28, 2024

I wasn't able to recreate this, but a friend of mine did bump into it. She managed to fix it by limiting the number of actions Trellobot fetches from the API. So, @midnightlovell @guilhermeurnau @mauzao9 @Wooza42, if you guys are still trying to get it going, you might be able to fix it by doing the same.

To do so, head into /node_modules/trello-events/index.js and edit the first line of the getBoardActivity function to add ?limit=n to the end (so it reads trello.get('/1/boards/' + boardId + '/actions?limit=n', function(err, resp){) where n is the action limit. I'd recommend setting it to something moderately high, like 30 or 50.

The caveat to this is that if the bot isn't running constantly (eg. it crashes or your host machine goes down or internet drops or whatever else), and there's a lot of activity going on in your Trello board, it will only log the 30/50/n most recent actions, and not any before that.

from trellobot.

JakeyPrime avatar JakeyPrime commented on May 28, 2024

Sorry for the late post to this, but I'm also getting this error on Ubuntu 18.04. Followed the steps to a tee, followed your steps in the previous reply (set it to 30) and it's crashing on startup.

Any other pointers?

Edit: I managed to get it to post like 20 messages by lowering it to like 25, but before it got to the last 5, it crashed with the same error.

from trellobot.

fallengravity avatar fallengravity commented on May 28, 2024

So I did everything mentioned in the thread and it worked perfectly for about 2 weeks, Then all hell broke loose one night and it had connected to discord API over 1000 Times in under 10 min needless to say the rest my token now whenever I try and connect it they almost instantly reset the token and email me. Something is definitely not right!

BUT

The bot is awesome when it does work, thank you for your hard work @Angush

from trellobot.

mauzao9 avatar mauzao9 commented on May 28, 2024

Yes this bot is the best bot I have seen, the way it can connect the discord accs to trello accs and the ease to customize the card embeds is better than anything else I've seen, but it really needs that fix, something is messing up and both Trello and Discord seem to not like it as I also got the token revoked once haha

from trellobot.

jackalyst avatar jackalyst commented on May 28, 2024

I seem to get the json truncated, which is why it would have trouble

,"type":"updateCard","d
/home/qrlbutler/trellobot/node_modules/trello-events/index.js:76
		var boardActions = resp.reverse();
		                        ^

The last three times it happened, I threw the output into a bytecounter and found they were right around 14,966 bytes. Not sure if that's related.

from trellobot.

orhalimi avatar orhalimi commented on May 28, 2024

Yea happened to me too.
Ran it on 512kb machine ^^"
anyway using @Angush suggestion and reduce it to like 15 solved the issue. Really great bot.

Cheers!

from trellobot.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.