Jump to content

favero_

New Member
  • Content Count

    1
  • Joined

  • Last visited

  1. Hi, right after I press space after trans it redirects me to google or amazon search... Any ideas on how to fix that? here's the debug: [01:12:32.755] Google Translate[Script Filter] Queuing argument '' [01:12:33.573] Google Translate[Script Filter] Script with argv '' finished [01:12:33.574] ERROR: Google Translate[Script Filter] Code 1: { "items": [ { "title": "Error: command.match is not a function", "subtitle": "Activate this item to try again. | ⌘L to see the stack trace", "autocomplete": "", "icon": { "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns" }, "valid": false, "text": { "largetype": "TypeError: command.match is not a function\n at module.exports (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/lib/index.js:16:15)\n at /usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/index.js:7:21\n at /usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/index.js:36:3\n at Object.<anonymous> (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/index.js:38:3)\n at Object.<anonymous> (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/esm/esm.js:1:251206)\n at /usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/esm/esm.js:1:245054\n at Generator.next (<anonymous>)\n at bl (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/esm/esm.js:1:245412)\n at kl (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/esm/esm.js:1:247659)\n at Object.u (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/esm/esm.js:1:287740)", "copy": "TypeError: command.match is not a function\n at module.exports (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/lib/index.js:16:15)\n at /usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/index.js:7:21\n at /usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/index.js:36:3\n at Object.<anonymous> (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/index.js:38:3)\n at Object.<anonymous> (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/esm/esm.js:1:251206)\n at /usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/esm/esm.js:1:245054\n at Generator.next (<anonymous>)\n at bl (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/esm/esm.js:1:245412)\n at kl (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/esm/esm.js:1:247659)\n at Object.u (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/esm/esm.js:1:287740)" } } ] } { "items": [ { "title": "/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/configstore/index.js:1\nError: EACCES: permission denied, open '/Users/marcosfavero/.config/configstore/google-translate-api.json'\nYou don't have access to this file.\n\n at Object.openSync (fs.js:461:3)\n at Object.readFileSync (fs.js:364:35)\n at Configstore.get (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/configstore/index.js:35:26)\n at new Configstore (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/configstore/index.js:28:45)\n at Object.<anonymous> (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/@vitalets/google-translate-token/index.js:70:14)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)", "subtitle": "Press ⌘L to see the full error and ⌘C to copy it.", "valid": false, "text": { "copy": "```\n/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/configstore/index.js:1\nError: EACCES: permission denied, open '/Users/marcosfavero/.config/configstore/google-translate-api.json'\nYou don't have access to this file.\n at Configstore.get (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/configstore/index.js:35:26)\n at new Configstore (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/configstore/index.js:28:45)\n at Object.<anonymous> (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/@vitalets/google-translate-token/index.js:70:14)\n```\n\n-\nGoogle Translate 1.4.0\nAlfred 4.1\ndarwin 19.5.0", "largetype": "/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/configstore/index.js:1\nError: EACCES: permission denied, open '/Users/marcosfavero/.config/configstore/google-translate-api.json'\nYou don't have access to this file.\n at Configstore.get (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/configstore/index.js:35:26)\n at new Configstore (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/configstore/index.js:28:45)\n at Object.<anonymous> (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/@vitalets/google-translate-token/index.js:70:14)" }, "icon": { "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns" } } ] } [01:12:33.577] ERROR: Google Translate[Script Filter] JSON error: Garbage at end. in JSON: { "items": [ { "title": "Error: command.match is not a function", "subtitle": "Activate this item to try again. | ⌘L to see the stack trace", "autocomplete": "", "icon": { "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns" }, "valid": false, "text": { "largetype": "TypeError: command.match is not a function\n at module.exports (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/lib/index.js:16:15)\n at /usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/index.js:7:21\n at /usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/index.js:36:3\n at Object.<anonymous> (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/index.js:38:3)\n at Object.<anonymous> (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/esm/esm.js:1:251206)\n at /usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/esm/esm.js:1:245054\n at Generator.next (<anonymous>)\n at bl (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/esm/esm.js:1:245412)\n at kl (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/esm/esm.js:1:247659)\n at Object.u (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/esm/esm.js:1:287740)", "copy": "TypeError: command.match is not a function\n at module.exports (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/lib/index.js:16:15)\n at /usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/index.js:7:21\n at /usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/index.js:36:3\n at Object.<anonymous> (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/index.js:38:3)\n at Object.<anonymous> (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/esm/esm.js:1:251206)\n at /usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/esm/esm.js:1:245054\n at Generator.next (<anonymous>)\n at bl (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/esm/esm.js:1:245412)\n at kl (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/esm/esm.js:1:247659)\n at Object.u (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/esm/esm.js:1:287740)" } } ] } { "items": [ { "title": "/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/configstore/index.js:1\nError: EACCES: permission denied, open '/Users/marcosfavero/.config/configstore/google-translate-api.json'\nYou don't have access to this file.\n\n at Object.openSync (fs.js:461:3)\n at Object.readFileSync (fs.js:364:35)\n at Configstore.get (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/configstore/index.js:35:26)\n at new Configstore (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/configstore/index.js:28:45)\n at Object.<anonymous> (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/@vitalets/google-translate-token/index.js:70:14)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)", "subtitle": "Press ⌘L to see the full error and ⌘C to copy it.", "valid": false, "text": { "copy": "```\n/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/configstore/index.js:1\nError: EACCES: permission denied, open '/Users/marcosfavero/.config/configstore/google-translate-api.json'\nYou don't have access to this file.\n at Configstore.get (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/configstore/index.js:35:26)\n at new Configstore (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/configstore/index.js:28:45)\n at Object.<anonymous> (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/@vitalets/google-translate-token/index.js:70:14)\n```\n\n-\nGoogle Translate 1.4.0\nAlfred 4.1\ndarwin 19.5.0", "largetype": "/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/configstore/index.js:1\nError: EACCES: permission denied, open '/Users/marcosfavero/.config/configstore/google-translate-api.json'\nYou don't have access to this file.\n at Configstore.get (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/configstore/index.js:35:26)\n at new Configstore (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/configstore/index.js:28:45)\n at Object.<anonymous> (/usr/local/Cellar/node/14.4.0/lib/node_modules/alfred-polyglot/node_modules/@vitalets/google-translate-token/index.js:70:14)" }, "icon": { "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns" } } ] }
×
×
  • Create New...