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

上传报错 #41

Closed
inkss opened this issue Apr 21, 2022 · 7 comments
Closed

上传报错 #41

inkss opened this issue Apr 21, 2022 · 7 comments

Comments

@inkss
Copy link

inkss commented Apr 21, 2022

错误日志:

2022-04-22 00:38:06.977034861 +0800 CST m=+0.000697220[INFO ] Started
2022-04-22 00:38:06.977117796 +0800 CST m=+0.000780054[ERROR] abort: $HOME is not defined
goroutine 1 [running]:
runtime/debug.Stack()
	/Users/runner/hostedtoolcache/go/1.18.0-beta1/x64/src/runtime/debug/stack.go:24 +0x65
github.com/pluveto/upgit/lib/xlog.Verbose.Log({0x38?, 0x61?, {0xc0000160f0?, 0xc000091c80?}, 0x40ce47?}, {0x71bc87, 0x8}, {0xc000091ca0?, 0xc000091cc8?}, {0x0, ...})
	/Users/runner/work/upgit/upgit/lib/xlog/verbose.go:55 +0x12a
github.com/pluveto/upgit/lib/xlog.Verbose.Error(...)
	/Users/runner/work/upgit/upgit/lib/xlog/verbose.go:44
github.com/pluveto/upgit/lib/xlog.AbortErr({0x7a6000?, 0xc000020f80?})
	/Users/runner/work/upgit/upgit/lib/xlog/verbose.go:93 +0xf9
main.loadConfig(0x957160)
	/Users/runner/work/upgit/upgit/main.go:191 +0x8f
main.mainCommand()
	/Users/runner/work/upgit/upgit/main.go:49 +0x35
main.main()
	/Users/runner/work/upgit/upgit/main.go:40 +0x7b
@inkss inkss closed this as completed Apr 21, 2022
pluveto added a commit that referenced this issue Apr 21, 2022
@pluveto
Copy link
Owner

pluveto commented Apr 21, 2022

Fixed. See next prerelease

@inkss
Copy link
Author

inkss commented Apr 21, 2022

能发一个beta版本吗

@pluveto
Copy link
Owner

pluveto commented Apr 21, 2022

https://github.com/pluveto/upgit/releases/tag/v0.2.16

@inkss
Copy link
Author

inkss commented Apr 21, 2022

@pluveto

2022-04-22 01:16:29.048806412 +0800 CST m=+0.000678423[INFO ] Started
2022-04-22 01:16:29.048987304 +0800 CST m=+0.000859219[INFO ] uploader: lskypro2
2022-04-22 01:16:29.049032612 +0800 CST m=+0.000904541[ERROR] abort: unknown uploader: lskypro2
goroutine 1 [running]:
runtime/debug.Stack()
	/Users/runner/hostedtoolcache/go/1.18.0-beta1/x64/src/runtime/debug/stack.go:24 +0x65
github.com/pluveto/upgit/lib/xlog.Verbose.Log({0x20?, 0xe2?, {0xc0000160f0?, 0xc00001e232?}, 0x7fe9921a54d0?}, {0x71bc87, 0x8}, {0xc00001a600?, 0x957b20?}, {0x0, ...})
	/Users/runner/work/upgit/upgit/lib/xlog/verbose.go:55 +0x12a
github.com/pluveto/upgit/lib/xlog.Verbose.Error(...)
	/Users/runner/work/upgit/upgit/lib/xlog/verbose.go:44
github.com/pluveto/upgit/lib/xlog.AbortErr({0x7a6000?, 0xc0000210a0?})
	/Users/runner/work/upgit/upgit/lib/xlog/verbose.go:93 +0xf9
main.dispatchUploader()
	/Users/runner/work/upgit/upgit/main.go:358 +0xb34
main.mainCommand()
	/Users/runner/work/upgit/upgit/main.go:60 +0x8f
main.main()
	/Users/runner/work/upgit/upgit/main.go:40 +0x7b

config:

default_uploader = "lskypro2"

rename = "{year}/{month}/upgit_{year}{month}{day}_{unix_ts}{ext}"

[output_formats]
"bbcode" = "[img]{url}[/img]"
"html" = '<img src="{url}" />'
"markdown-simple" = "![]({url})"

[uploaders.lskypro2]
host = "https://test.7bu.top"
token = "3***Di9xIL"

@inkss
Copy link
Author

inkss commented Apr 21, 2022

我使用错了吗?

@pluveto
Copy link
Owner

pluveto commented Apr 21, 2022

你安装这个插件了吗

@inkss
Copy link
Author

inkss commented Apr 21, 2022

你安装这个插件了吗

确实是我的问题

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