GithubHelp home page GithubHelp logo

Comments (9)

bdfinst avatar bdfinst commented on May 31, 2024 1

Hi @bdfinst. Thank you for the PR. I downloaded the last version from npm (https://www.npmjs.com/package/medium-2-md) but I get the same issue.
Error converting file: 2018-09-25_Lucky-7-new-tools-and-plugins-for-Android-developers---designers-1545e5c59f27.html. Skipping.

I also noticed, that all gifs / pngs are in temp folders, like md_1606903525016, so I believe this is somehow good behaviour.

The issue I fixed was related to metadata being in the wrong array position and causing an undefined property. This may help you track it down.
https://github.com/gautamdhameja/medium-2-md/pull/19/files

from medium-2-md.

bdfinst avatar bdfinst commented on May 31, 2024

I saw similar behavior and submitted a PR that may address it for you.

from medium-2-md.

mmBs avatar mmBs commented on May 31, 2024

Hi @bdfinst. Thank you for the PR. I downloaded the last version from npm (https://www.npmjs.com/package/medium-2-md) but I get the same issue.
Error converting file: 2018-09-25_Lucky-7-new-tools-and-plugins-for-Android-developers---designers-1545e5c59f27.html. Skipping.

I also noticed, that all gifs / pngs are in temp folders, like md_1606903525016, so I believe this is somehow good behaviour.

from medium-2-md.

epelaaez avatar epelaaez commented on May 31, 2024

I'm getting the same error where images are not being generated. Something interesting is that it works for one out of four posts I want to convert, all of which are published under a publication. I'm using the latest download, is there a solution yet for this problem? If so, what do I need to do?

from medium-2-md.

gautamdhameja avatar gautamdhameja commented on May 31, 2024

@epelaaez Can you point to which Medium post you are getting an error with? I'll test it out. Better, if you could just share the downloaded HTML file (Pastebin). I am unable to reproduce the error at my end with the data I have.

from medium-2-md.

epelaaez avatar epelaaez commented on May 31, 2024

Sure, I'll attach the three posts I'm having problems with here. The one that converts successfully is the Vectors and Scalars one, the other three show errors.

posts.zip

Thanks for your help.

from medium-2-md.

gautamdhameja avatar gautamdhameja commented on May 31, 2024

@epelaaez I was able to convert all the files that you shared just by using the latest version of the lib. Attaching below. Not sure what is causing the issue at your side. A couple of these files took a bit longer though.

md_1618943195474.zip

from medium-2-md.

epelaaez avatar epelaaez commented on May 31, 2024

Thanks, I will look into it.

from medium-2-md.

gautamdhameja avatar gautamdhameja commented on May 31, 2024

Closing as no repro.

from medium-2-md.

Related Issues (15)

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.