Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Py-Cineveristy Rss plugin Bug

    Scheduled Pinned Locked Moved Bugs
    1 Posts 0 Posters 407 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 18/05/2011 at 14:29, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:    
      Platform:      
      Language(s) :

      ---------
      hi,

      Today while studing Py-Cineveristy Rss plugin, I found this bug:

      Updating... http://www.maxon.net/index.php?id=1164&type=100&L=0
      The Last Cause - SciFi Melodrama with Anime Influence Looking for Sponsors
      After Effects CS 5.5 and CINEMA 4D R12 - Always a Dynamic Duo
      The Glitter of Artificial Diamonds
      MAXON CINEMA 4D R12 Honored with Live Design Magazine
      Traceback (most recent call last) :
      File "CVRss.pyp", line 155, in Timer
        File "CVRss.pyp", line 170, in ScrollRss
        File "<string>", line 9, in write
      UnicodeEncodeError: 'ascii' codec can't encode character u''' in position 0: ordinal not in range(128)

      in xml we have <title>'Inspired Visions' Rendering Competition</title>

      So I made some adjustment:
      ->replace line 169: title = unicode(self.rss_items[self.current_item]['title'])
      with this:
      title= self.rss_items[self.current_item]['title']
      title = title.encode('ascii', 'ignore')

      Hope this usefull.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post