It began with Deluge suddenly wouldn't start, and output som errors about python modules. (I can't remember if I did any changes, but it's of course likely.)
Having no or less clue, i began messing with things i should'nt have, the most genious action was to unmerge python.
Now atleast python is back in and emerge works again, but a lot of python related stuff crashes. I've done emerge world, re-emerged python after manual install, re-emerged pyGTK, some modules i can't even remember wich deluge asked for, and finally gobject.
Now Deluge(also re-emerged) still says:
And emerging vuze and its first dependency also fails with python-related files:kristoffer@desktop ~ $ deluge
[INFO ] 20:17:39 main:85 Deluge ui 1.0.7
[DEBUG ] 20:17:39 main:86 options: {'config': None, 'logfile': None, 'ui': None}
[DEBUG ] 20:17:39 main:87 args: []
Traceback (most recent call last):
File "/usr/local/bin/deluge", line 8, in <module>
load_entry_point('deluge==1.0.7', 'console_scripts', 'deluge')()
File "/usr/local/lib/python2.5/site-packages/deluge/main.py", line 89, in start_ui
from deluge.ui.ui import UI
File "/usr/local/lib/python2.5/site-packages/deluge/ui/ui.py", line 26, in <module>
import deluge.configmanager
File "/usr/local/lib/python2.5/site-packages/deluge/configmanager.py", line 26, in <module>
import gobject
ImportError: No module named gobject
I've been googleing for days, searched through this forum and seen similar issues, and tried some of the proposed solutions without luck.>>> Emerging (1 of 4) dev-java/log4j-1.2.15-r1
* apache-log4j-1.2.15.tar.gz RMD160 SHA1 SHA256 size... [ ok ]
* checking ebuild checksums... [ ok ]
* checking auxfile checksums... [ ok ]
* checking miscfile checksums... [ ok ]
* Using: sun-jdk-1.6
>>> Unpacking source...
>>> Unpacking apache-log4j-1.2.15.tar.gz to /var/tmp/portage/dev-java/log4j-1.2.15-r1/work
tar: A lone zero block at 28567
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-java/log4j-1.2.15-r1/work/apache-log4j-1.2.15 ...
Changing ignoresystemclasses to true for available tasks in /var/tmp/portage/dev-java/log4j-1.2.15-r1/work/apache-log4j-1.2.15/build.xml
Rewriting /var/tmp/portage/dev-java/log4j-1.2.15-r1/work/apache-log4j-1.2.15/build.xml
Traceback (most recent call last):
File "/usr/lib/javatoolkit/bin/xml-rewrite-2.py", line 305, in <module>
rewriter.process(f)
File "/usr/lib/javatoolkit/bin/xml-rewrite-2.py", line 194, in process
parse(in_stream, self)
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/__init__.py", line 28, in parse
parser = make_parser()
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/sax2exts.py", line 37, in make_parser
return XMLParserFactory.make_parser(parser_list)
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/saxexts.py", line 75, in make_parser
sys.modules[parser_name].create_parser = _create_parser
KeyError: 'xml.sax.drivers2.drv_pyexpat'
*
* ERROR: dev-java/log4j-1.2.15-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 4030: Called java-pkg-2_src_compile
* environment, line 2193: Called eant 'jar' '-f' 'build.xml' '-Djaxp-present=true'
* environment, line 804: Called java-ant-2_src_configure
* environment, line 1982: Called java-ant_ignore-system-classes '/var/tmp/portage/dev-java/log4j-1.2.15-r1/work/apache-log4j-1.2.15/build.xml'
* environment, line 2124: Called java-ant_xml-rewrite '-f' '/var/tmp/portage/dev-java/log4j-1.2.15-r1/work/apache-log4j-1.2.15/build.xml' '--change' '-e' 'available' '-a' 'ignoresystemclasses' '-v' 'true'
* environment, line 2149: Called die
* The specific snippet of code:
* ${gen2_1} "${@}" || die "${gen2_1} failed";
* The die message:
* /usr/lib/javatoolkit/bin/xml-rewrite-2.py failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-java/log4j-1.2.15-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-java/log4j-1.2.15-r1/temp/environment'.
*
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.11"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info
>>> Failed to emerge dev-java/log4j-1.2.15-r1, Log file:
>>> '/var/tmp/portage/dev-java/log4j-1.2.15-r1/temp/build.log'
* Messages for package dev-java/log4j-1.2.15-r1:
*
* ERROR: dev-java/log4j-1.2.15-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 4030: Called java-pkg-2_src_compile
* environment, line 2193: Called eant 'jar' '-f' 'build.xml' '-Djaxp-present=true'
* environment, line 804: Called java-ant-2_src_configure
* environment, line 1982: Called java-ant_ignore-system-classes '/var/tmp/portage/dev-java/log4j-1.2.15-r1/work/apache-log4j-1.2.15/build.xml'
* environment, line 2124: Called java-ant_xml-rewrite '-f' '/var/tmp/portage/dev-java/log4j-1.2.15-r1/work/apache-log4j-1.2.15/build.xml' '--change' '-e' 'available' '-a' 'ignoresystemclasses' '-v' 'true'
* environment, line 2149: Called die
* The specific snippet of code:
* ${gen2_1} "${@}" || die "${gen2_1} failed";
* The die message:
* /usr/lib/javatoolkit/bin/xml-rewrite-2.py failed
After a few days break from it all, I decided to post here.
I've probably missed out on some info from my system, please tell me what you need to help.
Help is really appreciated on this one!
