Comments (10)
Steps 1-5 above are canceled. You can download this zip and unzip it to get the tgz file, then use yarn add -D ./joplin-blog-0.7.0.tgz
to install and regenerate to test it?
Modified a bit, now it will print the file name and extension to be copied
from joplin-utils.
Check if the file /Users/huy/.config/joplin-desktop/resources/7de408d4ec98e0fa8314c6b092156956.jpg exists
from joplin-utils.
/Users/huy/.config/joplin-desktop/resources/7de408d4ec98e0fa8314c6b092156956.jpg
I did. I already listed the output of ls
above in my bug description. The file exists and I'm able to open it and see the image with macOS Preview app.
from joplin-utils.
/Users/huy/.config/joplin-desktop/resources/7de408d4ec98e0fa8314c6b092156956.jpg
I did. I already listed the output of
ls
above in my bug description. The file exists and I'm able to open it and see the image with macOS Preview app.
Sorry, I was too careless, can you try to run it locally?
- git clone https://github.com/rxliuli/joplin-utils.git
- cd joplin-utils/
- yarn && yarn setup
- cd apps/joplin-blog/
- edit
- yarn build
- cd
- yarn add -D /apps/joplin-blog
- yarn joplin-blog blog
Editing Application.ts refers to printing fileName
and resource.file_extension
. I observed that the file name reported by the error seems to lack an extension, and the extension is obtained through joplin api. Maybe, this may be joplin itself An error
from joplin-utils.
If it is wrong, please try to use the most primitive api to obtain it (replace id and token by yourself), observe the file_extension
field in the result, if there is no value, please report to joplin official.
curl 'http://localhost:41184/resources/<id>?fields=id,title,file_extension&token=<token>'
In addition, you can also try one of the simplest solutions, delete the image from this note, and then copy the picture from it and paste it again. Have a good time.
from joplin-utils.
Yeah, the file_extension
field is missing from the DB. These are the attachments that succeeded plus the one that failed:
But I have a lot of attachments that have an empty filename_extension
from joplin-utils.
But I have a lot of attachments that have an empty
filename_extension
Then you may need to report a bug to the official, which is obviously a mistake
from joplin-utils.
Unfortunately, Laurent is pointing me back to the joplin-utils repo: laurent22/joplin#5528 (comment)
So I'm stuck with no permanent solution. I guess I will have to hack my database to make it look ok.
from joplin-utils.
I have implemented a function to automatically repair file extensions based on mime
in batches, you can try it
https://joplin-utils.rxliuli.com/web/joplin-batch-web/#/en-US/fixFileExtension
from joplin-utils.
@rxliuli Thanks for your efforts. I've actually decided to switch to Obsidian for now.
from joplin-utils.
Related Issues (20)
- [Bug]: Links to headers not working HOT 2
- [Bug]: Plugin cannot reconnect if Joplin wasn't running at first attempt HOT 1
- [Feat]: HOT 2
- Create a new feature to scan and update the internal Joplin note's title link. HOT 6
- [Bug]: command "Upload Image from Clipboard" does nothing in VSCode on Linux Mint 21.2 HOT 3
- [Feat]: Support direct webdav access HOT 6
- [Bug]: Blob is not defined when upload image HOT 1
- [Feat]: 目前搜索能力跟 Joplin 完全一样,能不能增强呢? HOT 35
- [Bug]: markdown文档无法用 Markdown-Preview-Enhanced 插件打开预览 HOT 2
- [Feat]: Support Joplin's custom notes ordering HOT 1
- [Feat]: Add Outline view to Joplin's sidebar HOT 4
- [Feat]: Support "Follow link (Ctrl+Click)" to notes HOT 1
- [Feat]: 能否在侧边栏添加一些菜单项? HOT 1
- [Bug]: Edits to notes are lost, if "too many open files" in Linux HOT 2
- [Bug]: 安裝code spell checker插件後自動換行的字數超出頁面 HOT 2
- [Feat]: Create note from selection HOT 4
- [Feat]: Add Brave search engine for both Brave and Chrome browsers HOT 1
- [Feat]: Add a setting to expand search to note bodies HOT 1
- [Bug]: Search integration with Brave using search.brave.com no longer working HOT 1
- [Bug]: Windows Search Indexer keeps running when there is no edit action HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from joplin-utils.