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

v2.0.8 运行报错,提示文件不存在 #123

Open
LB-DotFish opened this issue Jan 28, 2023 · 0 comments
Open

v2.0.8 运行报错,提示文件不存在 #123

LB-DotFish opened this issue Jan 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@LB-DotFish
Copy link

之前使用过1.0版本,一运行就内存溢出,无法使用。
今天尝试了下2.0版本,比之前稳定点了,但是还是不行,运行过程中提示文件不存在,然后程序就崩溃,无法继续下去。
Pokemon.2002.S02E001.WEB-DL.720p.H264.AAC-OurTV?.mp4 不存在,hlink在该文件名中加了一个?号,文件夹中查看应该是Pokemon.2002.S02E001.WEB-DL.720p.H264.AAC-OurTV.mp4。

并且异常文件无法跳过,重新执行hlink,还是会崩溃。

以上问题用hlink最老的版本,就是通过mjs文件,使用命令行的方式,不会报告异常。

以下是错误信息:
[23/01/28 00:14:17] ERROR Error: Command failed with exit code 1: ln /pt/_downloads/Pokemon.Complete.WEB-DL.720p.H264.AAC-OurTV/Pokemon.2002.S02.Complete.WEB-DL.720p.H264.AAC-OurTV�/Pokemon.2002.S02E001.WEB-DL.720p.H264.AAC-OurTV?.mp4 /pt/_hlink/Pokemon.Complete.WEB-DL.720p.H264.AAC-OurTV/Pokemon.2002.S02.Complete.WEB-DL.720p.H264.AAC-OurTV�
ln: /pt/_downloads/Pokemon.Complete.WEB-DL.720p.H264.AAC-OurTV/Pokemon.2002.S02.Complete.WEB-DL.720p.H264.AAC-OurTV�/Pokemon.2002.S02E001.WEB-DL.720p.H264.AAC-OurTV?.mp4: No such file or directory
file:///usr/local/lib/node_modules/hlink/node_modules/execa/lib/error.js:59
error = new Error(message);
^

Error: Command failed with exit code 1: ln /pt/_downloads/Pokemon.Complete.WEB-DL.720p.H264.AAC-OurTV/Pokemon.2002.S02.Complete.WEB-DL.720p.H264.AAC-OurTV�/Pokemon.2002.S02E001.WEB-DL.720p.H264.AAC-OurTV?.mp4 /pt/_hlink/Pokemon.Complete.WEB-DL.720p.H264.AAC-OurTV/Pokemon.2002.S02.Complete.WEB-DL.720p.H264.AAC-OurTV�
ln: /pt/_downloads/Pokemon.Complete.WEB-DL.720p.H264.AAC-OurTV/Pokemon.2002.S02.Complete.WEB-DL.720p.H264.AAC-OurTV�/Pokemon.2002.S02E001.WEB-DL.720p.H264.AAC-OurTV?.mp4: No such file or directory
at makeError (file:///usr/local/lib/node_modules/hlink/node_modules/execa/lib/error.js:59:11)
at handlePromise (file:///usr/local/lib/node_modules/hlink/node_modules/execa/index.js:119:26)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async link (file:///usr/local/lib/node_modules/hlink/node_modules/@hlink/core/lib/main/link.js:21:9)
at async callback (file:///usr/local/lib/node_modules/hlink/node_modules/@hlink/core/lib/main/hlink.js:67:21)
at async Promise.all (index 18)
at async execAsyncByGroup (file:///usr/local/lib/node_modules/hlink/node_modules/@hlink/core/lib/utils/execAsyncByGroup.js:7:9)
at async hlink (file:///usr/local/lib/node_modules/hlink/node_modules/@hlink/core/lib/main/hlink.js:62:9)
at async main (file:///usr/local/lib/node_modules/hlink/node_modules/@hlink/core/lib/main/index.js:4:5) {
shortMessage: 'Command failed with exit code 1: ln /pt/_downloads/Pokemon.Complete.WEB-DL.720p.H264.AAC-OurTV/Pokemon.2002.S02.Complete.WEB-DL.720p.H264.AAC-OurTV\x7F/Pokemon.2002.S02E001.WEB-DL.720p.H264.AAC-OurTV?.mp4 /pt/_hlink/Pokemon.Complete.WEB-DL.720p.H264.AAC-OurTV/Pokemon.2002.S02.Complete.WEB-DL.720p.H264.AAC-OurTV\x7F',
command: 'ln /pt/_downloads/Pokemon.Complete.WEB-DL.720p.H264.AAC-OurTV/Pokemon.2002.S02.Complete.WEB-DL.720p.H264.AAC-OurTV\x7F/Pokemon.2002.S02E001.WEB-DL.720p.H264.AAC-OurTV?.mp4 /pt/_hlink/Pokemon.Complete.WEB-DL.720p.H264.AAC-OurTV/Pokemon.2002.S02.Complete.WEB-DL.720p.H264.AAC-OurTV\x7F',
escapedCommand: 'ln "/pt/_downloads/Pokemon.Complete.WEB-DL.720p.H264.AAC-OurTV/Pokemon.2002.S02.Complete.WEB-DL.720p.H264.AAC-OurTV\x7F/Pokemon.2002.S02E001.WEB-DL.720p.H264.AAC-OurTV?.mp4" "/pt/_hlink/Pokemon.Complete.WEB-DL.720p.H264.AAC-OurTV/Pokemon.2002.S02.Complete.WEB-DL.720p.H264.AAC-OurTV\x7F"',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: '',
stderr: 'ln: /pt/_downloads/Pokemon.Complete.WEB-DL.720p.H264.AAC-OurTV/Pokemon.2002.S02.Complete.WEB-DL.720p.H264.AAC-OurTV\x7F/Pokemon.2002.S02E001.WEB-DL.720p.H264.AAC-OurTV?.mp4: No such file or directory',
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}

Node.js v18.13.0

[23/01/28 00:14:17] ERROR 任务执行出错,已终止

@likun7981 likun7981 added the bug Something isn't working label Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants