Open winbotscript opened 7 years ago
check this @ #92
Now an error like this, please help me
from line import LineClient, LineGroup, LineContact Traceback (most recent call last): File "
", line 1, in File "line/init.py", line 11, in from .client import LineClient File "line/client.py", line 15, in from api import LineAPI File "line/api.py", line 86 """Login to LINE server."""
Check my github repo, i have upload working lib. Check here Enjoy..
Saya sudah coba sesuai tutorial nya @merkremont tapi masih muncul error
[root@sgx LineVodka]# python vodkabot.py
Traceback (most recent call last):
File "vodkabot.py", line 2, in
Tolong petunjuk nya lagi @merkremont :v
@winlianclub I'm not Indonesians, please speak English ok.
@merkremont thank you very much, bot work again, and I have a new iPad4 now.
class Poll:
client = None
auth_query_path = "/api/v4/TalkService.do";
http_query_path = "/S4";
polling_path = "/P4";
host = "gd2.line.naver.jp";
port = 443;
UA = "Line/6.0.0 iPad4,1 9.0.2"
LA = "IOSIPAD 6.0.0 iPhone OS 9.0.2"
rev = 0
def __init__(self, authToken):
self.transport = THttpClient.THttpClient(self.host, self.port, self.http_query_path)
self.transport.setCustomHeaders({
"User-Agent" : self.UA,
"X-Line-Application" : self.LA,
"X-Line-Access": authToken
});
self.protocol = TCompactProtocol.TCompactProtocol(self.transport);
self.client = LineService.Client(self.protocol)
self.rev = self.client.getLastOpRevision()
self.transport.path = self.polling_path
self.transport.open()
@merkremont i want ask you something for your Line Chivas
Why everyone can command Bots at room ??? what must i do ???
Why cl / mid can't command at room ???
May i must to change that's MID ??? admin=["YOUR_MID_HERE"]
What's the mean of "global name 'k3' is not defined" ???
Help me please
@merkremont @max32002 I go to merkremont 's GitHub,but I don't what is lib for download to fixed my bot line. Presently, I still found internal error when bot line login via old api. I'm very low skill of develop. Could you please help to explain the solution to resolve as step by step. Thank you very much.
@merkremont any issue today like this for your LineChivas :
python chivasbot.py
Traceback (most recent call last):
File "chivasbot.py", line 8, in
Help me please
@max32002 thos header cant be used rn.
python2 vodkabot.py
Traceback (most recent call last):
File "vodkabot.py", line 2, in
Can you fix this? Or tell me what to do resolve this error
Do pip2 install requests
@merkremont why the chivas is always error like this.
please help.
Traceback (most recent call last):
File "E:\LINEBOT\LineChivas\chivasbot.py", line 8, in
@max32002 do you have UA&LA new?
What is the new LA MAC code ... Please help
I have this issue and what must i do ??? Help me please... Thanks
Traceback (most recent call last): File "", line 1, in
File "line/client.py", line 88, in init
self.login()
File "line/api.py", line 90, in login
j = self._get_json(self.LINE_SESSION_NAVER_URL)
File "line/api.py", line 335, in _get_json
return json.loads(self._session.get(url, headers=self._headers).text)
File "/usr/lib/python2.6/json/init.py", line 307, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.6/json/decoder.py", line 319, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.6/json/decoder.py", line 338, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded