在 Linux 上从 Insomnia 导出无法正常工作
当我尝试按照手册导出数据(我想导出所有请求并将它们导入到另一台电脑上)时(https://docs.insomnia.rest/insomnia/import-export-data),我一直未能实现这一目标。我想它应该将导出存储在我的硬盘驱动器上(Linux,所以在我的主目录中),但是当我运行导出时,我只看到一个空文件夹: 清空主文件夹。
当我尝试再次存储导出的数据时,我已经可以看到之前存储的导出。但是,当我尝试使用 find 命令在硬盘驱动器上查找该文件时,它显示为空。看起来 Insomnia 正在将导出存储在某种我实际上无法访问的虚拟驱动器上。我在网上找不到任何有关此问题的信息,与 Insomnia 导出相关的几篇文章隐含地表明导出会自动存储在真实硬盘驱动器上。不幸的是,这不是我的情况。另外,当我在目标电脑上打开导入对话框时,它还会打开一个空的主文件夹,因此问题不仅仅限于一台电脑。
请问,如何让导出在我的普通硬盘上运行?预先非常感谢!
when I attempt to export data (I want to export all my requests and import them on a different PC) as per the manual (https://docs.insomnia.rest/insomnia/import-export-data), I keep failing to achieve that. I suppose it should store the export on my hard drive (Linux, so in my Home directory), but when I run the export, I only see an empty folder: Empty Home folder.
When I try to store the exported data again, I already can see the previous stored export. However, when I attempt to locate the file on my hard drive using find command, it comes up empty. It appears as if Insomnia is storing the export on some kind of a virtual drive that I can't actually access. I couldn't find anything about this issue online, the few articles related to Insomnia export implicitly suggest that the export gets automatically stored on the real hard drive. Unfortunately, that is not my case. Also, when I open the import dialog on the target PC, it also opens an empty Home folder, so the problem is not restricted just to one PC.
Please, how do I get the export to work with my normal hard drive? Thanks a lot in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
https://github.com/flathub/rest.insomnia.Insomnia/issues/ 4
“看来 flatpak exec 命令应该包含附加参数 --filesystem=home。
临时解决方法是编辑以下位置的文件: /var/lib/flatpak/[...]/rest.insomnia.Insomnia.desktop 并将参数添加到 Exec 部分。”
注意我在入口文件中添加了 --filesystem=home 参数。”
然后重新启动 PC
https://github.com/flathub/rest.insomnia.Insomnia/issues/4
"It seems like the flatpak exec command should include the additional argument --filesystem=home.
A temporary workaround is to edit the file at /var/lib/flatpak/[...]/rest.insomnia.Insomnia.desktop and add the argument to the Exec section."
Note I added the --filesystem=home argument to the entry file."
Then restart the PC