Giter Site home page Giter Site logo

Comments (6)

emlowe avatar emlowe commented on June 9, 2024 2

Screenshot 2024-03-15 at 9 44 14 AM

Normally one would expect to find 35fab64c7dba45e1a477262e36a2f1c4.pdf in the /Users/elowe/.config/joplin-desktop/resources/ directory

However, it's missing and not there.

from joplin.

khuongduy354 avatar khuongduy354 commented on June 9, 2024

Hi, can you elaborate the reproduce steps? Is it import ENEX as markdown? In my case, after import, it chose the name already so I cant change it to make pdf appear ?

from joplin.

emlowe avatar emlowe commented on June 9, 2024

Import as markdown

The PDF file itself is missing from the import on-disk - the Note references some UUID file name that doesn't exist.
You cannot make the PDF appear since it wasn't imported correctly

If you edit the ENEX XML file directly however, and change the title, then it will import correctly

from joplin.

emlowe avatar emlowe commented on June 9, 2024

I'll note that the expected MD5 of the file listed in the markdown 35fab64c7dba45e1a477262e36a2f1c4 is NOT the MD5 of the actual attachment.

In fact, when I calculate the expected MD5 of the filename from the ENEX file it is cd892fa62f1bc4115cb2eceda654143c and that file IS in fact in the correct place

So, the file is there.

from joplin.

khuongduy354 avatar khuongduy354 commented on June 9, 2024

The bug is in restore-note-link, it use link title to change Evernote's note-link to Joplin's note-link. The problem is the link title in your example is a resource-link (not note-link), and it has same name as note-link. so it mistakes and fix the link. The resource creation stills work fine.

image

Proof: comment out restoreNoteLinks function, and run, it works.
My solution: To distinguish a note-link and resource link, title alone is not enough, we need the resources' ids of the imported ENEX, I'll make a PR in the morning.

from joplin.

khuongduy354 avatar khuongduy354 commented on June 9, 2024

#10149, how can I address this PR, without typing it in a comment like this ? Still don't know how to do it 😆 .
image

from joplin.

Related Issues (20)

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.