Error in Debian package

Bug #571617 reported by joselsegura on 2010-04-29
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Angel Guzman Maeso

Bug Description

First of all, I want to congratulate you on winning the first prize of the Free Software Competition.

I have installed Tivion on my Debian unstable system. I launch it from a console, and when I select the first channel (Spain -> 24 horas), I got this error on the console:

Traceback (most recent call last):
  File "", line 1519, in selectChannel
    cache = int(self.get_cache_size())
  File "", line 1225, in get_cache_size
    cfg_cache_size = cfg.cfg.get('OPTIONS', 'Cache_size')
  File "/usr/lib/python2.5/", line 525, in get
    return self._interpolate(section, option, value, d)
  File "/usr/lib/python2.5/", line 565, in _interpolate
    if "%(" in value:
TypeError: argument of type 'int' is not iterable

Related branches

Angel Guzman Maeso (shakaran) wrote :

Hi, thanks

Try this as temporal workaround:

1) Edit file .tivion/config.cfg in your home with your prefered editor (for example, gedit):
gedit ~/.tivion/config.cfg

2) Maybe the cache size value is empty, try putting some integer value (like 360 by default)

For example, this is my config.cfg file:
lang = es_ES.UTF-8
screenshot_folder = /home/shakaran/.tivion
cache_size = 670

Tell me if works for you

Changed in tivion:
milestone: none → tivion-0.0.5
assignee: nobody → Angel Guzman Maeso (shakaran)
importance: Undecided → Critical
status: New → Incomplete
joselsegura (joselsegura) wrote :

First, I was not able to reproduce the error on a second time (I think it's a problem creating the configuration file and, when it exists, the bug is gone).

Changed in tivion:
status: Incomplete → Triaged
Angel Guzman Maeso (shakaran) wrote :

I made a fix for prevent wrong o empty values for cache size:

I gonna mark the bug as fixed, reopen if you have the bug again.

Changed in tivion:
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers