Comments (14)
I don't know why that's happening. One of the things to note is that I'm working for TCP servers only and maybe that's the reason why only half of the servers are evaluated. I'm ignoring .udp.conf because I'd expect it to be linearly propertional to .tcp.conf
from nordvpn-speedtest-benchmark.
I just removed all the .udp.conf files from the folder and it still does it. Theres no other errors besides the "can not parse for"
from nordvpn-speedtest-benchmark.
may I know how many files/servers can the script not parse for? Or some specific servers that it is not parsing for?
from nordvpn-speedtest-benchmark.
It says it cant parse any of them.. It goes through the whole list and just says it can not parse.
from nordvpn-speedtest-benchmark.
did you modify the SCRIPTS_DIR on best_server.py
? That needs to be the directory (preferred if from root path) where all your ovpn files are.
from nordvpn-speedtest-benchmark.
Yeah I did, I put them in a folder called "configs" and changed the SCRIPTS_DIR to the complete path.
This is from the command promt. http://pastebin.com/PdizbGuP
from nordvpn-speedtest-benchmark.
Which platform are you using? Also, it's working properly on my laptop. Let's do the following:
- Import
traceback
module. To do this, add a line "import traceback" after "import re" - Change the line "except Exception" to "except Exception as e"
- Then print the stacktrace by adding
traceback.print_exc()
afterprint("Can not parse for {}".format(f))
on theescape
case?
Here's what the script is going to look like:
http://pastebin.com/9zDRgVUq
from nordvpn-speedtest-benchmark.
Im currently using Windows 10 with Python 3.
Its now putting out this http://pastebin.com/btMqFWhe
from nordvpn-speedtest-benchmark.
Ah, that's because I didn't give much attention to Windows. Anyways, I think this script should fix it. Let me know if this works, otherwise I'll fix this up tomorrow. Merry Christmas!
from nordvpn-speedtest-benchmark.
Basically, I changed /bin/ping to ping.exe in case the os is windows.
from nordvpn-speedtest-benchmark.
It gave the same error as before and yeah I noticed the change. Merry Christmas to you too :)
from nordvpn-speedtest-benchmark.
Just as a cool idea. You could always make it that it finds the fastest VPN then connects to it through OpenVPN. Just an idea haha
from nordvpn-speedtest-benchmark.
i'm having the same parsing error as well on Mac.
from nordvpn-speedtest-benchmark.
Sorry it took so long but I've finally fixed the issue on Mac as Well as windows. For ping
command, I was using /usr/bin/ping
which is the wrong path on Mac (and Windows). Fixed on this commit. I'm now going to close the issue. Let me know if you encounter any problems.
from nordvpn-speedtest-benchmark.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nordvpn-speedtest-benchmark.