Skip to content

在某些版本的 Windows 上无法正常进入应用 #3813

Closed
@xjtu-blacksmith

Description

@xjtu-blacksmith

描述问题 Describe the problem

通过安装包安装思源笔记,安装完成之后打开应用,仅显示了预览页面的源代码,应用并没有进一步加载。此时的应用也无法通过其他方式关闭,只能直接杀掉进程退出。

期待的结果 Expected result

正常进入应用。

截屏或者录屏演示 Screenshot or screen recording presentation

图片

版本环境 Version environment

  • Version: v1.7.0 (v1.6.3 也做了尝试,结果相同)
  • Operating system: Windows 10 (20H2) x64
  • Browser (if used): 无

日志文件 Log File

I 2022/01/13 15:29:03 working.go:95: 
      ___                                   ___           ___           ___
     /  /\        ___           ___        /__/\         /  /\         /__/\
    /  /:/_      /  /\         /__/|       \  \:\       /  /::\        \  \:\
   /  /:/ /\    /  /:/        |  |:|        \  \:\     /  /:/\:\        \  \:\
  /  /:/ /::\  /__/::\        |  |:|    ___  \  \:\   /  /:/~/::\   _____\__\:\
 /__/:/ /:/\:\ \__\/\:\__   __|__|:|   /__/\  \__\:\ /__/:/ /:/\:\ /__/::::::::\
 \  \:\/:/~/:/    \  \:\/\ /__/::::\   \  \:\ /  /:/ \  \:\/:/__\/ \  \:\~~\~~\/
  \  \::/ /:/      \__\::/    ~\~~\:\   \  \:\  /:/   \  \::/       \  \:\  ~~~
   \__\/ /:/       /__/:/       \  \:\   \  \:\/:/     \  \:\        \  \:\
     /__/:/        \__\/         \__\/    \  \::/       \  \:\        \  \:\
     \__\/                                 \__\/         \__\/         \__\/
I 2022/01/13 15:29:04 runtime.go:49: kernel is booting:
    * ver [1.6.3]
    * arch [amd64]
    * runtime mode [prod]
    * working directory [C:\Program Files\SiYuan\resources]
    * read only [false]
    * container [std]
    * database [ver=20211218]
    * workspace directory [C:\Users\***\Documents\SiYuan, data 20 kB]
    * pandoc [.exe 2.13]
I 2022/01/13 15:29:04 conf.go:250: local serve path [http://192.168.1.3:6806]
I 2022/01/13 15:29:04 serve.go:68: kernel is booting [http://127.0.0.1:6806]
I 2022/01/13 15:29:04 conf.go:466: pre-init database size [4.1 kB]
I 2022/01/13 15:29:04 index.go:214: resolving refs...
I 2022/01/13 15:29:04 index.go:355: resolved refs
I 2022/01/13 15:29:04 conf.go:487: post-init database size [4.1 kB], tree stat [count=0, size=0 B]
I 2022/01/13 15:29:04 working.go:135: kernel booted

更多信息 More information

第一次下载使用本应用,不了解此前是否存在类似问题。猜测可能是本人系统设置方面的问题,不是应用本身的问题,望解答。

Activity

88250

88250 commented on Jan 13, 2022

@88250
Member

暂时不清楚问题原因。

xjtu-blacksmith

xjtu-blacksmith commented on Jan 14, 2022

@xjtu-blacksmith
Author

补充一项信息:打开应用后会正常显示任务栏图标,但图标右键菜单中的 Quit 命令亦不起作用,无法正常关闭应用。

刚刚下载了 1.7.1 版本的应用安装包,安装后仍无法正常进入应用,问题如故。

checkwoodson

checkwoodson commented on Jan 14, 2022

@checkwoodson

可能是host问题吧,你们修复下? 把网络修复一下看看。我之前排查是没连上。

xjtu-blacksmith

xjtu-blacksmith commented on Jan 15, 2022

@xjtu-blacksmith
Author

可能是host问题吧,你们修复下? 把网络修复一下看看。我之前排查是没连上。

已检查,host 没有问题。另,这似乎是一个本地笔记软件,网络会影响应用的启动吗?

checkwoodson

checkwoodson commented on Jan 15, 2022

@checkwoodson

会,我之前就是Host错误导致的,然后好像网关关闭的情况也是进不去的。或者说端口占用也会。

88250

88250 commented on Jan 18, 2022

@88250
Member

楼主,启动以后试下用浏览器访问 http://127.0.0.1:6806 看看能不能工作。

xjtu-blacksmith

xjtu-blacksmith commented on Jan 18, 2022

@xjtu-blacksmith
Author

楼主,启动以后试下用浏览器访问 http://127.0.0.1:6806 看看能不能工作。

输入后跳转至 http://127.0.0.1:6806/stage/build/desktop/?r=ro2dgx8,显示与之前白屏相同的内容。相关的内容好像被包在一个 pre 标签里了,不能解析。按浏览器的默认行为判断,大概是把这个页面当成一份代码来 serve 了?

页面源代码:

<html>
<head>...</head>
<body>
  <pre>&lt;!doctype html&gt;&lt;html&gt;&lt;head&gt;&lt;meta charset="UTF-8"&gt;&lt;meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,viewport-fit=cover"&gt;&lt;style id="editorFontSize"&gt;&lt;/style&gt;&lt;script defer="defer" src="main.558c16a0cf25899180d6.js"&gt;&lt;/script&gt;&lt;link href="base.9deb03b1b8f18b63bf3c.css" rel="stylesheet"&gt;&lt;/head&gt;&lt;body class="fn__flex-column"&gt;&lt;div id="loading" class="b3-dialog b3-dialog--open"&gt;&lt;div class="b3-dialog__scrim" style="background-color:#212224"&gt;&lt;/div&gt;&lt;img style="position:absolute;width:30vh" src="../../loading.svg"&gt;&lt;/div&gt;&lt;div id="toolbar" class="toolbar fn__flex"&gt;&lt;/div&gt;&lt;div id="dockTop" class="dock"&gt;&lt;/div&gt;&lt;div class="fn__flex-1 fn__flex"&gt;&lt;div id="dockLeft" class="dock dock--vertical"&gt;&lt;/div&gt;&lt;div id="layouts" class="layout fn__flex-1"&gt;&lt;/div&gt;&lt;div id="dockRight" class="dock dock--vertical"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="dockBottom" class="dock"&gt;&lt;/div&gt;&lt;div id="commonMenu" class="b3-menu fn__none"&gt;&lt;/div&gt;&lt;div id="dragBg" style="z-index:199;pointer-events:none" class="b3-dialog__scrim fn__none"&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;</pre>
</body>
88250

88250 commented on Jan 19, 2022

@88250
Member

@xjtu-blacksmith 浏览器 F12 Network 看一下这个地方:

image

xjtu-blacksmith

xjtu-blacksmith commented on Jan 19, 2022

@xjtu-blacksmith
Author

@xjtu-blacksmith 浏览器 F12 Network 看一下这个地方:

image

图片

changed the title [-]无法正常进入应用[/-] [+]在某些版本的 Windows 上无法正常进入应用[/+] on Jan 19, 2022
self-assigned this
on Jan 19, 2022
added this to the 1.7.5 milestone on Jan 19, 2022
88250

88250 commented on Jan 19, 2022

@88250
Member

大概已经定位到问题,请等下个版本发布后帮忙测试是否修复,谢谢。

xjtu-blacksmith

xjtu-blacksmith commented on Jan 19, 2022

@xjtu-blacksmith
Author

大概已经定位到问题,请等下个版本发布后帮忙测试是否修复,谢谢。

好的,非常感谢!

xjtu-blacksmith

xjtu-blacksmith commented on Jan 21, 2022

@xjtu-blacksmith
Author

大概已经定位到问题,请等下个版本发布后帮忙测试是否修复,谢谢。

反馈:新版本已经可以正常使用,十分感谢,辛苦了!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@checkwoodson@xjtu-blacksmith

      Issue actions

        在某些版本的 Windows 上无法正常进入应用 · Issue #3813 · siyuan-note/siyuan