Messer: History command is broken
Whenever I try to access the “history” feature, I got this error… Have I done something wrong? I haven’t see anyone complaining about that yet
also… The error got one exception: when I use it on a specific contact, it displays the history as it should, but if I try to specify the number of messages it gives me back the same error I mentioned at the beginning (and which I’ll post it fully bellow).
(node:1560) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'thread_key' of null
at formatThreadGraphQLResponse (/usr/local/lib/node_modules/messer/node_modules/facebook-chat-api/src/getThreadInfo.js:35:32)
at /usr/local/lib/node_modules/messer/node_modules/facebook-chat-api/src/getThreadInfo.js:163:24
at bound (domain.js:301:14)
at runBound (domain.js:314:12)
at tryCatcher (/usr/local/lib/node_modules/messer/node_modules/bluebird/js/main/util.js:26:23)
at Promise._settlePromiseFromHandler (/usr/local/lib/node_modules/messer/node_modules/bluebird/js/main/promise.js:510:31)
at Promise._settlePromiseAt (/usr/local/lib/node_modules/messer/node_modules/bluebird/js/main/promise.js:584:18)
at Promise._settlePromises (/usr/local/lib/node_modules/messer/node_modules/bluebird/js/main/promise.js:700:14)
at Async._drainQueue (/usr/local/lib/node_modules/messer/node_modules/bluebird/js/main/async.js:123:16)
at Async._drainQueues (/usr/local/lib/node_modules/messer/node_modules/bluebird/js/main/async.js:133:10)
at Immediate.Async.drainQueues (/usr/local/lib/node_modules/messer/node_modules/bluebird/js/main/async.js:15:14)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5)
(node:1560) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 8)
I’m running it at my Lubuntu 18.04 LTS…
update: I realized it only displays the history to the very first person at “recents”
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 2
- Comments: 28
recentreturns nothinghistoryreturns the usualYes, “with quotes”
Hi, I am now running messer in Xubuntu 18.04 and cannot run
messeras user, only as root… the output is this, I don’t remember needing those permissions with 0.3.4But that does not belong in this thread 😅
When running history “User Name” I still get the same error and the prompt hangs. Pressing the enter key results in the following output
and the
>prompt is back.Edit: Answering to your questions
Get the same error whatever is the position
A lot…
0.4.0
None
☝️ Same issue, can’t return any messages, like Jukiro above. Just installed version 0.3.4 via npm in a Manjaro system Subscribing for fixes. Also great app! I’ve been wating for this a long time 😄