Closed VladimirAlexiev closed 4 years ago
do you get the same results running wb config
? could you copy the error stack trace if any?
No stack trace. It's related to returning help, because eg this works fine: wd config clipboard true
Another example:
wd data Q1496 | jd labels.pt
/cygdrive/c/Users/vladimir.alexiev.000/AppData/Roaming/npm/wb: line 14: 2488 Segmentation fault node "$basedir/node_modules/wikibase-cli/bin/wb" "$@"
{ language: 'pt', value: 'Fernão de Magalhães' }
@maxlath I don't get the segfault with wb config
, only with wd config
@VladimirAlexiev so this is very likely to be an issue with the wd
bash script
The implementation of wd
is much simpler now (f575320), so I would expect this error to have disappeared. But the new implementation relies on environment variable, and I don't know how does behave on windows, please open a new issue if that's problematic
Running a couple of simple commands (
wd config
) returns Segmentation fault. No such problem with egwd summary
(though that runs quote slow and shows no color, I'll investigate).I'm running Windows 10, Cygwin, npm@6.11.3.
(the number after
line 14
is always different)