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

Action Test Button Not Working


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>
                                              File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\script.cinemavision\lib\settings.py", line 233, in testEventActions
                                              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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

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