Announcement

Collapse
No announcement yet.

Show names with special characters

Collapse
This topic is closed.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Show names with special characters

    Is there anything that can be done to allow SR to deal with show names with special characters, like "Carnivàle"?

    This is what happened the last time I tried to add it:

    16:12:40 INFO::SHOWQUEUE-ADD::Started adding show Carnivàle
    16:12:40 INFO::SHOWQUEUE-ADD::theTVDB: {u'apikey': u'F9C450E78D99172E', u'cache': u'C:\\SiCKRAGE\\cache\\indexers\\theTVDB', u'language': 'en'}
    16:12:50 DEBUG::SHOWQUEUE-ADD::Getting all series data for 70860
    16:15:41 DEBUG::SHOWQUEUE-ADD::Getting actors for 70860
    16:15:53 DEBUG::SHOWQUEUE-ADD::Getting all episode data for 70860
    16:16:07 DEBUG::SHOWQUEUE-ADD::70860: Loading show info from database
    16:16:07 DEBUG::SHOWQUEUE-ADD::70860: Loading show info from theTVDB
    16:16:21 DEBUG::SHOWQUEUE-ADD::Show location set to E:\Videos\TV\Carnivàle
    16:16:21 INFO::SHOWQUEUE-ADD::Setting all current episodes to the specified default status: 5
    16:16:21 DEBUG::SHOWQUEUE-ADD::Attempting to retrieve show info from IMDb
    16:16:21 DEBUG::SHOWQUEUE-ADD::70860: Loading show info from IMDb
    16:16:29 DEBUG::SHOWQUEUE-ADD::70860: Obtained IMDb info ->{u'rating': 8.5, u'votes': 35739, u'runtime': 55, u'countries': u'', u'title': u'Carniv\xe0le', u'genres': u'Drama|Fantasy|Mystery|Thriller', u'imdb_id': u'tt0319969', u'country_codes': u'', u'year': 2003, u'certificates': u'', u'last_update': 736445, u'akas': u''}
    16:16:29 DEBUG::SHOWQUEUE-ADD::Looking up XEM scene mapping for show 70860 on theTVDB
    16:16:29 INFO::SHOWQUEUE-ADD::No XEM data for show "70860 on theTVDB"
    16:16:41 DEBUG::SHOWQUEUE-ADD::70860: Saving show to database: Carnivàle
    Exception in thread SHOWQUEUE-ADD:
    Traceback (most recent call last):
    File "c:\python27\lib\threading.py", line 801, in __bootstrap_inner
    self.run()
    File "c:\python27\lib\site-packages\sickrage\core\queues\show.py", line 446, in run
    sickrage.srCore.NAMECACHE.build(self.show)
    File "c:\python27\lib\site-packages\sickrage\core\caches\name_cache.py", line 130, in build
    elif self.should_update(show):
    File "c:\python27\lib\site-packages\sickrage\core\caches\name_cache.py", line 41, in should_update
    int(time.mktime(datetime.today().timetuple())))) < timedelta(minutes=self.min_time):
    UnicodeEncodeError: 'ascii' codec can't encode character u'\xe0' in position 6: ordinal not in range(128)

  • #2
    Looking into this now, thanks!

    Comment


    • #3
      It seems like the issue is that the à character is in the extended ascii set above position 128, see http://www.asciitable.com/

      Comment


      • #4
        Fixed in v9.0.18

        Comment


        • #5
          Thanks! I was able to add Carnivàle to my DB. Consider this item resolved.

          Comment

          Working...
          X