Comments (12)
@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.
same problem here. I dont know what to do.
from trellobot.
Same, waiting for too :(
from trellobot.
@midnightlovell @guilhermeurnau are you both on Linux as well?
from trellobot.
@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.
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.
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.
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.
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.
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.
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.
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)
- Server with ID "*****" not found! HOT 3
- Bot crash on start HOT 1
- token issue
- Inaccurate event timestamp check
- Can't add anything to "enabledEvents" because npm install isn't working fully. HOT 2
- No Reports? HOT 1
- getting errors HOT 2
- Reminder system HOT 1
- Ability to have multiple board/channel setups.
- trello-events 'trelloError' event called
- Bot cannot authorize Trello account HOT 2
- Cannot Find Module Error. HOT 1
- No Trello Reports HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trellobot.