Comments (5)
你好,在windows运行环境中,打开程序显示“检查更新”后立即闪退
可以描述具体一点吗,比如日志输出到哪里闪退,可以使用命令行运行查看具体的错误。可能是配置文件读取出错。
from alist.
[root@iZ2zee5n9tn8kvoy8l9mscZ alist]# ./alist
INFO[2021-02-27 11:57:01]
________ ___ ___ ________ _________
|\ __ \|\ \ |\ \|\ ____\|\___ ___\
\ \ \|\ \ \ \ \ \ \ \ \___|\|___ \ \_|
\ \ __ \ \ \ \ \ \ \_____ \ \ \ \
\ \ \ \ \ \ \____\ \ \|____|\ \ \ \ \
\ \__\ \__\ \_______\ \__\____\_\ \ \ \__\
\|__|\|__|\|_______|\|__|\_________\ \|__|
\|_________|
INFO[2021-02-27 11:57:01] 检查更新...
panic: runtime error: slice bounds out of range [1:0]
goroutine 1 [running]:
github.com/Xhofe/alist/bootstrap.CheckUpdate()
/home/runner/work/alist/alist/bootstrap/update.go:37 +0x479
github.com/Xhofe/alist/bootstrap.start()
/home/runner/work/alist/alist/bootstrap/cmd.go:48 +0x76
github.com/Xhofe/alist/bootstrap.Run()
/home/runner/work/alist/alist/bootstrap/cmd.go:29 +0xd3
main.main()
/home/runner/work/alist/alist/alist.go:6 +0x17
from alist.
[root@iZ2zee5n9tn8kvoy8l9mscZ alist]# ./alist INFO[2021-02-27 11:57:01] ________ ___ ___ ________ _________ |\ __ \|\ \ |\ \|\ ____\|\___ ___\ \ \ \|\ \ \ \ \ \ \ \ \___|\|___ \ \_| \ \ __ \ \ \ \ \ \ \_____ \ \ \ \ \ \ \ \ \ \ \____\ \ \|____|\ \ \ \ \ \ \__\ \__\ \_______\ \__\____\_\ \ \ \__\ \|__|\|__|\|_______|\|__|\_________\ \|__| \|_________| INFO[2021-02-27 11:57:01] 检查更新... panic: runtime error: slice bounds out of range [1:0] goroutine 1 [running]: github.com/Xhofe/alist/bootstrap.CheckUpdate() /home/runner/work/alist/alist/bootstrap/update.go:37 +0x479 github.com/Xhofe/alist/bootstrap.start() /home/runner/work/alist/alist/bootstrap/cmd.go:48 +0x76 github.com/Xhofe/alist/bootstrap.Run() /home/runner/work/alist/alist/bootstrap/cmd.go:29 +0xd3 main.main() /home/runner/work/alist/alist/alist.go:6 +0x17
可能是无法访问https://api.github.com/repos/Xhofe/alist/releases/latest 的原因。
from alist.
WIN10 无法运行 显示检查更新 没有看到其他提示就闪退了,https://api.github.com/repos/Xhofe/alist/releases/latest 可以正常访问
from alist.
现在可以在命令行中添加-skip-update跳过检查更新
from alist.
Related Issues (20)
- office文件 预览,不知道什么原因,有的可以,有的提示“很抱歉,无法打开此文档,因为与服务通信时出现问题。” HOT 5
- 0 HOT 3
- webdav文件移动重命名失败 HOT 9
- closed HOT 3
- 工具栏显示选中文件的数量 HOT 2
- 移动端,office无法预览:'document' from 'Window': Blocked HOT 2
- copy api使用疑问 HOT 1
- 5244管理页面进不去,已经启动,怎么回事,昨天进去过设置好了,今天就进不去了 HOT 2
- 哪位大神能不能添加ipfs共享CID的功能?现在IPFS需要电脑或服务器的IPFS服务不能停? HOT 2
- 本地文件,设置URL之后,前端点击下载是不带端口的地址 HOT 1
- 下载后文件名带sgin HOT 2
- 百度云文件上传后缓存里的Ctime/Mtime错误
- webdav 使用的 ctime 不应该默认为 now
- 求助:离线下载一直卡着然后占用了92%的空间 删除temp文件夹依然没有恢复 HOT 1
- 将文件的排序工作全部交给后端来做 HOT 1
- 才发现alist,很不错!第一次用,有点建议。 HOT 3
- 桌面版如何解决:获取设置失败: 请稍候,正在加载储存 这个问题? HOT 4
- 最新版本alist重启时有很大概率无法启动,提示s3服务端口冲突 HOT 8
- 上传文件失败 HOT 2
- 环境:群晖docker HOT 1
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 alist.