Arch Linux

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#2057 - hal-device-manager not working [gnome-python problem]

Attached to Project: Arch Linux
Opened by Nikos Kouremenos (zeppelin) - Monday, 24 January 2005, 13:42 GMT
Last edited by Jan de Groot (JGC) - Monday, 24 January 2005, 15:56 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

I have all the latest {gnome-python, python etc}

€ hal-device-manager
Traceback (most recent call last):
File "/opt/gnome/bin/hal-device-manager", line 9, in ?
import gnome
ImportError: No module named gnome

€ pacman -Ql gnome-python | grep site-packages
gnome-python /opt/gnome/lib/python2.4/site-packages/
gnome-python /opt/gnome/lib/python2.4/site-packages/gnome-python.pth
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/bonobo/
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/bonobo/__init__.py
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/bonobo/__init__.pyc
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/bonobo/__init__.pyo
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/bonobo/_bonobo.la
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/bonobo/_bonobo.so
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/bonobo/activation.lagnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/bonobo/activation.sognome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/bonobo/ui.la
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/bonobo/ui.so
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gconf.la
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gconf.so
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnome/
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnome/__init__.py
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnome/__init__.pyc
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnome/__init__.pyo
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnome/_gnome.la
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnome/_gnome.so
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnome/applet.la
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnome/applet.so
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnome/canvas.la
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnome/canvas.so
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnome/nautilus.la
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnome/nautilus.so
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnome/ui.la
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnome/ui.so
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnome/vfs.la
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnome/vfs.so
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnomeprint/
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnomeprint/__init__.py
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnomeprint/__init__.pyc
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnomeprint/__init__.pyo
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnomeprint/_print.lagnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnomeprint/_print.sognome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnomeprint/ui.la
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gnomeprint/ui.so
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gtkhtml2.la
gnome-python /opt/gnome/lib/python2.4/site-packages/gtk-2.0/gtkhtml2.so
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 25 January 2005, 22:10 GMT
Reason for closing:  Not a bug
Comment by Jan de Groot (JGC) - Monday, 24 January 2005, 15:55 GMT
What are the contents of /usr/lib/python2.4/site-packages/sitecustomize.py ?
it should at least contain these:

import site
site.addsitedir("/opt/gnome/lib/python2.4/site-packages")
Comment by Nikos Kouremenos (zeppelin) - Monday, 24 January 2005, 21:35 GMT
sorry jan, such file doesn't exist!
Comment by Nikos Kouremenos (zeppelin) - Monday, 24 January 2005, 22:22 GMT
I ask a friend who doesn't have this problem, and uses ArchLinux
pacman -Qo /usr/lib/python2.4/site-packages/sitecustomize.py

said no package to him.. why, and I also tried re-installing pacman -S gnome-python but nothing changes [still no such file]

what happend, I don't remember removing it..
and in which package is it included.

thank you jan
Comment by Jan de Groot (JGC) - Monday, 24 January 2005, 22:41 GMT
gnome-common drops the file there with the post_install script and removes it on post_remove, so pacman doesn't know to what package it belongs. Some other packages write to that file too, so it can only be edited by post_{install,remove} scripts.
Comment by Nikos Kouremenos (zeppelin) - Tuesday, 25 January 2005, 11:33 GMT
ok so I pacman -Rd gnome-common and pacman -S gnome-common and it now works. Another package seems to have removed this file! strange..
Thanks Jan, I hope it's just me

Loading...