Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: invalid syntax #59

Open
zinghappy opened this issue May 31, 2024 · 0 comments
Open

SyntaxError: invalid syntax #59

zinghappy opened this issue May 31, 2024 · 0 comments

Comments

@zinghappy
Copy link

/Users/Zhanganyu/Library/Python/3.9/lib/python/site-packages/urllib3/init.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: urllib3/urllib3#3020
warnings.warn(
Your system version is 17.5.1
2024-05-31 09:21:13 Zhang-Anyus-MacBook-Pro.local main[8030] INFO init done
2024-05-31 09:21:13 Zhang-Anyus-MacBook-Pro.local main[8030] INFO starting tunnel
/Users/Zhanganyu/Library/Python/3.9/lib/python/site-packages/urllib3/init.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: urllib3/urllib3#3020
warnings.warn(
2024-05-31 09:21:15 Zhang-Anyus-MacBook-Pro.local main[8030] INFO tunnel started
2024-05-31 09:21:15 Zhang-Anyus-MacBook-Pro.local main[8030] INFO tunnel process terminated
Bye
Traceback (most recent call last):
File "/Users/Zhanganyu/Downloads/iOSRealRun-cli-17-main-2/main.py", line 93, in
main()
File "/Users/Zhanganyu/Downloads/iOSRealRun-cli-17-main-2/main.py", line 59, in main
loc = route.get_route()
File "/Users/Zhanganyu/Downloads/iOSRealRun-cli-17-main-2/init/route.py", line 7, in get_route
loc = route.parse_route(myFile.read())
File "/Users/Zhanganyu/Downloads/iOSRealRun-cli-17-main-2/util/route.py", line 4, in parse_route
tmp = ast.literal_eval("[{}]".format(content))
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/ast.py", line 62, in literal_eval
node_or_string = parse(node_or_string, mode='eval')
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/ast.py", line 50, in parse
return compile(source, filename, mode, flags,
File "", line 1
[{"lng":"120.08940547528623","lat":"30.311820648439898"},{"lng":"120.08975581443512","lat":"30.311996021843242"},{"lng":"120.09002081456056","lat":"30.31189859221385"},{"lng":"120.09017801802482","lat":"30.311602405539706"},{"lng":"120.09023640788295","lat":"30.311306217961384"},{"lng":"120.09035318759926","lat":"30.310974954467174"},{"lng":"120.09034869607171","lat":"30.31065927879089"},{"lng":"120.09007920441871","lat":"30.310413752554847"},{"lng":"120.08979174665552","lat":"30.310402060813825"},{"lng":"120.08954471264028","lat":"30.310639792604373"},{"lng":"120.08946386514438","lat":"30.31098274891533"},{"lng":"120.08938301764849","lat":"30.31139195656389"},{"lng":"120.08934259390054","lat":"30.311719321440144"},{"lng":"120.08939649223113","lat":"30.311863517523317"},{"lng":"120.08939649223113","lat":"30.311863517523317"}{"lng":"120.7335575167566","lat":"30.52802386594508"},{"lng":"120.7335664998117","lat":"30.527949984828833"},{"lng":"120.73357997439435","lat":"30.527887769107984"},{"lng":"120.73361590661474","lat":"30.527825553346897"},{"lng":"120.7336653134178","lat":"30.527771114522935"},{"lng":"120.73372370327594","lat":"30.527720564158813"},{"lng":"120.73379107618919","lat":"30.527689456229226"},{"lng":"120.73387641521265","lat":"30.527662236782586"},{"lng":"120.73397073729119","lat":"30.52765057130309"},{"lng":"120.73407404242484","lat":"30.527646682809618"},{"lng":"120.73416387297584","lat":"30.527677790753035"},{"lng":"120.73428514421968","lat":"30.52773611811983"},{"lng":"120.73436150018803","lat":"30.52781388788721"},{"lng":"120.73441539851864","lat":"30.527922765455916"},{"lng":"120.73444234768392","lat":"30.52803941985705"},{"lng":"120.73445133073903","lat":"30.528156074116726"},{"lng":"120.73445582226658","lat":"30.5283038359759"},{"lng":"120.73446031379413","lat":"30.528420489914918"},{"lng":"120.73446031379413","lat":"30.52852158988096"},{"lng":"120.73446480532168","lat":"30.528618801286576"},{"lng":"120.73446480532168","lat":"30.528719901044198"},{"lng":"120.73445582226658","lat":"30.52881322380307"},{"lng":"120.73442887310128","lat":"30.528902658028688"},{"lng":"120.73439294088088","lat":"30.52898820373192"},{"lng":"120.73434353407784","lat":"30.529034864992525"},{"lng":"120.73427616116459","lat":"30.529081526230495"},{"lng":"120.73420429672379","lat":"30.52912429901208"},{"lng":"120.73414590686563","lat":"30.529143741179244"},{"lng":"120.73408302547993","lat":"30.52915929491014"},{"lng":"120.73399319492894","lat":"30.52915540647765"},{"lng":"120.73390785590549","lat":"30.52915540647765"},{"lng":"120.73383599146469","lat":"30.529135964312847"},{"lng":"120.733773110079","lat":"30.529108745275526"},{"lng":"120.73372370327594","lat":"30.529065972487018"},{"lng":"120.73365633036269","lat":"30.529003757487974"},{"lng":"120.73361590661474","lat":"30.528925988682573"},{"lng":"120.7335754828668","lat":"30.528855996703964"},{"lng":"120.7335664998117","lat":"30.528782116226836"},{"lng":"120.7335575167566","lat":"30.528719901044198"},{"lng":"120.7335575167566","lat":"30.52863435510235"},{"lng":"120.7335575167566","lat":"30.528541032169947"},{"lng":"120.7335575167566","lat":"30.528451597608097"},{"lng":"120.7335485337015","lat":"30.528350497568482"},{"lng":"120.73355302522906","lat":"30.528261062829475"},{"lng":"120.7335575167566","lat":"30.52818329342363"},{"lng":"120.73356200828415","lat":"30.528128854802127"}]
^
SyntaxError: invalid syntax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant