carpedm20 / carpedm20/LINE

HELP ME ! How To Fix kickout Bot

Open
#132 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
827
Forks
189
PR merge metrics
No merged PRs in 30d

Description

Traceback (most recent call last):
File "examples/echobot.py", line 33, in
for op in client.longPoll():
File "build/bdist.linux-aarch64/egg/line/client.py", line 512, in longPoll
operations = self._fetchOperations(self.revision, count)
File "build/bdist.linux-aarch64/egg/line/api.py", line 332, in _fetchOperations
File "build/bdist.linux-aarch64/egg/curve/CurveThrift.py", line 482, in fetchOperations
File "build/bdist.linux-aarch64/egg/curve/CurveThrift.py", line 486, in send_fetchOperations
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/thrift/protocol/TCompactProtocol.py", line 140, in writeMessageBegin
assert self.state == CLEAR
AssertionError

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with examples/echobot.py and trace client.longPoll() into client.py and api.py, where _fetchOperations raises the error. Reproduce the failure in the reported Python 2.7 and Termux environment, then compare the request path with the Thrift protocol call. Done means the bot can complete long polling without the AssertionError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.