Posts: 55
Joined: Nov 2005
Reputation:
0
I am moving from the Kodi-Alexa to Lexigram and cant' get it to launch. Errors state:
$ lexigram login
/usr/local/lib/node_modules/lexigram-cli/node_modules/debug/src/node.js:132
let val = process.env[key];
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet sup ported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:387:25)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.<anonymous> (/usr/local/lib/node_modules/lexigram-cli/node_modules /debug/src/index.js:9:19)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at /usr/local/lib/node_modules/lexigram-cli/node_modules/simple-git/src/git. js:5:16
at Object.<anonymous> (/usr/local/lib/node_modules/lexigram-cli/node_modules /simple-git/src/git.js:1563:2)
Any ideas how to fix? Thanks
Posts: 1
Joined: Oct 2018
Reputation:
0
Is there a solution to this
lexigram deploy kanzi -> Error
× Update slot values
→ Kodi server configuration settings are wrong. Please double-check kodi.config to make sure it is setup properly.
Deploy Skill
Error Log
Error: Error talking to Kodi.
kodi.conf
scheme = http
address = xxxxxxxxxx.myfritz.net
port = 2340
Thanks
Posts: 2
Joined: Jan 2017
Reputation:
0
Hi, I used this skill when it was first introduced and wanted to try again. When I try to use the heroku deployment, I am told by the program that my python version is not correct. I tried on a computer with a new python build and got the same error about python 2.7.14 and I have 2.7.15 installed. Can you help me out?
Posts: 2
Joined: Jan 2017
Reputation:
0
EDIT
I got it to work! I miss this skill!!! Thanks for creating an awesome skill!
Posts: 1
Joined: Oct 2018
Reputation:
0
Hey everyone so a bit of a hicup when i put in lexigram init-config I get - EPERM: operation not permitted, open 'C:\Program Files\nodejs\kodi.config' there is no .config file in that directory either. I did log into dev account fine ask me to allow permission I said allow.
Any help guys and gals would be awesome!!
Posts: 14
Joined: Oct 2018
Reputation:
0
tabun
Junior Member
Posts: 14
2018-11-01, 22:12
(This post was last modified: 2018-11-06, 08:46 by tabun.)
OK, I recently got Kodi (and Tiny Media Manager to clean up my movies/TV shows) and my library is flawless. I then got an Echo Dot and wanted to control my Kodi with it, so I started following this really involved walkthrough involving Python, Zappa, etc. and it began giving me errors 3/4 of the way through it. I then find the Lexigram page and try out those instructions. Maybe it's just me, but the instructions seem to be for people who understand what they're doing lol. I completed them to the end (taking guesses at some points because not every step was explained) and I now have the Kanzi skill listed on developer.amazon.com/alexa/console/ask, but my echo dot does not recognize the skill.
I set up a Developer account (I think lol), added a user with admin rights, installed NVM, made it to the CLI and logged in to Amazon, which gave me a token...I'm just lost now. Is their a step-by-step walkthrough or does anyone have any idea where I went wrong? I consider myself very tech savvy but I think I missed a step.
When I say, "Alexa, ask Kodi to play Clerks 2"
Alexa repsonds with, "Getting Clerks 2 from provider...sorry provider is having trouble."
Should I see Kanzi in my Alexa skills list or do I need a video skill installed? When I install my FireTV Stick 4k on my TV, I realize I will need to install the FireTV skill, but I currently have Kodi on my Windows 10 PC, which is connected to my TV and that's the Kodi device I'm trying to control. I am using a Dynamic DNS client and I can control my Kodi via the web interface on a public IP, so I'm pretty sure my router ports are forwarded correctly.
Any help would be appreciated.
EDIT (Progress): I went into the Alexa Dev Console and went into Test Mode with my Kanzi skill. When I ask, "Ask Kodi Player to play the movie Alien," the Skill I/O JSON Input window recognizes the question, and even matches two movies correctly from my movie collection, but says, "There was a problem with the requested skills response." I feel like I'm really close now if anyone can give me a nudge.
EDIT EDIT EDIT: While receiving ZERO responses to this post the past few days, I was forced to learn something. After looking at the Cloudwatch logs, I noticed it was not recognizing my S3 bucket name from kodi.config. I originally had the entire 'arn:aws...kodicache-xxxxxxxxxxx' in there, and realized I just needed the 'kodicache-xxxxxxxxxxxx' part. The Alexa simulator now finds my movies and says it is playing them!!!!
Posts: 4
Joined: Dec 2014
Reputation:
0
How can I translate kanzi to work in Spanish?