-
Notifications
You must be signed in to change notification settings - Fork 46
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
NordVPN sync not working #62
Comments
Hi, I think the issue is that line 73 keeps the directory: vopono/src/providers/nordvpn/openvpn.rs Line 73 in 7a9402a
I think it can use enclosed_name() instead to get a let fname = file.enclosed_name()?.file_name().ok_or_else(anyhow!("No valid filename for file: {:?}", fname.name()))?; I won't be on my home computer to test this until tomorrow but I think something like that will work. |
Ahh yes, I'm getting the same issue. I think I may have accidentally tested an earlier version after I made a change to the filename that gets stored. Not sure exactly what happened, but my apologies. @jamesmcm, that's essentially it, though there's a bit more work to get the resulting OsStr into a str. I can work on a quick PR, I just need to tidy up the error handling -- probably better just to skip over an invalid file rather than return an error. |
Thanks! Yeah, that makes sense, you could use But it'd be best to either write debug messages in that case (if we know there are some files that will trigger this case) or warnings (if there currently are not), in case the zip file changes in the future. |
Thanks to both of you 🙂 The fix is released in release 0.6.7. |
This is on 7a9402a and no .config/vopono
I added that last print.
It seems like it should be stripping off the ovpn_udp part at some point.
@jeff-hughes
The text was updated successfully, but these errors were encountered: