哥哥姐姐们大家好!这几天一直被这个问题困扰,所以进行不了下一步
图片1中利用read/write节点把上一届点的图片保存到本地,用的/home/node/.n8n-files/image/{{$itemIndex + 1}}.png这个命令(这是Docker映射的地址,没问题)
保存下来的图片第二张图的第二个,本地能打开,但是用read/write读取就找不到,图一输出右侧手动点击下载就的反而能读到
于是我对比理一下他们的图片类型,图三(手动下载


)是正常图片的类型(.png),图四(自动保存)不正常的图片(.png )后面有空格。
最关键按的问题是!我用这个命令,保存音频和视频都能用read/write节点读取,唯独这个图片就是读不出来!请求有经验的哥哥姐姐叔叔阿姨帮忙解决一下!是非的感谢
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system:
Hey @24920985 !
Maybe your expression has blank spaces , and I observe the behavior that it outputs 2 paths and filenames ..
Be sure there are no spaces after .png
Cheers!
Now I have seem that the “Expression” is resolving to2double names
Another problem is writing files as batch?…hmmm
I will try myself when I get to PC…
Cheers!
P.S try translate and use English in this forum, so others can “easily” get into and help. 
Share your workflow! In English!
Good! But there is no place to upload Json, only images can be uploaded
I’m just getting started with this N8N community! Some things are not well understood
1 Like
After trying for a long time, I finally got it
Pinn some data, and share .
Is an empty node with an expression that has blank spaces as i said.
I think you need the first to learn the basics of n8n or at last expmain what you want, or share image with WORKFLOW or the WORKFLOW and not a node.
P.S i am using at moment my phone, and don t have a pc so i can use n8n and try load images from somehwere or try simultate.
Regardless of the outcome, I still want to thank you for your sincerity! Indeed, I should start from the basics, I have only been exposed to N8N for a few days, and I have not been able to learn it in detail, and now I want to study N8N well, thank my friends again
1 Like