Jump to content

Welcome, Guest!

Be a part of CinemaVision today! Once registered and logged in, you will have access to public chat and your own private messenger, you can view and contribute guides, collaborate on the forums, review downloads, give reputation to your fellow members, contribute content and so much more. Registering is quick and completely free, so what are you waiting for?
   Sign In    Sign Up

Become a RedCarpet Club Member Today!

   Join Now
  • 0
hoobie7

Action Test Button Not Working

Question

I have gotten CV working with my home automation with JSON via a cvaction file. Actions in the sequence work and so do the pause and resume actions. The only issue is when I use the Test button for the action it does not work. This isn't a big deal it just makes testing more difficult. I have pasted in the log entry that I think pertains. Let me know if you need more.

22:09:36 T:3796  NOTICE: Thread LanguageInvoker start, auto delete: false
22:09:36 T:3796  NOTICE: -->Python Interpreter Initialized<--
22:09:36 T:3796  NOTICE: [- CinemaVision -]: Passed args: ['addon.py', 'test.actions', 'RESUME']
22:09:37 T:3796  NOTICE: [- CinemaVision -] (API): Rating Systems:
22:09:37 T:3796  NOTICE: [- CinemaVision -] (API):   MPAA: [NR, G, PG, PG-13, R, NC-17]
22:09:37 T:3796  NOTICE: [- CinemaVision -] (API):   FSK: [18, 16, 12, 6, 0]
22:09:37 T:3796  NOTICE: [- CinemaVision -] (API):   DEJUS: [18 Anos, 16 Anos, 14 Anos, 12 Anos, 10 Anos, Livre]
22:09:37 T:3796  NOTICE: [- CinemaVision -] (API):   BBFC: [R18, 18, 15, 12, 12A, PG, U, Uc]
22:09:37 T:3796   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: 'NoneType' object has no attribute 'decode'
                                            Traceback (most recent call last):
                                              File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\script.cinemavision\addon.py", line 52, in <module>
                                                settings.testEventActions(args[0])
                                              File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\script.cinemavision\lib\settings.py", line 233, in testEventActions
                                                cvutil.evalActionFile(path)
                                              File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\script.cinemavision\lib\cvutil.py", line 207, in evalActionFile
                                                abortPath = kodiutil.getSetting('action.onAbort.file').decode('utf-8')
                                            AttributeError: 'NoneType' object has no attribute 'decode'
                                            -->End of Python script error report<--

 

Edited by hoobie7

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Ok, some more testing revealed something interesting.

When the Test buttons were failing the "Execute action on sequence abort" option was not enabled.

Since enabling that option all three Test buttons work now!

The "Parser Messages" window pops up and the action happens.

I then disabled that option and the other two Test buttons continued to work.

Strange behavior but hopefully that helps narrow it down.

Or, again, maybe I'm just crazy. ;)

Edited by hoobie7
  • Upvote 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

About Us

CinemaVision began in 2014 as a collaboration to create content for use with your home theater, offering movie trivia slides and video bumpers. It has since grown to be THE PREMIER WAY to create and customize your preshow experience. Download the CinemaVision add-on for Kodi today from the official Kodi repository, and easily create a sequence of trivia, videos, trailers, home automation triggers and more that will bring the experience of a movie theater straight to your screen!

×

Important Information

By using this site, you agree to our Guidelines and Terms of Use.