LINE icon indicating copy to clipboard operation
LINE copied to clipboard

"Client is not defined" error -> right py version -> even after updating lib

Open ghost opened this issue 7 years ago • 5 comments

my error:

Login Failed Traceback (most recent call last): File "echobot.py", line 13, in for op in client.longPoll(): NameError: name 'client' is not defined

  • I have tired at least 6 times setting up ( from scratch ) on cloud 9 ( where before the update I it was hosted) same error -started fresh, fresh install of ubuntu
  • I have made sure that sealing ins disabled
  • Tired setting it up on my vps => same error
  • python version 2.7.6
  • Thrift version 0.9.1
  • Set it using this => http://dev.im-bot.com/line/
  • created a new account
  • Changed http to https in api, found one http in client ( all the rest was https), changed models
  • Changed the url in api to gfpg ( I live in america)

How tf can I fix this problem? any help is appreciated

Thanks and have a good nite. if anyone wants i can pm u my lib files to look at, my line id is : lilcosby33

ghost avatar Mar 05 '17 05:03 ghost

some code is quite old, you need to test and update it manually.

please read and get infos from closed and open issues

shinomura avatar Mar 06 '17 09:03 shinomura

me too. it show Login Failed

srithitom avatar Mar 17 '17 05:03 srithitom

It's thrift and line compiling together did you try install the library

BloodySenpai avatar Mar 18 '17 00:03 BloodySenpai

Curve files

BloodySenpai avatar Mar 18 '17 00:03 BloodySenpai

client = Client(account_sid, auth_token) NameError: name 'Client' is not defined

same thing again and again..What to do??

RommieM avatar Sep 02 '17 15:09 RommieM