samuelfisher / torrentcore Goto Github PK
View Code? Open in Web Editor NEWBitTorrent for .NET Core
Home Page: https://torrentcore.org
License: GNU Lesser General Public License v3.0
BitTorrent for .NET Core
Home Page: https://torrentcore.org
License: GNU Lesser General Public License v3.0
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, IProgress
1 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
Looking for developer for custom sharing solution.(user created content, free contributions) (paid)
This library is awesome - any idea of when the rest of the features on the ToDo list are implemented?
I didn't find any way to use custom transport when create instances of TorrentClient
.
torrentcore/TorrentCore/TorrentClient.cs
Lines 61 to 65 in 08ed67d
Can you upgrade to .net 6?
Don't you update it?
I'm just about to start using this in a project and noticed whilst looking at the code that the TorrentClient class does not have a corresponding interface.
This means consumers of the library may not easily be able to unit test the interactions with this particular external code.
Would you consider extracting an ITorrentClient interface, or accepting a pull request?
Thanks,
Sean.
I have been unable to download files, it like makes the files and a has file. but it then dies to an error without a log or anything.
also a discord or something could be cool :P
Is there a Nuget package available for this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.