[13:42:52] Hello, [13:42:52] I'm working on video cut tool, an online tool to trim videos in commons, [13:42:52] To concede videos using ffmpeg, I'm doing in this way https://github.com/gopavasanth/video-cut-tool-back-end/blob/error/routes/index.js#L99 [13:42:52] this command works and the videos are concatenating when I try this in my separately in my console, [13:42:52] But If I run this file, I'm getting this error: https://ibb.co/bBzBbj2 [13:42:53] I tied to debug in several ways and tried to find some solution but couldn't, Any suggestions please? [13:46:29] Gopa: i would guess that exec() doesn't run your command through the Bash shell, but rather directly runs the ffmpeg executable, so syntax like "<(…)" is not parsed correctly [13:47:56] Hi MatmaRex, [13:47:56] ooh, how to solve it ? [13:49:46] not sure, i'm not really familiar with node.js [13:50:10] Gopa: i suppose you can always split that into two commands, and avoid the <() syntax that way [13:51:31] MatmaRex: let me try it once :) [13:56:28] * Gopa with No ideas [14:15:25] even if exec() interprets the command via a shell, that shell will almost certainly be /bin/sh, and the <() syntax is Bash-specific [14:47:53] Hi, I'm just submit an issue at https://phabricator.wikimedia.org/T224701 [14:48:45] This issue is get stuck for me for many years, so plz help us. Thanks. [14:59:03] Of course, the task has only been open... a few weeks [15:06:09] Yup, but recently I have just found the keypoint of the problem. [15:35:57] anyone else having trouble with git review & gerrit today? it's prompting me for auth and then failing, I'm not sure what's up [15:36:13] Lucas_WMDE: on Debian systems, /bin/sh points to the dash shell, not bash [15:36:46] oh, nvm, that's what you were trying to say [15:37:23] hmm, manually did a 'git push gerrit HEAD:refs/for/master' and it seems ok [15:37:32] vOv [15:37:48] https://nodejs.org/api/child_process.html#child_process_child_process_exec_command_options_callback says "Spawns a shell then executes the command within that shell, buffering any generated output. The command string passed to the exec function is processed directly by the shell and special characters (vary based on shell) need to be dealt with accordingly" [15:38:00] brion are you trying to use a http pass? [15:38:12] Gopa: ^^ you need to set options: shell: '/bin/bash' probably [15:38:16] paladox: not on purpose but it seems to be using https yeah [15:38:33] my 'gerrit' remote is ssh though [15:38:34] brion you have to use your ldap password now. [15:38:40] Hi legoktm [15:38:45] shouldn't that be the same password that it uses on gerrit web? [15:38:53] see https://phabricator.wikimedia.org/T218750 [15:39:00] brion yup [15:39:06] then i don't know why it didn't work! [15:39:08] :( [15:39:37] this worked like three days ago [15:39:56] ohhh [15:40:10] legoktm: Thanks, I will try it out :) [15:40:14] brion do you have a different username for "shell" to the "cn" in the cloud? [15:40:27] hmmmm, that may be it [15:40:38] you may be hitting https://phabricator.wikimedia.org/T225308 brion [15:40:52] http auth will work again as soon as https://phabricator.wikimedia.org/T218750 is resolved. [15:41:24] so a workaround for you will be to use ssh :( [15:41:43] paladox: yeah that'll be it [15:41:56] i can work with that for now :D [15:41:59] thanks paladox ! [15:42:05] your welcome :) [23:03:02] [[Tech]]; Þjarkur; /* Do Wikimedia sites have sitemaps? */ new section; https://meta.wikimedia.org/w/index.php?diff=19159405&oldid=19145075&rcid=13727054 [23:08:04] [[Tech]]; Þjarkur; /* Do Wikimedia sites have sitemaps? */; https://meta.wikimedia.org/w/index.php?diff=19159407&oldid=19159405&rcid=13727056