Open ashwitha112 opened 4 years ago
I have same problem, and many people too.. How fix this ?
how fix this problem??
Comment is by someone else, but it helped me. So you can try it for yourself. If you need help just let me know. "Hello my good friends here is the solution to the loop. Steps:
Visit your trape folder. 2 Open the core folder and you'll find trape.py. Open the trape.py folder and do what I'll illustrate. Do this : find: v = '{\n\t"ngrok_token" : "' + c_nGrokToken + '",\n\t"gmaps_api_key" : "' + c_gMapsToken + '",\n\t"gshortener_api_key" : "' + c_gOoglToken + '"\n\t"ipinfo_api_key" : "' + c_ipinfo + '",\n}' replace with: v = '{\n\t"ngrok_token" : "' + c_nGrokToken + '",\n\t"gmaps_api_key" : "' + c_gMapsToken + '",\n\t"gshortener_api_key" : "' + c_gOoglToken + '",\n\t"ipinfo_api_key" : "' + c_ipinfo + '"\n}' Find me later and buy some lunch haha."
Basically what you need to change is the final line from: (Commas) '"\n\t"ipinfo_api_key" : "' + c_ipinfo + '",\n}' TO: '",\n\t"ipinfo_api_key" : "' + c_ipinfo + '"\n}'
Traceback (most recent call last):
File "trape.py", line 24, in
Basically what you need to change is the final line from: (Commas) '"\n\t"ipinfo_api_key" : "' + c_ipinfo + '",\n}' TO: '",\n\t"ipinfo_api_key" : "' + c_ipinfo + '"\n}' -^------------------------------------^ There is 2 commas you need to change And even after that you get an error with the code. As I only could fix this error there was another, Id recommend use another code or make one yourself this code is old and isn't working that well.
Thanks, I already figured it out
[x] ERROR: local variable 'config_trape' referenced before assignment
ISSUE RESOLVED :
Update the details properly while configuring the trape.config i have use below site, create the account
[x] ERROR: local variable 'config_trape' referenced before assignment