Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. 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#62552 - [kodi-eventclients] kodi-send broken (python version)

Attached to Project: Community Packages
Opened by Achilleas (achilleas) - Sunday, 05 May 2019, 16:20 GMT
Last edited by Ike Devolder (BlackEagle) - Sunday, 12 May 2019, 16:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ike Devolder (BlackEagle)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The kodi-send python script currently fails with message

Traceback (most recent call last):
File "/usr/bin/kodi-send", line 30, in <module>
from xbmcclient import *
ImportError: No module named xbmcclient

It looks like it might be a python2 vs python3 issue. The script's shebang is /usr/bin/python2 (modified by the PKGBUILD?) but the package list shows that dependencies for the script go into python3 site-packages (e.g., usr/lib/python3.7/site-packages/kodi/xbmcclient.py
).

The script fails in the except block of the import exception catcher though, since that exception relies on xbmcclient.py being available in a relative path from the source tree.

Additional info:
* package version(s): 18.2-2

Steps to reproduce:
* Run kodi-send with any (or no) arguments.
* Run python3 /usr/bin/kodi-send and it should work without issue.
This task depends upon

Closed by  Ike Devolder (BlackEagle)
Sunday, 12 May 2019, 16:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in 18.2-3

Loading...