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

Windows版本鼠标滑动经过https等链接提示:出现异常: {"isTrusted":true} #1724

Closed
SiDaiJie opened this issue Apr 1, 2024 · 10 comments

Comments

@SiDaiJie
Copy link

SiDaiJie commented Apr 1, 2024

image

@suziwen
Copy link
Owner

suziwen commented Apr 1, 2024

像是数据库所在的盘空间不够了,或者是数据库坏了。

可以到 小书匠主按钮>关于 界面里,打开数据文件所在路径的文件夹,临时把该文件夹移走,再重启小书匠看看。

移走前建议把整个文件夹先备份下,也可以到 小书匠主按钮>数据>基本 里,备份数据库。

image

@SiDaiJie
Copy link
Author

SiDaiJie commented Apr 3, 2024

我发现触发原因可能是别的原因

我尝试了你的建议来临时把该Default文件夹移走,但是问题依然存在

  • 在这里点击链接是不会触发错误的

image

  • 在操作红色框的链接的时候会提示异常,在操作绿色那个框之后没出现异常

image

  • 这个的报错我没能在stroy_exceptions.log中看到日志,我打开这个日志文件里面有且只有这么一行Error

2024-04-02T08:18:43.985Z - error: uncaughtException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'chrome-extension://jalbgaejjmdihbhmdepjgcdikbeclnbe/app/js/pouchdb/worker/pouchdb.indexeddb.js' failed to load. date=Tue Apr 02 2024 16:18:43 GMT+0800 (中国标准时间), pid=45240, uid=null, gid=null, cwd=D:\ProgramFiles\StoryEditor, execPath=D:\ProgramFiles\StoryEditor\Story-writer.exe, version=v18.7.0, argv=[D:\ProgramFiles\StoryEditor\Story-writer.exe], rss=192540672, heapTotal=19927040, heapUsed=18102748, external=441547, arrayBuffers=0, loadavg=[0, 0, 0], uptime=1315723, trace=[column=11839, file=chrome-extension://jalbgaejjmdihbhmdepjgcdikbeclnbe/app/js/client_worker.js, function=g, line=1, method=null, native=false, column=14285, file=chrome-extension://jalbgaejjmdihbhmdepjgcdikbeclnbe/app/js/client_worker.js, function=I, line=1, method=null, native=false, column=16169, file=chrome-extension://jalbgaejjmdihbhmdepjgcdikbeclnbe/app/js/client_worker.js, function=null, line=1, method=null, native=false], stack=[Error: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'chrome-extension://jalbgaejjmdihbhmdepjgcdikbeclnbe/app/js/pouchdb/worker/pouchdb.indexeddb.js' failed to load., at g (chrome-extension://jalbgaejjmdihbhmdepjgcdikbeclnbe/app/js/client_worker.js:1:11839), at I (chrome-extension://jalbgaejjmdihbhmdepjgcdikbeclnbe/app/js/client_worker.js:1:14285), at chrome-extension://jalbgaejjmdihbhmdepjgcdikbeclnbe/app/js/client_worker.js:1:16169]

  • 在stroy.log中的报错是:也是只有这一行日志

2024-04-02T07:42:56.387Z - error: 加载插件出现错误: 1009

  • 重置数据库后问题依然存在

@suziwen
Copy link
Owner

suziwen commented Apr 3, 2024

那比较奇怪了,是不是这篇文章内容有什么特殊的符号或者文字引起的?

你试下用 chrome 浏览器的隐身模式访问小书匠网页版 https://markdown.xiaoshujiang.com , 新建一篇文章,再把相应的内容粘贴过去,看下是否也会有问题?

@SiDaiJie
Copy link
Author

SiDaiJie commented Apr 7, 2024

访问小书匠网页版,把相应的内容粘贴过去没有问题;卸载软件重新安装后问题依然存在。格式上不存在特殊的符号或者文字。会不会是码云上的文件的原因?只在码云上的文件中出现了这种情况。同样的文本复制到本地的一个md中不会出现这样的问题

@suziwen
Copy link
Owner

suziwen commented Apr 7, 2024

那你试下用下面的命令启动小书匠,把数据目录切换到非系统盘上(比如 D 盘的 tempdata 文件夹下),看看还会出现这种情况吗?

image

--user-data-dir=d:\tempdata
2021/11/30  00:51           164,747 v8_context_snapshot.bin
2021/11/30  00:51         3,881,472 vk_swiftshader.dll
2021/11/30  00:51               106 vk_swiftshader_icd.json
2021/11/30  00:51           685,056 vulkan-1.dll
              24 个文件    244,600,653 字节
               7 个目录 23,563,378,688 可用字节

C:\Program Files\Story>Story-writer.exe --user-data-dir=d:\tempdata

C:\Program Files\Story>

@SiDaiJie
Copy link
Author

SiDaiJie commented Apr 7, 2024

  • 问题还是存在,左右两边鼠标过去都会弹出异常的框

image

不是文件名的原因,文件名改成readme.md后依然还是存在这个问题

@suziwen
Copy link
Owner

suziwen commented Apr 7, 2024

那能把这个 markdown 文件发到我邮箱吗? suziwen1@gmail.com

@SiDaiJie
Copy link
Author

SiDaiJie commented Apr 8, 2024

好的,已发送到邮箱

@suziwen
Copy link
Owner

suziwen commented Apr 8, 2024

测试你发的 md 文件,我这边客户端打开没问题.....

能把数据目录压缩成 zip 发过来看下吗?也就是 d:\tempdata 这个目录。

@suziwen
Copy link
Owner

suziwen commented Apr 8, 2024

更新到 8.13.2 版本,应该就可以了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants