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
DanTron

Trivia crash due to invalid characters in file names

Question

Hey there, I have found a bug where CinemaVision will seemingly randomly crash out to Kodi (on Windows 10 in my case) abruptly with the below error message while it was showing Trivia slides.
"CinemaVision error
Check the log for more information."

I had debug logs on but the log was not helpful.
I have 43 Trivia folders with a total of 4267 files in them.  So I set off on a couple hour journey tediously eliminating folders, re-running "Update Content" in CV settings, and holding right arrow through the Trivia slideshow until I finally discovered the issue.  It's not really random so much as CinemaVision doesn't like certain characters in file names. Here's the problem files.

Trivia Pack: Frame By Frame (Vibrant) 
--------------------------------------
LéonTheProfessional_q.jpg
LéonTheProfessional_a.jpg
WALL·E_q.jpg
WALL·E_a.jpg

When I replaced the é for e and · for - the problem went away.

These are how the files are named when downloaded straight from this site.  :-P
Perhaps CinemaVision can be updated to accept non-standard characters in file names and/or all Trivia Packs should be scanned for invalid characters in the file names?

Hope this helps anyone else that has had Trivia crashes like me.

Thanks!
 

  • Upvote 1

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0
On 6/19/2017 at 7:56 PM, DanTron said:

Sorry for the delay..  Does this log help?

 

17:42:59.609 T:10280   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeEncodeError'>
                                            Error Contents: 'ascii' codec can't encode character u'\xb7' in position 59: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "C:\Users\Daniel\AppData\Roaming\Kodi\addons\script.cinemavision\addon.py", line 18, in <module>
                                                player.begin(args=args)
                                              File "C:\Users\Daniel\AppData\Roaming\Kodi\addons\script.cinemavision\lib\player.py", line 78, in begin
                                                e.start(seqPath)
                                              File "C:\Users\Daniel\AppData\Roaming\Kodi\addons\script.cinemavision\lib\experience.py", line 913, in start
                                                return self._start(sequence_path)
                                              File "C:\Users\Daniel\AppData\Roaming\Kodi\addons\script.cinemavision\lib\experience.py", line 934, in _start
                                                self.next()
                                              File "C:\Users\Daniel\AppData\Roaming\Kodi\addons\script.cinemavision\lib\experience.py", line 1238, in next
                                                if not self.showImageQueue(playable):
                                              File "C:\Users\Daniel\AppData\Roaming\Kodi\addons\script.cinemavision\lib\experience.py", line 1136, in showImageQueue
                                                DEBUG_LOG(' -IMAGE.QUEUE: {0}'.format(image))
                                              File "C:\Users\Daniel\AppData\Roaming\Kodi\addons\script.cinemavision\lib\cinemavision\sequenceprocessor.py", line 58, in __repr__
                                                return 'IMAGE ({0}s): {1}'.format(self.duration, self.path)
                                            UnicodeEncodeError: 'ascii' codec can't encode character u'\xb7' in position 59: ordinal not in range(128)
                                            -->End of Python script error report<--

Thanks so much for that. This should be fixed in our next release. :)

Share this post


Link to post
Share on other sites
  • 0

Hey there! We need a little more information from you. Please follow this guide to upload your debug log for us to review:

 

Share this post


Link to post
Share on other sites
  • 0

Sorry for the delay..  Does this log help?

 

17:42:59.609 T:10280   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeEncodeError'>
                                            Error Contents: 'ascii' codec can't encode character u'\xb7' in position 59: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "C:\Users\Daniel\AppData\Roaming\Kodi\addons\script.cinemavision\addon.py", line 18, in <module>
                                                player.begin(args=args)
                                              File "C:\Users\Daniel\AppData\Roaming\Kodi\addons\script.cinemavision\lib\player.py", line 78, in begin
                                                e.start(seqPath)
                                              File "C:\Users\Daniel\AppData\Roaming\Kodi\addons\script.cinemavision\lib\experience.py", line 913, in start
                                                return self._start(sequence_path)
                                              File "C:\Users\Daniel\AppData\Roaming\Kodi\addons\script.cinemavision\lib\experience.py", line 934, in _start
                                                self.next()
                                              File "C:\Users\Daniel\AppData\Roaming\Kodi\addons\script.cinemavision\lib\experience.py", line 1238, in next
                                                if not self.showImageQueue(playable):
                                              File "C:\Users\Daniel\AppData\Roaming\Kodi\addons\script.cinemavision\lib\experience.py", line 1136, in showImageQueue
                                                DEBUG_LOG(' -IMAGE.QUEUE: {0}'.format(image))
                                              File "C:\Users\Daniel\AppData\Roaming\Kodi\addons\script.cinemavision\lib\cinemavision\sequenceprocessor.py", line 58, in __repr__
                                                return 'IMAGE ({0}s): {1}'.format(self.duration, self.path)
                                            UnicodeEncodeError: 'ascii' codec can't encode character u'\xb7' in position 59: ordinal not in range(128)
                                            -->End of Python script error report<--

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.