GithubHelp home page GithubHelp logo

windows版本无法运行 about alist HOT 5 CLOSED

alist-org avatar alist-org commented on May 20, 2024
windows版本无法运行

from alist.

Comments (5)

xhofe avatar xhofe commented on May 20, 2024

你好,在windows运行环境中,打开程序显示“检查更新”后立即闪退

可以描述具体一点吗,比如日志输出到哪里闪退,可以使用命令行运行查看具体的错误。可能是配置文件读取出错。

from alist.

misaka123456 avatar misaka123456 commented on May 20, 2024
[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.

xhofe avatar xhofe commented on May 20, 2024
[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.

Ghd-0802 avatar Ghd-0802 commented on May 20, 2024

WIN10 无法运行 显示检查更新 没有看到其他提示就闪退了,https://api.github.com/repos/Xhofe/alist/releases/latest 可以正常访问

from alist.

xhofe avatar xhofe commented on May 20, 2024

现在可以在命令行中添加-skip-update跳过检查更新

from alist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.