Hi, may you delete the empty "TryExec=" section in the desktop file? The empty value is preventing the desktop file from being accpeted by rofi.
Thanks
Git Clone URL: | https://aur.archlinux.org/motrix.git (read-only, click to copy) |
---|---|
Package Base: | motrix |
Description: | A full-featured download manager (release version) |
Upstream URL: | https://github.com/agalwood/Motrix |
Keywords: | aria2 motrix vue |
Licenses: | MIT |
Conflicts: | motrix-git |
Submitter: | weearc |
Maintainer: | zhullyb |
Last Packager: | zhullyb |
Votes: | 11 |
Popularity: | 0.041740 |
First Submitted: | 2019-01-17 19:34 (UTC) |
Last Updated: | 2021-11-15 13:06 (UTC) |
Hi, may you delete the empty "TryExec=" section in the desktop file? The empty value is preventing the desktop file from being accpeted by rofi.
Thanks
need dependency of package 'asar'
asar: command not found
@zhullyb, thx, it works!
@sukanka a workable PKGBUILD here
Failed to build package, here's the error,
==> Starting build()...
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: Motrix@1.6.11
npm ERR! Found: eslint-plugin-promise@5.1.0
npm ERR! node_modules/eslint-plugin-promise
npm ERR! dev eslint-plugin-promise@"^5.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint-plugin-promise@"^4.2.1" from @vue/eslint-config-standard@6.0.0
npm ERR! node_modules/@vue/eslint-config-standard
npm ERR! dev @vue/eslint-config-standard@"^6.0.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /home/sukanka/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/sukanka/.npm/_logs/2021-11-05T15_05_27_080Z-debug.log
==> ERROR: A failure occurred in build().
Aborting...
124 verbose stack Error: unable to resolve dependency tree 124 verbose stack at Arborist.[failPeerConflict] (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1222:25) 124 verbose stack at Arborist.[loadPeerSet] (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1189:34) 124 verbose stack at async Arborist.[buildDepStep] (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:893:11) 124 verbose stack at async Arborist.buildIdealTree (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:218:7) 124 verbose stack at async Promise.all (index 1) 124 verbose stack at async Arborist.reify (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:135:5) 124 verbose stack at async Install.install (/usr/lib/node_modules/npm/lib/install.js:137:5) 125 verbose cwd /tmp/aurbuilder/.cache/yay/motrix/src/Motrix 126 verbose Linux 5.12.1-arch1-1 127 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" 128 verbose node v16.1.0 129 verbose npm v7.12.0 130 error code ERESOLVE 131 error ERESOLVE unable to resolve dependency tree 132 error 133 error While resolving: Motrix@1.6.10 133 error Found: eslint-plugin-promise@5.1.0 133 error node_modules/eslint-plugin-promise 133 error dev eslint-plugin-promise@"^5.1.0" from the root project 133 error 133 error Could not resolve dependency: 133 error peer eslint-plugin-promise@"^4.2.1" from @vue/eslint-config-standard@6.0.0 133 error node_modules/@vue/eslint-config-standard 133 error dev @vue/eslint-config-standard@"^6.0.0" from the root project 133 error 133 error Fix the upstream dependency conflict, or retry 133 error this command with --force, or --legacy-peer-deps 133 error to accept an incorrect (and potentially broken) dependency resolution. 133 error 133 error See /tmp/aurbuilder/.npm/eresolve-report.txt for a full report. 134 verbose exit 1
Could you remove the "v" from pkgver? Also please stop recommending yaourt, thanks.
I installed via yay -S aur/motrix but still got the same error.
======================NOTICE=========================
If you installed motrix-git from Arch Linux CN repo and got error, please to go https://github.com/archlinuxcn/repo
to complain about it or send an email to hotea.
The version of motrix in archlinuxcn is git version.
Your should install RELEASE version by using:
yay -S aur/motrix
================================================================
@francois072 Did you install it from Arch Linux CN repo? If so, change to this release version of motrix using the following command:
yaourt -S aur/motrix
The git version of motrix isn't that stable.
[francois@francois-pc ~]$ motrix [607830:0603/225450.904906:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/motrix/chrome-sandbox is owned by root and has mode 4755. Trace/breakpoint trap (core dumped) [francois@francois-pc ~]$ sudo motrix [sudo] password for francois: [607858:0603/225500.564768:FATAL:electron_main_delegate.cc(211)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. Trace/breakpoint trap
@xoyzoo This is probably an error due to the dependency downloading error. Please try again.
gyp ERR! configure error gyp ERR! stack Error: Command failed: /usr/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack File "<string>", line 1 gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack ^ gyp ERR! stack SyntaxError: invalid syntax gyp ERR! stack gyp ERR! stack at ChildProcess.exithandler (child_process.js:303:12) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at maybeClose (internal/child_process.js:1051:16) gyp ERR! stack at Socket.<anonymous> (internal/child_process.js:442:11) gyp ERR! stack at Socket.emit (events.js:315:20) gyp ERR! stack at Pipe.<anonymous> (net.js:671:12) gyp ERR! System Linux 5.6.12-arch1-1 gyp ERR! command "/usr/bin/node" "/home/le/.cache/yay/motrix/src/Motrix/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" gyp ERR! cwd /home/le/.cache/yay/motrix/src/Motrix/node_modules/node-sass gyp ERR! node -v v14.2.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok Build failed with error code: 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.12.0 postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.12.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /home/le/.npm/_logs/2020-05-14T14_51_13_252Z-debug.log ==> ERROR: A failure occurred in build(). Aborting... Error making: motrix
@maniacata The build failure is caused by yarn linking dependencies wrong. And it's fixed now
$ electron-builder install-app-deps && npm run lint:fix
Error: Unresolved node modules: bufferutil, utf-8-validate
Eliminated China optimization code in order to get a successful installation
@P-McNewHold @Fans PKGBUILD has been updated and use the former method to pack please try to install it again.
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'pack' ]
2 info using npm@6.11.2
3 info using node@v12.9.1
4 verbose run-script [ 'prepack', 'pack', 'postpack' ]
5 info lifecycle Motrix@1.4.1~prepack: Motrix@1.4.1
6 info lifecycle Motrix@1.4.1~pack: Motrix@1.4.1
7 verbose lifecycle Motrix@1.4.1~pack: unsafe-perm in lifecycle true
8 verbose lifecycle Motrix@1.4.1~pack: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pm/.cache/yay/motrix/src/Motrix-1.4.1/node_modules/.bin:/home/pm/.bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/opt/cuda/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin
9 verbose lifecycle Motrix@1.4.1~pack: CWD: /home/pm/.cache/yay/motrix/src/Motrix-1.4.1
10 silly lifecycle Motrix@1.4.1~pack: Args: [ '-c', 'npm run pack:main && npm run pack:renderer' ]
11 silly lifecycle Motrix@1.4.1~pack: Returned: code: 2 signal: null
12 info lifecycle Motrix@1.4.1~pack: Failed to exec pack script
13 verbose stack Error: Motrix@1.4.1 pack: npm run pack:main && npm run pack:renderer
13 verbose stack Exit status 2
13 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:209:13)
13 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:209:13)
13 verbose stack at maybeClose (internal/child_process.js:1021:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
14 verbose pkgid Motrix@1.4.1
15 verbose cwd /home/pm/.cache/yay/motrix/src/Motrix-1.4.1
16 verbose Linux 5.2.11-arch1-1-ARCH
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "pack"
18 verbose node v12.9.1
19 verbose npm v6.11.2
20 error code ELIFECYCLE
21 error errno 2
22 error Motrix@1.4.1 pack: npm run pack:main && npm run pack:renderer
22 error Exit status 2
23 error Failed at the Motrix@1.4.1 pack script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 2, true ]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron@4.2.4 postinstall: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron@4.2.4 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /home/impressme/.cache/yay/motrix/src/npm_cache/_logs/2019-09-01T01_41_06_128Z-debug.log ==> 错误: 在 build() 中发生一个错误。 正在放弃... Error making: motrix
@dctxmei 现将讨论中的PKGBUILD样本拿来使用了,个人还在尝试理解那个写法...
@nuton v1.3.8先不会进行推送,目前看比v1.3.7有点问题,如果想使用最新开发版本请安装motrix-git
@dianlujitao 已经进行修正
麻烦在.desktop中添加Categories=Network;FileTransfer;
以便图标自动归类。另外,启动脚本开头的#!/bin/bash重复了
motrix目前有些问题,版本回滚到v1.1.1
@zybrc 已经修正PKGBUILD,之后直接在原PKGBUILD进行修改
ERROR in ./src/renderer/pages/index/main.js
Module not found: Error: Can't resolve '@panter/vue-i18next' in '/tmp/yaourt-tmp-zyb/aur-motrix/src/Motrix/src/renderer/pages/index' @ ./src/renderer/pages/index/main.js 7:0-45 33:10-20 34:18-28
ERROR in ./src/renderer/components/Locale/index.js
Module not found: Error: Can't resolve 'i18next' in '/tmp/yaourt-tmp-zyb/aur-motrix/src/Motrix/src/renderer/components/Locale'
@ ./src/renderer/components/Locale/index.js 3:0-30 15:4-11 24:6-13 35:13-20
@ ./src/renderer/pages/index/main.js
ERROR in chunk index [entry]
index.js
/tmp/yaourt-tmp-zyb/aur-motrix/src/Motrix/node_modules/babel-loader/lib/index.js!/tmp/yaourt-tmp-zyb/aur-motrix/src/Motrix/node_modules/eslint-loader/index.js??ref--0!/tmp/yaourt-tmp-zyb/aur-motrix/src/Motrix/src/renderer/pages/index/main.js cfdbbdb1b47f069de5aae85a43a4ac51
Unexpected token (35:18)
|
| __WEBPACK_MODULE_REFERENCE__4_64656661756c74__.use(!(function webpackMissingModule() { var e = new Error("Cannot find module '@panter/vue-i18next'"); e.code = 'MODULE_NOT_FOUND'; throw e; }()));
| var _i18n = new !(function webpackMissingModule() { var e = new Error("Cannot find module '@panter/vue-i18next'"); e.code = 'MODULE_NOT_FOUND'; throw e; }())(localeManager.getI18n());
| __WEBPACK_MODULE_REFERENCE__4_64656661756c74__.use(__WEBPACK_MODULE_REFERENCE__2_64656661756c74__, {
| size: 'mini',
ERROR failed to build renderer process
分割线
已经找到原因,最新版本包依赖增加了,这个只是v1.0.10版本,需要在包编译前中增加git分支切换,切换到tag v1.0.10
@nuton 已经修正
• electron-builder version=20.38.4 • loaded configuration file=package.json ("build" field) • writing effective config file=release/builder-effective-config.yaml • no native production dependencies • packaging platform=linux arch=x64 electron=4.0.0 appOutDir=release/linux-unpacked ==> 正在进入 fakeroot 环境... ==> 正在开始 package()... ln: 无法创建符号链接'/home/nuton/.cache/yay/motrix/pkg/motrix/opt/motrix/reources/engine/aria2': 没有那个文件或目录 ==> 错误: 在 package() 中发生一个错误。 正在放弃... Error making: motrix
manjaro deepin用yay安装失败
Pinned Comments
weearc commented on 2020-06-04 10:14 (UTC) (edited on 2021-05-08 05:47 (UTC) by weearc)
======================NOTICE=========================
If you installed motrix-git from Arch Linux CN repo and got error, please to go https://github.com/archlinuxcn/repo
to complain about it or send an email to hotea.
The version of motrix in archlinuxcn is git version.
Your should install RELEASE version by using:
================================================================