Coder Social home page Coder Social logo

Comments (4)

Foxite avatar Foxite commented on September 21, 2024 1

One question. Did this error happen right away, or does it successfully download some posts?

from patreondownloader.

Foxite avatar Foxite commented on September 21, 2024

This is pretty mysterious.

The error is traced back to line 166 of Program.cs, which has this in it:

DirectoryInfo directory = null;

There should be absolutely no way for that line to throw an exception, but I've seen weirder stack traces. I suspect the line numbers are muddled up by the fact that the compiler optimized away some of the code, unless I compile the program in debug mode. Fortunately, function names are always correct, aside from the ones that get removed entirely.

What this means is that the exception could have been literally anywhere in the DownloadMedia function, at or below line 166. I'll give the code a good read once more, and see if there's any obvious problems.

[Slightly unrelated, but I did find one glaring logic error already, which I fixed. It couldn't have caused an error of this type, though.]

from patreondownloader.

LuizSandora avatar LuizSandora commented on September 21, 2024

I do everything correctly, it generates posts.json, and when I open the downloader again, it generates the error immediately after I ask to run the .json. He doesn't download any posts.

from patreondownloader.

Foxite avatar Foxite commented on September 21, 2024

Hi, sorry for the delay.

Please try it again with this build:
PatreonDownloader.zip

It contains debug information which should provide accurate, full stack traces. The error message will be much more useful with this build.

Future releases will contain this debugging information.

from patreondownloader.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.