Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
~ # equery f tuned * Searching for tuned ... * Contents of sys-apps/tuned-2.4.1: /%{_tmpfilesdir} /%{_tmpfilesdir}/tuned.conf /%{_unitdir} /%{_unitdir}/tuned.service /etc /etc/dbus-1 /etc/dbus-1/system.d /etc/dbus-1/system.d/com.redhat.tuned.conf /etc/grub.d /etc/grub.d/00_tuned /etc/init.d /etc/init.d/tuned /etc/tuned /etc/tuned/active_profile /etc/tuned/bootcmdline /etc/tuned/tuned-main.conf /usr /usr/bin /usr/bin/powertop2tuned /usr/lib /usr/lib/python2.7 ..........ausschnitt.ende.......... |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »tux-fan« (06.01.2015, 23:45)
Quellcode |
|
1 2 3 4 5 6 7 |
src_prepare() { sed -i \ -e "/^UNITDIR = /s:\$.*:$(systemd_get_unitdir):" \ -e "/^TMPFILESDIR = /s:\$.*:\/usr\/lib\/tmpfiles.d:" \ -e "/^DESTDIR = /s:\/:\/run\/tuned:" \ Makefile || die } |
Das liegt wohl an dieser Fehlermeldung. Das GUI findet subprocess.py nicht. Daher geht dies nicht. Im ebuild ist dieses Paket auch nicht als Abhängigkeit drin. Müsstest es nach installieren, vorausgesetzt es würde geht.app läuft bis auf das gui.
Quellcode |
|
1 2 3 4 5 |
File "/usr/lib64/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1335, in _execute_child raise child_exception OSError: [Errno 2] Datei oder Verzeichnis nicht gefunden |
Quellcode |
|
1 2 3 4 5 6 |
* dev-python/psubprocess [1] Available versions: ~0.1.2 {PYTHON_TARGETS="python2_7"} Homepage: http://bioinf.comav.upv.es/psubprocess Description: Execute tasks in parallel [1] "science" /var/lib/layman/science |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=5 PYTHON_COMPAT=( python{2_6,2_7} ) inherit distutils-r1 DESCRIPTION="Execute tasks in parallel" HOMEPAGE="http://bioinf.comav.upv.es/psubprocess" SRC_URI="http://bioinf.comav.upv.es/downloads/"${P}".tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" IUSE="" DEPEND="sci-biology/biopython" RDEPEND="${DEPEND}" |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
/usr/sbin/tuned-gui Traceback (most recent call last): File "/usr/sbin/tuned-gui", line 1007, in <module> base = Base() File "/usr/sbin/tuned-gui", line 130, in __init__ tuned.gtk.gui_plugin_loader.GuiPluginLoader() File "/usr/lib64/python2.7/site-packages/tuned/gtk/gui_plugin_loader.py", line 84, in __init__ self.create_all(self._import_plugin_names()) File "/usr/lib64/python2.7/site-packages/tuned/gtk/gui_plugin_loader.py", line 116, in create_all self._plugins.add(self.repo.create(plugin_name)) File "/usr/lib64/python2.7/site-packages/tuned/plugins/repository.py", line 33, in create plugin_instance = plugin_cls(self._monitor_repository, self._storage_factory, self._hardware_inventory, self._device_matcher, self._plugin_instance_factory, self._global_cfg) File "/usr/lib64/python2.7/site-packages/tuned/plugins/plugin_selinux.py", line 27, in __init__ raise exceptions.NotSupportedPluginException("SELinux is not enabled on your system or incompatible version is used.") NameError: global name 'exceptions' is not defined |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 |
$ cat p.py #!/usr/bin/env python raise exceptions.NotImplementedError('to be coded...') $ ./p.py Traceback (most recent call last): File "./p.py", line 3, in <module> raise exceptions.NotImplementedError('to be coded...') NameError: name 'exceptions' is not defined |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 |
$ cat p.py #!/usr/bin/env python import exceptions raise exceptions.NotImplementedError('to be coded...') $ ./p.py Traceback (most recent call last): File "./p.py", line 3, in <module> raise exceptions.NotImplementedError('to be coded...') NotImplementedError: to be coded... |