Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#50416 - [lirc] optdepends is missing python-yaml

Attached to Project: Arch Linux
Opened by Richard Neumann (rne) - Tuesday, 16 August 2016, 18:51 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 16 August 2016, 23:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No

Details

Description:

lirc-1:0.9.4.b-1 is missing python-yaml as an optinal dependency.

Steps to reproduce:
1) uninstall python-yaml
2) install lirc
3) install optional dependency python
4) execute lirc-setup
5) get the following error:

Traceback (most recent call last):
File "/usr/bin/lirc-setup", line 10, in <module>
import mvc_control
File "/usr/lib/python3.5/site-packages/lirc/mvc_control.py", line 15, in <module>
import mvc_model
File "/usr/lib/python3.5/site-packages/lirc/mvc_model.py", line 13, in <module>
import yaml
ImportError: No module named 'yaml'
This task depends upon

Comment by John (graysky) - Tuesday, 16 August 2016, 19:24 GMT
I never ran lirc-setup before but it appears that python-gobject is an optdepends as well:

% lirc-setup
Traceback (most recent call last):
File "/usr/bin/lirc-setup", line 10, in <module>
import mvc_control
File "/usr/lib/python3.5/site-packages/lirc/mvc_control.py", line 2, in <module>
import gi
ImportError: No module named 'gi'

Loading...