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

问题自查 #73

Open
putyy opened this issue Sep 3, 2024 · 16 comments
Open

问题自查 #73

putyy opened this issue Sep 3, 2024 · 16 comments

Comments

@putyy
Copy link
Owner

putyy commented Sep 3, 2024

windows查找问题: 打开PowerShell 将软件拖入进入后回车运行 查看提示是否报错

Mac查找问题: 打开应用程序->找到res-downloader->右键显示包内容->找到Contents/MacOS下的res-downloader文件->拖入终端回车运行 查看提示是否报错

@putyy putyy pinned this issue Sep 3, 2024
@chaoweimt
Copy link

正常的,但还是 loading

@ErickyDF
Copy link

Hi Putty,
使用的macOS
打开后,持续“loading ...”,
之前在“设置”中设置了代理,目前一直“loading ...”,因此无法修改代理设置,
通过“显示包内容”检查后,发现“setProxyErrorCallback null”,
请问后续如何处理?

@gvariable
Copy link

在终端中运行包内容中的二进制,显示内容为“”“res-downloader Helper (Renderer)[84682:470832] CoreText note: Client requested name ".PingFangUIDisplaySC-Bold", it will get TimesNewRomanPSMT rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].”“”

@putyy
Copy link
Owner Author

putyy commented Sep 20, 2024

Hi Putty, 使用的macOS 打开后,持续“loading ...”, 之前在“设置”中设置了代理,目前一直“loading ...”,因此无法修改代理设置, 通过“显示包内容”检查后,发现“setProxyErrorCallback null”, 请问后续如何处理?

软件是2.1.1吗

@putyy
Copy link
Owner Author

putyy commented Sep 20, 2024

在终端中运行包内容中的二进制,显示内容为“”“res-downloader Helper (Renderer)[84682:470832] CoreText note: Client requested name ".PingFangUIDisplaySC-Bold", it will get TimesNewRomanPSMT rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].”“”

什么系统?

@gvariable
Copy link

macOS 15.0
res-downloader 2.1.1

@putyy
Copy link
Owner Author

putyy commented Sep 20, 2024

macOS 15.0 res-downloader 2.1.1

刚升级到15.0 我这边正常 你重新安装看看

@ErickyDF
Copy link

Hi Putty, 使用的macOS 打开后,持续“loading ...”, 之前在“设置”中设置了代理,目前一直“loading ...”,因此无法修改代理设置, 通过“显示包内容”检查后,发现“setProxyErrorCallback null”, 请问后续如何处理?

软件是2.1.1吗

是的,版本是2.1.1

@ErickyDF
Copy link

Hi Putty, 使用的macOS 打开后,持续“loading ...”, 之前在“设置”中设置了代理,目前一直“loading ...”,因此无法修改代理设置, 通过“显示包内容”检查后,发现“setProxyErrorCallback null”, 请问后续如何处理?

软件是2.1.1吗

是的,版本是2.1.1

我是用的系统版本是 macos 10.15.7,res-downloader 2.1.1

@L-feng-f
Copy link

我是用的系统版本是 macos 13.3.1,res-downloader 2.1.1

终端
➜ ~ /Applications/res-downloader.app/Contents/MacOS/res-downloader
启动 aria2
aria2 成功启动
17:31:43.713 › --------------proxy catch err-------------- Error: invalid value for upstreamProxy: "http://127.0.0.1:7890/"
at new Proxy (/Applications/res-downloader.app/Contents/Resources/app.asar/node_modules/hoxy/lib/proxy.js:216:15)
at Object.createServer (/Applications/res-downloader.app/Contents/Resources/app.asar/node_modules/hoxy/lib/main.js:21:12)
at /Applications/res-downloader.app/Contents/Resources/app.asar/dist-electron/main/index.js:29:15323
at new Promise ()
at PY (/Applications/res-downloader.app/Contents/Resources/app.asar/dist-electron/main/index.js:29:15283)
at /Applications/res-downloader.app/Contents/Resources/app.asar/dist-electron/main/index.js:38:13144
at WebContents. (node:electron/js2c/browser_init:2:89595)
at WebContents.emit (node:events:513:28)

@putyy
Copy link
Owner Author

putyy commented Sep 26, 2024

我是用的系统版本是 macos 13.3.1,res-downloader 2.1.1

终端 ➜ ~ /Applications/res-downloader.app/Contents/MacOS/res-downloader 启动 aria2 aria2 成功启动 17:31:43.713 › --------------proxy catch err-------------- Error: invalid value for upstreamProxy: "http://127.0.0.1:7890/" at new Proxy (/Applications/res-downloader.app/Contents/Resources/app.asar/node_modules/hoxy/lib/proxy.js:216:15) at Object.createServer (/Applications/res-downloader.app/Contents/Resources/app.asar/node_modules/hoxy/lib/main.js:21:12) at /Applications/res-downloader.app/Contents/Resources/app.asar/dist-electron/main/index.js:29:15323 at new Promise () at PY (/Applications/res-downloader.app/Contents/Resources/app.asar/dist-electron/main/index.js:29:15283) at /Applications/res-downloader.app/Contents/Resources/app.asar/dist-electron/main/index.js:38:13144 at WebContents. (node:electron/js2c/browser_init:2:89595) at WebContents.emit (node:events:513:28)

软件内代理留空

@putyy
Copy link
Owner Author

putyy commented Sep 26, 2024

Hi Putty, 使用的macOS 打开后,持续“loading ...”, 之前在“设置”中设置了代理,目前一直“loading ...”,因此无法修改代理设置, 通过“显示包内容”检查后,发现“setProxyErrorCallback null”, 请问后续如何处理?

软件是2.1.1吗

是的,版本是2.1.1

我是用的系统版本是 macos 10.15.7,res-downloader 2.1.1

卸载重装 软件内代理留空

@TwilightZPM
Copy link

你好,系统是win11,23H2,软件版本是2.1.3,打开软件后没有网络,重新手动安装证书也没用。PowerShell打开后打开网页报错如下,麻烦帮忙看下吧,感谢
启动 aria2
aria2 成功启动
setProxyErrorCallback Error: connect ETIMEDOUT 2606:4700:3033::6815:325:443
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) {
errno: -4039,
code: 'ETIMEDOUT',
syscall: 'connect',
address: '2606:4700:3033::6815:325',
port: 443
}
setProxyErrorCallback Error: connect ETIMEDOUT 240e:97d:2000:c0e::28:443
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) {
errno: -4039,
code: 'ETIMEDOUT',
syscall: 'connect',
address: '240e:97d:2000:c0e::28',
port: 443
}

@seadogbest
Copy link

aria2RpcClient err: TypeError: Cannot read properties of undefined (reading 'length')
at _F.calculateDownloadProgress (D:\wechatdownload\res-downloader\resources\app.asar\dist-electron\main\index.js:22:14458)
at D:\wechatdownload\res-downloader\resources\app.asar\dist-electron\main\index.js:29:2630
at processTicksAndRejections (node:internal/process/task_queues:96:5)

微信视频号解析下载失败 这个是报错日志 辛苦大佬看下

@seadogbest
Copy link

图片和其他视频都是ok的 就只是微信视频号的视频解析下载失败

@taotieren
Copy link
Contributor

taotieren commented Jan 7, 2025

我在 arch 下通过仓库的源码编译好了,但是提示缺少证书文件,这个文件从那里获取,我打包的时候可以加上。
图片

原因是 Arch 的 ca-certificates-utils 包和 Debian 等系统有差异,手动修改源码编译后解决。
Arch 下进行了如下修改和打包,可以通过 AUR 安装 res-downloader

# Maintainer: taotieren <[email protected]>

pkgname=res-downloader
pkgver=3.0.1
pkgrel=0
pkgdesc="支持视频号、小程序、抖音、快手、小红书、直播流、酷狗、QQ音乐等常见网络资源! "
arch=($CARCH)
url="https://github.com/putyy/res-downloader"
license=('Apache-2.0')
provides=(${pkgname})
conflicts=(${pkgname})
# replaces=(${pkgname})
depends=(
    ca-certificates-utils
    gdk-pixbuf2
    glib2
    glibc
    gtk3
    hicolor-icon-theme
    webkit2gtk
)
makedepends=(
    pnpm
    go
    wails
)
backup=()
options=(!debug !strip !lto)
#install=${pkgname}.install
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('952ba006706972e3464e5da9834c4cc1c04a63ae55823ee3cd4feb3be26e8512')

build() {
    cd "${srcdir}/${pkgname}-${pkgver}/"

    export CGO_CPPFLAGS="${CPPFLAGS}"
    export CGO_CFLAGS="${CFLAGS}"
    export CGO_CXXFLAGS="${CXXFLAGS}"
    export CGO_LDFLAGS="${LDFLAGS}"
    export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
    export GO111MODULE=on
    export GOPROXY=https://goproxy.cn,direct

    sed -i -e 's|/usr/local/share/ca-certificates/|/usr/share/ca-certificates/trust-source/anchors/|g' \
        -e 's|update-ca-certificates|update-ca-trust|g' core/system_linux.go
    wails build
}

package() {
    cd "${srcdir}/${pkgname}-${pkgver}/"

    install -Dvm755 build/bin/${pkgname} -t ${pkgdir}/usr/bin
    install -Dvm644 build/appicon.png ${pkgdir}/usr/share/icons/hicolor/512x512/apps/${pkgname}.png
    install -Dvm644 /dev/stdin ${pkgdir}/usr/share/applications/${pkgname}.desktop <<EOF
[Desktop Entry]
Categories=
Comment=${pkgdesc}
Exec=${pkgname}
Icon=${pkgname}.png
Name=${pkgname}
Terminal=false
Type=Application

EOF
}
❯ cat  /usr/share/ca-certificates/trust-source/anchors/res-downloader.crt

-----BEGIN CERTIFICATE-----
MIIDwzCCAqugAwIBAgIUFAnC6268dp/z1DR9E1UepiWgWzkwDQYJKoZIhvcNAQEL
BQAwcDELMAkGA1UEBhMCQ04xEjAQBgNVBAgMCUNob25ncWluZzESMBAGA1UEBwwJ
Q2hvbmdxaW5nMQ4wDAYDVQQKDAVnb3dhczEWMBQGA1UECwwNSVQgRGVwYXJ0bWVu

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

8 participants