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

DERP #708

Open
lostmsu opened this issue Dec 6, 2024 · 1 comment · May be fixed by #713
Open

DERP #708

lostmsu opened this issue Dec 6, 2024 · 1 comment · May be fixed by #713

Comments

@lostmsu
Copy link
Contributor

lostmsu commented Dec 6, 2024

Getting InvalidOperationExcepttion on Linux (NixOS) with master branch:

var source = new TorrentFileSource("/tmp/somedir");
await new TorrentCreator(TorrentType.V2Only).CreateAsync(source, CancellationToken.None);

InvalidOperationException ("DERP")

image

file.Source == "/tmp/somedir/README.txt"

Path.AltDirectorySeparatorChar == '/'

@IsaMorphic
Copy link

I noticed this, too, and opened a PR to fix this bug. It seems to be a relatively arbitrary exception case; I tested downloading torrents on Android and iOS with this loop commented out and it all works OK.

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

Successfully merging a pull request may close this issue.

2 participants