You are not logged in.

#1 2014-08-03 00:00:00

blisbell
Member
Registered: 2014-08-02
Posts: 15

[SOLVED][Request] Mythtv-Indicator PKGBUILD

http://www.mythtv.org/wiki/MythTV-indic … ian_distro

Been trying to figure out the dependanceys not having any luck.
I get this error

File "/usr/share/mythtv-indicator/mythtv-indicator.py", line 63
    Reinstall the mythtv-indicator deb."""
                                         ^
SyntaxError: invalid syntax

Tried installing by exracting deb and also source from lanchpad.
I tested this in Ubuntu 14.04 an it does work even though it's not developed lately.
I have installed about everything with python and python2 with the names listed on page above,if this could be ported I think mythtv users would use it.

Last edited by blisbell (2014-08-03 20:46:56)

Offline

#2 2014-08-03 11:35:52

willemw
Member
Registered: 2013-02-19
Posts: 116

Re: [SOLVED][Request] Mythtv-Indicator PKGBUILD

That's because you install and/or run it under python (python version 3 complains about 'print' not having '()' around the argument). You have to use python2. Tested this by only executing the try/except statement which generates the error.

Also, do you have 'python2-gobject' and 'gtk3' installed?

Last edited by willemw (2014-08-03 11:47:51)

Offline

#3 2014-08-03 13:29:19

willemw
Member
Registered: 2013-02-19
Posts: 116

Re: [SOLVED][Request] Mythtv-Indicator PKGBUILD

Created https://aur.archlinux.org/packages/myth … cator-bzr/.

However,

$ mythtv-indicator                             
Traceback (most recent call last):
  File "/usr/share/mythtv-indicator/mythtv-indicator.py", line 963, in <module>
    MYTHTV_INDICATOR = Mythtvindicator()
  File "/usr/share/mythtv-indicator/mythtv-indicator.py", line 157, in __init__
    self.work()
  File "/usr/share/mythtv-indicator/mythtv-indicator.py", line 165, in work
    self.set_menu()
  File "/usr/share/mythtv-indicator/mythtv-indicator.py", line 542, in set_menu
    for job in self.current_state['newJobs']['failed']:
KeyError: 'failed'

When commenting out lines which generate this and similar errors, mythtv-indicator runs but cannot connect to the mythtv backend.
The preference dialog window itself is able to connect to the mythtv backend:

$ python2 /usr/share/mythtv-indicator/importcode/preferences.py

Also, configurator.py refers to 'org.gwibber.preferences', which may not be installed.

EDIT:
Solved the crash. The indicator is able to run now (on any desktop).
@blisbell: Please mark as [SOLVED] in the subject title.

Last edited by willemw (2014-08-03 19:06:37)

Offline

#4 2014-08-03 20:48:13

blisbell
Member
Registered: 2014-08-02
Posts: 15

Re: [SOLVED][Request] Mythtv-Indicator PKGBUILD

Marked solved and a big thank you been trying to figure this out,it's been driving me crazy.

Offline

Board footer

Powered by FluxBB