GithubHelp home page GithubHelp logo

bikenik / alfred-ldoce Goto Github PK

View Code? Open in Web Editor NEW
33.0 33.0 6.0 15.34 MB

Alfred-ldoce-anki

License: MIT License

JavaScript 100.00%
alfred alfred-workflow anki anki-flashcards dictionary english ldoce learning-english longman

alfred-ldoce's People

Contributors

bikenik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

alfred-ldoce's Issues

Google Translate API causes to error when adding a word to Anki

[2019-04-10 15:01:16][utility.junction] Processing output of 'utility.filter' with arg '{
	"items": [
		{
			"title": "Error\n    at /usr/local/lib/node_modules/alfred-ldoce/node_modules/google-translate-api/index.js:105:17\n    at processTicksAndRejections (internal/process/task_queues.js:86:5)",
			"subtitle": "Press ⌘L to see the full error and ⌘C to copy it.",
			"valid": false,
			"text": {
				"copy": "```\nError\n    at /usr/local/lib/node_modules/alfred-ldoce/node_modules/google-translate-api/index.js:105:17\n```\n\n-\nldoce-Express 1.3.9\nAlfred 3.8.1\ndarwin x64 18.5.0",
				"largetype": "Error\n    at /usr/local/lib/node_modules/alfred-ldoce/node_modules/google-translate-api/index.js:105:17"
			},
			"icon": {
				"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns"
			}
		}
	]
}

New flashcards application support.

Hi,

Great workflow! As I do not use Anki but Quizlet I would like to know if you are planning adding support for new flashcards applications?

Thank you!

npm install failed for the reason submodule xmlbuilder/lib/XMLStringifier.js:153:15 Invalid character

Hi , nice job

when i install [email protected] , it works well , but when the version after 1.2.2 cause the Invalid character error

npm install failed for submodule xmlbuilder/lib/XMLStringifier.js:153:15 Invalid character

{ Error: Command failed: alfred-link
Error: Invalid character (�) in string: ...
🔦 SEE ALSO at index 4
    at XMLStringifier.module.exports.XMLStringifier.assertLegalChar (/Users/maintiendrai/.nvm/versions/node/v8.11.2/lib/node_modules/alfred-ldoce/node_modules/xmlbuilder/lib/XMLStringifier.js:153:15)
    at XMLStringifier.assertLegalChar (/Users/maintiendrai/.nvm/versions/node/v8.11.2/lib/node_modules/alfred-ldoce/node_modules/xmlbuilder/lib/XMLStringifier.js:4:59)
    at XMLStringifier.module.exports.XMLStringifier.eleText (/Users/maintiendrai/.nvm/versions/node/v8.11.2/lib/node_modules/alfred-ldoce/node_modules/xmlbuilder/lib/XMLStringifier.js:33:19)
    at new XMLText (/Users/maintiendrai/.nvm/versions/node/v8.11.2/lib/node_modules/alfred-ldoce/node_modules/xmlbuilder/lib/XMLText.js:17:35)
    at XMLElement.module.exports.XMLNode.text (/Users/maintiendrai/.nvm/versions/node/v8.11.2/lib/node_modules/alfred-ldoce/node_modules/xmlbuilder/lib/XMLNode.js:165:15)
    at XMLElement.module.exports.XMLNode.txt (/Users/maintiendrai/.nvm/versions/node/v8.11.2/lib/node_modules/alfred-ldoce/node_modules/xmlbuilder/lib/XMLNode.js:365:19)
    at walk_obj (/Users/maintiendrai/.nvm/versions/node/v8.11.2/lib/node_modules/alfred-ldoce/node_modules/plist/lib/build.js:127:30)
    at walk_obj (/Users/maintiendrai/.nvm/versions/node/v8.11.2/lib/node_modules/alfred-ldoce/node_modules/plist/lib/build.js:110:9)
    at walk_obj (/Users/maintiendrai/.nvm/versions/node/v8.11.2/lib/node_modules/alfred-ldoce/node_modules/plist/lib/build.js:110:9)
    at walk_obj (/Users/maintiendrai/.nvm/versions/node/v8.11.2/lib/node_modules/alfred-ldoce/node_modules/plist/lib/build.js:110:9)


    at Promise.all.then.arr (/Users/maintiendrai/.nvm/versions/node/v8.11.2/lib/node_modules/alfred-ldoce/node_modules/execa/index.js:236:11)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
  code: 1,
  killed: false,
  stdout: '',
  stderr: 'Error: Invalid character (�) in string: ...\n🔦 SEE ALSO at index 4\n    at XMLStringifier.module.exports.XMLStringifier.assertLegalChar (/Users/maintiendrai/.nvm/versions/node/v8.11.2/lib/node_modules/alfred-ldoce/node_modules/xmlbuilder/lib/XMLStringifier.js:153:15)\n    at XMLStringifier.assertLegalChar (/Users/maintiendrai/.nvm/versions/node/v8.11.2/lib/node_modules/alfred-ldoce/node_modules/xmlbuilder/lib/XMLStringifier.js:4:59)\n    at XMLStringifier.module.exports.XMLStringifier.eleText (/Users/maintiendrai/.nvm/versions/node/v8.11.2/lib/node_modules/alfred-ldoce/node_modules/xmlbuilder/lib/XMLStringifier.js:33:19)\n    at new XMLText (/Users/maintiendrai/.nvm/versions/node/v8.11.2/lib/node_modules/alfred-ldoce/node_modules/xmlbuilder/lib/XMLText.js:17:35)\n    at XMLElement.module.exports.XMLNode.text (/Users/maintiendrai/.nvm/versions/node/v8.11.2/lib/node_modules/alfred-ldoce/node_modules/xmlbuilder/lib/XMLNode.js:165:15)\n    at XMLElement.module.exports.XMLNode.txt (/Users/maintiendrai/.nvm/versions/node/v8.11.2/lib/node_modules/alfred-ldoce/node_modules/xmlbuilder/lib/XMLNode.js:365:19)\n    at walk_obj (/Users/maintiendrai/.nvm/versions/node/v8.11.2/lib/node_modules/alfred-ldoce/node_modules/plist/lib/build.js:127:30)\n    at walk_obj (/Users/maintiendrai/.nvm/versions/node/v8.11.2/lib/node_modules/alfred-ldoce/node_modules/plist/lib/build.js:110:9)\n    at walk_obj (/Users/maintiendrai/.nvm/versions/node/v8.11.2/lib/node_modules/alfred-ldoce/node_modules/plist/lib/build.js:110:9)\n    at walk_obj (/Users/maintiendrai/.nvm/versions/node/v8.11.2/lib/node_modules/alfred-ldoce/node_modules/plist/lib/build.js:110:9)\n',
  failed: true,
  signal: null,
  cmd: 'alfred-link',
  timedOut: false }

Disable App Nap

ankiConnect docs

for Anki 2.0

  • defaults write net.ichi2.anki NSAppSleepDisabled -bool true

for Anki 2.1 (in my case works)

  • defaults write org.qt-project.Qt.QtWebEngineCore NSAppSleepDisabled -bool true

2 issues

my english is not good, sorry, i will say it simplly (wmware+mac os)

  1. serching without anki connection (i'm running anki)
    image
  2. HTTP Error
    image

i'm trying my best to install VM and your soft, learned one by one on internet, thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.