Giter VIP home page Giter VIP logo

Comments (14)

damo-da avatar damo-da commented on June 16, 2024

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.

eXqusic avatar eXqusic commented on June 16, 2024

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.

damo-da avatar damo-da commented on June 16, 2024

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.

eXqusic avatar eXqusic commented on June 16, 2024

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.

damo-da avatar damo-da commented on June 16, 2024

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.

eXqusic avatar eXqusic commented on June 16, 2024

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.

damo-da avatar damo-da commented on June 16, 2024

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() after print("Can not parse for {}".format(f)) on the escape case?

Here's what the script is going to look like:
http://pastebin.com/9zDRgVUq

from nordvpn-speedtest-benchmark.

eXqusic avatar eXqusic commented on June 16, 2024

Im currently using Windows 10 with Python 3.

Its now putting out this http://pastebin.com/btMqFWhe

from nordvpn-speedtest-benchmark.

damo-da avatar damo-da commented on June 16, 2024

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.

damo-da avatar damo-da commented on June 16, 2024

Basically, I changed /bin/ping to ping.exe in case the os is windows.

from nordvpn-speedtest-benchmark.

eXqusic avatar eXqusic commented on June 16, 2024

It gave the same error as before and yeah I noticed the change. Merry Christmas to you too :)

from nordvpn-speedtest-benchmark.

eXqusic avatar eXqusic commented on June 16, 2024

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.

kleerkoat avatar kleerkoat commented on June 16, 2024

i'm having the same parsing error as well on Mac.

from nordvpn-speedtest-benchmark.

damo-da avatar damo-da commented on June 16, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.