Skip to content

Problems with sub directories #13

Description

@Moar-Chan

I am having trouble torrenting a file that contains a folder

[getting . torrent file to drive]
C:\Users\moarc\AppData\Local\Temp\tmp5C50.tmp.torrent
https://nyaa.si//download/964646.torrent

[Lib error]
[12:55:37 INF] Contacting tracker
[12:55:37 INF] Announcing to http://nyaa.tracker.wf:7777/announce
[12:55:37 INF] Received response from http://nyaa.tracker.wf:7777/announce
[12:55:37 ERR] Unable to contact tracker
System.NullReferenceException: Object reference not set to an instance of an object.
at TorrentCore.Tracker.Http.HttpTracker.ProcessResponse(Stream response) in C:\Users\moarc\source\repos\SamuelFisher\torrentcore\TorrentCore\Tracker\Http\HttpTracker.cs:line 97
at TorrentCore.Tracker.Http.HttpTracker.Announce(AnnounceRequest request) in C:\Users\moarc\source\repos\SamuelFisher\torrentcore\TorrentCore\Tracker\Http\HttpTracker.cs:line 62
at TorrentCore.Tracker.AggregatedTracker.Announce(AnnounceRequest request) in C:\Users\moarc\source\repos\SamuelFisher\torrentcore\TorrentCore\Tracker\AggregatedTracker.cs:line 52
at TorrentCore.PipelineRunner.ContactTracker() in C:\Users\moarc\source\repos\SamuelFisher\torrentcore\TorrentCore\Engine\PipelineRunner.cs:line 150
[12:55:37 INF] Starting pipeline stage VerifyDownloadedPiecesStage
[12:55:37 ERR] Unhandled exception in pipeline stage VerifyDownloadedPiecesStage
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Downloads\sintel\Extra[Reaktor] Serial Experiments Lain - OP [1080p][x265][10-bit][Dual-Audio].mkv'.
at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter.ValidateArgsAndOpenPath(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path)
at System.IO.File.WriteAllText(String path, String contents)
at TorrentCore.Data.DiskFileHandler.GetFileStream(String fileName) in C:\Users\moarc\source\repos\SamuelFisher\torrentcore\TorrentCore\Data\DiskFileHandler.cs:line 46
at TorrentCore.Data.BlockDataHandler.TryReadBlockData(Int64 offset, Int64 length, Byte[]& data) in C:\Users\moarc\source\repos\SamuelFisher\torrentcore\TorrentCore\Data\BlockDataHandler.cs:line 73
at TorrentCore.Data.PieceCheckerHandler.TryReadBlockData(Int64 offset, Int64 length, Byte[]& data) in C:\Users\moarc\source\repos\SamuelFisher\torrentcore\TorrentCore\Data\PieceCheckerHandler.cs:line 90
at TorrentCore.Application.BitTorrent.Pipelines.VerifyDownloadedPiecesStage.HashPiecesData(IStageInterrupt interrupt, IProgress1 progress) in C:\Users\moarc\source\repos\SamuelFisher\torrentcore\TorrentCore\Application\BitTorrent\Pipelines\VerifyDownloadedPiecesStage.cs:line 56 at TorrentCore.Application.BitTorrent.Pipelines.VerifyDownloadedPiecesStage.Run(IStageInterrupt interrupt, IProgress1 progress) in C:\Users\moarc\source\repos\SamuelFisher\torrentcore\TorrentCore\Application\BitTorrent\Pipelines\VerifyDownloadedPiecesStage.cs:line 43
at TorrentCore.Application.Pipelines.Pipeline.Run(IStageInterrupt interrupt, IProgress`1 progress) in C:\Users\moarc\source\repos\SamuelFisher\torrentcore\TorrentCore\Application\Pipelines\Pipeline.cs:line 34

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions