Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during ENEX file import with Zip file attached to a Note #4310

Closed
alxnbl opened this issue Jan 6, 2021 · 0 comments
Closed

Error during ENEX file import with Zip file attached to a Note #4310

alxnbl opened this issue Jan 6, 2021 · 0 comments
Labels
bug It's a bug high High priority issues import Related to importing files such as ENEX, JEX, etc.

Comments

@alxnbl
Copy link

alxnbl commented Jan 6, 2021

Environment

Joplin version: 1.5.14 (prod, win32)
Platform: Windows
OS specifics: W10

Steps to reproduce

  1. Create a note in EverNote and drag and drop a Zip file in it, then export NoteBook as ENEX file. Or use directly the ENEX file attached to this issue : TestNotebook.zip

image

  1. Import the ENEX file from Joplin > File > Import > ENEX as Markdown

  2. An error occur during the import :
    image

Remarks :

  • the rest of the notes seams to be correctly imported
  • bug also reproduced with RAR and PSD files.
  • after a quick look in the error console, this error seams a good candidate :
MenuBar.js:129 Error: Invalid mime type "application/x-compressed" for resource "test.zip". Using "application/zip" instead.
    at C:\Users\Alexandre\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\@joplin\lib\import-enex.js:531
    at SAXStream.<anonymous> (C:\Users\Alexandre\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\@joplin\lib\import-enex.js:275)

Describe what you expected to happen

No error. File correctly imported, or ignored with a warning in the import result.

Logfile

-1609935007684.log

@alxnbl alxnbl added the bug It's a bug label Jan 6, 2021
@laurent22 laurent22 added high High priority issues import Related to importing files such as ENEX, JEX, etc. labels Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug high High priority issues import Related to importing files such as ENEX, JEX, etc.
Projects
None yet
Development

No branches or pull requests

2 participants