AlexCSDev / PatreonDownloader

Powerful tool for downloading content posted by creators on patreon.com. Supports content hosted on patreon itself as well as external sites (additional plugins might be required).
MIT License
917 stars 95 forks source link

Campaign id cannot be less than 1 Error #196

Closed Skyl3lazer closed 9 months ago

Skyl3lazer commented 11 months ago

Getting the following error:

2023-09-18 19:07:56.1702 FATAL Fatal error, application will be closed: UniversalDownloaderPlatform.Common.Exceptions.UniversalDownloaderException: Unable to retrieve crawl target info: Campaign id cannot be less than 1 (Parameter 'campaignId') ---> System.ArgumentOutOfRangeException: Campaign id cannot be less than 1 (Parameter 'campaignId') at PatreonDownloader.Implementation.PatreonCrawlTargetInfoRetriever.GetCrawlTargetInfo(Int64 campaignId) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.Implementation\PatreonCrawlTargetInfoRetriever.cs:line 58 --- End of inner exception stack trace --- at PatreonDownloader.Implementation.PatreonCrawlTargetInfoRetriever.GetCrawlTargetInfo(Int64 campaignId) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.Implementation\PatreonCrawlTargetInfoRetriever.cs:line 75 at PatreonDownloader.Implementation.PatreonCrawlTargetInfoRetriever.RetrieveCrawlTargetInfo(String url) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.Implementation\PatreonCrawlTargetInfoRetriever.cs:line 26 at UniversalDownloaderPlatform.Engine.UniversalDownloader.Download(String url, IUniversalDownloaderPlatformSettings settings) in F:\Sources\BigProjects\PatreonDownloader\submodules\UniversalDownloaderPlatform\UniversalDownloaderPlatform.Engine\UniversalDownloader.cs:line 183 at PatreonDownloader.App.Program.RunPatreonDownloader(CommandLineOptions commandLineOptions) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.App\Program.cs:line 128 at PatreonDownloader.App.Program.Main(String[] args) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.App\Program.cs:line 68

YakudzaKY commented 11 months ago

+1 here... broken atm but worked 12hours ago

ToninoTarsi commented 11 months ago

Same problem: 2023-09-19 10:43:24.9759 FATAL Fatal error, application will be closed: UniversalDownloaderPlatform.Common.Exceptions.UniversalDownloaderException: Unable to retrieve crawl target info: Campaign id cannot be less than 1 (Parameter 'campaignId')

aksskl commented 11 months ago

same here

Skyl3lazer commented 11 months ago

Created a PR that I believe fixes this issue

https://github.com/AlexCSDev/PatreonDownloader/pull/197

Skyl3lazer commented 11 months ago

Also confirmed that it works when built from source code per build instructions with that PR implemented

YakudzaKY commented 11 months ago

Also confirmed that it works when built from source code per build instructions with that PR implemented

a big thanks!

ToninoTarsi commented 11 months ago

Created a PR that I believe fixes this issue

197

With the PR it is working now. Thanks

icedstick commented 11 months ago

Sorry i'm new to this. I have forked my own copy and modified the code as directed by Skyl3lazer. How do I compile everything in this fork into an executable to be able to run/use it?

Skyl3lazer commented 11 months ago

Read the build instructions as directed by the readme. It's another document in the docs folder.

On Tue, Sep 19, 2023, 9:13 PM IceySnowman @.***> wrote:

Sorry i'm new to this. I have forked my own copy and modified the code as directed by Skyl3lazer. How do I compile everything in this fork into an executable to be able to run/use it?

— Reply to this email directly, view it on GitHub https://github.com/AlexCSDev/PatreonDownloader/issues/196#issuecomment-1726740399, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQYWEQFOSYAYCIHEPPJO5DX3I7MNANCNFSM6AAAAAA45NQMKY . You are receiving this because you authored the thread.Message ID: @.***>

icedstick commented 11 months ago

I've spent a few hours trying to get this to work & keep failing in various different ways. Until AlexCSDev is able to return, could anyone please consider providing me with the amended "PatreonDownloader.Implementation.pdb" file or entire amended net6.0-win-x64-release.zip?

angramainyuu commented 11 months ago

I also tried compiling it according to the instructions but only got errors, I'm a complete noob mind you. Would appreciate if someone could share it.

Mustached-Man commented 11 months ago

I also tried compiling it according to the instructions but only got errors, I'm a complete noob mind you. Would appreciate if someone could share it.

Sure thing.

debug-net6.0.zip

angramainyuu commented 11 months ago

I also tried compiling it according to the instructions but only got errors, I'm a complete noob mind you. Would appreciate if someone could share it.

Sure thing.

debug-net6.0.zip

Thank you!

Mustached-Man commented 11 months ago

I've spent a few hours trying to get this to work & keep failing in various different ways. Until AlexCSDev is able to return, could anyone please consider providing me with the amended "PatreonDownloader.Implementation.pdb" file or entire amended net6.0-win-x64-release.zip?

https://github.com/AlexCSDev/PatreonDownloader/files/12675516/debug-net6.0.zip

icedstick commented 11 months ago

Thank you, lifesaver!

JustFrederik commented 11 months ago

for everyone who wants to compile it from source while #Skyl3lazer fix isnt merged, just clone his fork like this git clone https://github.com/Skyl3lazer/PatreonDownloader -b patch-1 --recursive

aa7326aa11 commented 11 months ago

Thank you

jefflaunmg commented 11 months ago

anyone can share a fixed build for linux, thx a lot!

JustFrederik commented 11 months ago

@jefflaunmg just build it yourself dotnet build -c release

jdragoon commented 11 months ago

What am I supposed to do with the debug-net6.0 file?

JustFrederik commented 11 months ago

@jdragoon nothing, download @Skyl3lazer fix and follow the instructions in the readme

AlexCSDev commented 10 months ago

Current estimate for this issue to be addressed in the official build - some time next week.

AlexCSDev commented 9 months ago

Should be fixed in release 26/27, thanks to Skyl3lazer for the fix!