
Recently python-iview stopped working because the ABC apparently started sending unicode characters where the previous code didn't work. The new python-iview in GIT depends on Version 3+ of Python and the Debian/Wheezy Python build system doesn't seem designed for building that - or at least it's well beyong my Python coding ability. I used the below patch to convert the text in question to plain ASCII and make the program work again (the change to the #! line isn't needed). Note that the ABC doesn't want us to create archives of programs downloaded from their web site. But if you do want to create such archives I can recommend a BTRFS RAID-1 array of two cheap SATA disks for that purpose. 3TB SATA disks are dirt cheap nowadays. The worst of the BTRFS problems I described in my last LUV talk only occur when a filesystem is filled and a 3TB RAID array isn't something you'll fill quickly. --- a/iview-cli +++ b/iview-cli @@ -1,9 +1,10 @@ -#!/usr/bin/env python +#!/usr/bin/python from __future__ import print_function import sys, os, getopt import os.path import iview.config +import codecs try: import configparser as ConfigParser # Python 3 @@ -80,7 +81,7 @@ def print_series_items(items, indent=''): url = item['livestream'] else: url = item['url'] - print(indent + item['title'] + '\t(' + url + ')') + print(indent + item['title'].encode('ascii', 'ignore') + '\t(' def print_auth(): config() -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/