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#21763 - [blueman] 1.21-6 fails to run

Attached to Project: Community Packages
Opened by Jakub Lužný (Limoto) - Saturday, 20 November 2010, 19:38 GMT
Last edited by Ionut Biru (wonder) - Saturday, 20 November 2010, 20:47 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

blueman fails to run, because it's missing module blueman.Constants, which is installed for Python 2.6:

Traceback (most recent call last):
File "/usr/bin/blueman-applet", line 40, in <module>
from blueman.Constants import *
ImportError: No module named blueman.Constants


Recompilation of blueman fails too, because configure tries to run some of its tests on python3 instead of python2:

checking for headers required to compile python extensions... File "<string>", line 1
import sys; print sys.prefix
^
SyntaxError: invalid syntax
File "<string>", line 1
import sys; print sys.exec_prefix
^
SyntaxError: invalid syntax
not found
configure: error: Could not find Python header
This task depends upon

Closed by  Ionut Biru (wonder)
Saturday, 20 November 2010, 20:47 GMT
Reason for closing:  Not a bug
Comment by Ionut Biru (wonder) - Saturday, 20 November 2010, 20:13 GMT
are you fully up to date?
Comment by Jakub Lužný (Limoto) - Saturday, 20 November 2010, 20:19 GMT
yes, I am (without testing)
Comment by Ionut Biru (wonder) - Saturday, 20 November 2010, 20:20 GMT
pacman -Q blueman
pacman -Q python2

ls -l /usr/bin/python2
Comment by Jakub Lužný (Limoto) - Saturday, 20 November 2010, 20:22 GMT
$ pacman -Q blueman
blueman 1.21-6
$ pacman -Q python2
python2 2.7-3
$ ls -l /usr/bin/python2
lrwxrwxrwx 1 root root 9 20. říj 05.22 /usr/bin/python2 -> python2.7
Comment by Ionut Biru (wonder) - Saturday, 20 November 2010, 20:29 GMT
is that our blueman package?

pacman -Qi blueman

blueman 1.21-6 has /usr/lib/python2.7/site-packages/blueman/Constants.py which i can import it.


python2
Python 2.7 (r27:82500, Oct 20 2010, 03:28:42)
[GCC 4.5.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from blueman.Constants import *
>>>
Comment by Jakub Lužný (Limoto) - Saturday, 20 November 2010, 20:32 GMT
Oops, no, it was my package, I've downloaded package from repo and it's working now. Sorry.
Comment by Jakub Lužný (Limoto) - Saturday, 20 November 2010, 20:33 GMT
But i still can't makepkg it on my own...
Comment by Ionut Biru (wonder) - Saturday, 20 November 2010, 20:34 GMT
PYTHON=python2 ./configure bla

Loading...