Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
molli@penguin /opt $ freemind Traceback (most recent call last): File "/usr/bin/gjl", line 295, in <module> pkg = manager.get_package(options.package) File "/usr/lib/python2.6/site-packages/java_config_2/EnvironmentManager.py", line 147, in get_package return self.load_package(pkgname) File "/usr/lib/python2.6/site-packages/java_config_2/EnvironmentManager.py", line 70, in load_package pkg = Package(name, self.pkg_path % name ) File "/usr/lib/python2.6/site-packages/java_config_2/Package.py", line 17, in __init__ self._config = EnvFileParser(file).get_config() File "/usr/lib/python2.6/site-packages/java_config_2/FileParser.py", line 62, in __init__ self.parse(file) File "/usr/lib/python2.6/site-packages/java_config_2/FileParser.py", line 20, in parse raise PermissionError java_config_2.Errors.PermissionError Couldn't get needed information |
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 26 27 |
molli@penguin /opt $ java-config -l Traceback (most recent call last): File "/usr/bin/java-config-2", line 386, in <module> (options, args) = parser.parse_args(args=args) File "/usr/lib/python2.6/optparse.py", line 1394, in parse_args stop = self._process_args(largs, rargs, values) File "/usr/lib/python2.6/optparse.py", line 1438, in _process_args self._process_short_opts(rargs, values) File "/usr/lib/python2.6/optparse.py", line 1545, in _process_short_opts option.process(opt, value, values, self) File "/usr/lib/python2.6/optparse.py", line 788, in process self.action, self.dest, opt, value, values, parser) File "/usr/lib/python2.6/optparse.py", line 808, in take_action self.callback(self, opt, value, parser, *args, **kwargs) File "/usr/bin/java-config-2", line 133, in list_available_packages for package in manager.get_packages().itervalues(): File "/usr/lib/python2.6/site-packages/java_config_2/EnvironmentManager.py", line 156, in get_packages self.load_packages() File "/usr/lib/python2.6/site-packages/java_config_2/EnvironmentManager.py", line 88, in load_packages self.packages[name] = Package(name, package) File "/usr/lib/python2.6/site-packages/java_config_2/Package.py", line 17, in __init__ self._config = EnvFileParser(file).get_config() File "/usr/lib/python2.6/site-packages/java_config_2/FileParser.py", line 62, in __init__ self.parse(file) File "/usr/lib/python2.6/site-packages/java_config_2/FileParser.py", line 20, in parse raise PermissionError java_config_2.Errors.PermissionError |
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 26 27 28 29 30 |
penguin opt # freemind Looking for user properties: /root/.freemind/user.properties User properties found. Default (System) Look & Feel: javax.swing.plaf.metal.MetalLookAndFeel [Freemind-Developer-Internal-Warning (do not write a bug report, please)]: Tried to get view without being able to get map module. 06.06.2010 21:21:09 freemind.modes.ModesCreator getAllModes INFO: Modes:[freemind.modes.browsemode.BrowseMode, freemind.modes.filemode.FileMode, freemind.modes.mindmapmode.MindMapMode] 06.06.2010 21:21:09 freemind.modes.ModesCreator getMode INFO: Initializing mode MindMap User patterns file /root/.freemind/patterns.xml not found. 06.06.2010 21:21:10 freemind.modes.mindmapmode.MindMapController <init> INFO: createIconActions 06.06.2010 21:21:10 freemind.modes.mindmapmode.MindMapController <init> INFO: createNodeHookActions 06.06.2010 21:21:11 freemind.modes.mindmapmode.MindMapController <init> INFO: mindmap_menus 06.06.2010 21:21:11 freemind.modes.mindmapmode.MindMapController <init> INFO: MindMapPopupMenu 06.06.2010 21:21:11 freemind.modes.mindmapmode.MindMapController <init> INFO: MindMapToolBar 06.06.2010 21:21:11 freemind.modes.mindmapmode.MindMapController <init> INFO: setAllActions 06.06.2010 21:21:11 freemind.modes.ModesCreator getMode INFO: Done: Initializing mode MindMap [Freemind-Developer-Internal-Warning (do not write a bug report, please)]: Tried to get view without being able to get map module. [Freemind-Developer-Internal-Warning (do not write a bug report, please)]: Tried to get view without being able to get map module. [Freemind-Developer-Internal-Warning (do not write a bug report, please)]: Tried to get view without being able to get map module. |
Quellcode |
|
1 2 3 |
penguin opt # java-config -l [ant-core] Java-based build tool similar to 'make' that uses XML configuration files. (/usr/share/ant-core/package.env) [freemind] Mind-mapping software written in Java (/usr/share/freemind/package.env) |
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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
root::0:root bin::1:root,bin,daemon daemon::2:root,bin,daemon sys::3:root,bin,adm adm::4:root,adm,daemon tty::5: disk::6:root,adm,haldaemon lp::7:lp mem::8: kmem::9: wheel::10:root,molli,gast floppy::11:root,haldaemon,molli mail::12:mail news::13:news uucp::14:uucp man::15:man console::17: audio::18:molli,gast,root cdrom::19:haldaemon,molli dialout::20:root,molli tape::26:root,molli video::27:root,molli cdrw::80:haldaemon usb::85:haldaemon users::100:games,molli,gast nofiles:x:200: smmsp:x:209:smmsp portage::250:portage utmp:x:406: nogroup::65533: nobody::65534: sshd:x:22: cron:x:16: ssmtp:x:1000: molli:x:1001: dhcp:x:1002: messagebus:x:1003: haldaemon:x:1004:haldaemon plugdev:x:1005:haldaemon rpc:x:111: lpadmin:x:106: scanner:x:1006: mysql:x:60: p2p:x:1007: games:x:35:molli,root netdev:x:1008: avahi:x:1009: gast:x:1010: vboxusers:x:1011: apache:x:81: polkituser:x:1012: vmware:x:1013: antivir:x:1014: drweb:x:1015: |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »mollilinux« (13.06.2010, 19:32)
Quellcode |
|
1 2 |
Wie wurde "sun-jdk" denn einst installiert, via emerge , oder evtl. manuell ? |
Quellcode |
|
1 2 3 4 5 6 7 8 |
penguin molli # eselect java-vm list Available Java Virtual Machines: [1] sun-jdk-1.6 system-vm penguin molli # eselect java-vm show Current system-vm sun-jdk-1.6 Current user-vm (unset) |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 |
penguin molli # java-config --list-available-vms The following VMs are available for generation-2: *) Sun JDK 1.6.0.17 [sun-jdk-1.6] VMs marked as Build Only may contain Security Vulnerabilities and/or be EOL. Gentoo recommends not setting these VMs as either your System or User VM. Please see http://www.gentoo.org/doc/en/java.xml#build-only for more information penguin molli # eselect java-nsplugin list Available Java browser plugins [1] sun-jdk-1.6 current [2] sun-jdk-1.6-plugin2 |
Zitat von »josef.95«
Bin mir nun nicht sicher, aber evtl. muss der User sich dann erst neu anmelden.
Quellcode |
|
1 2 |
molli@penguin ~ $ java-config-2 -s sun-jdk-1.6 Now using sun-jdk-1.6 as your user JVM |
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 26 27 |
molli@penguin ~ $ java-config -l Traceback (most recent call last): File "/usr/bin/java-config-2", line 386, in <module> (options, args) = parser.parse_args(args=args) File "/usr/lib/python2.6/optparse.py", line 1394, in parse_args stop = self._process_args(largs, rargs, values) File "/usr/lib/python2.6/optparse.py", line 1438, in _process_args self._process_short_opts(rargs, values) File "/usr/lib/python2.6/optparse.py", line 1545, in _process_short_opts option.process(opt, value, values, self) File "/usr/lib/python2.6/optparse.py", line 788, in process self.action, self.dest, opt, value, values, parser) File "/usr/lib/python2.6/optparse.py", line 808, in take_action self.callback(self, opt, value, parser, *args, **kwargs) File "/usr/bin/java-config-2", line 133, in list_available_packages for package in manager.get_packages().itervalues(): File "/usr/lib/python2.6/site-packages/java_config_2/EnvironmentManager.py", line 156, in get_packages self.load_packages() File "/usr/lib/python2.6/site-packages/java_config_2/EnvironmentManager.py", line 88, in load_packages self.packages[name] = Package(name, package) File "/usr/lib/python2.6/site-packages/java_config_2/Package.py", line 17, in __init__ self._config = EnvFileParser(file).get_config() File "/usr/lib/python2.6/site-packages/java_config_2/FileParser.py", line 62, in __init__ self.parse(file) File "/usr/lib/python2.6/site-packages/java_config_2/FileParser.py", line 20, in parse raise PermissionError java_config_2.Errors.PermissionError |
Quellcode |
|
1 |
$ echo "r" | python -m pdb /usr/bin/java-config-2 |
Zitat von »dyle«
Welche java-config Version hast du da? 2.1.11?
Kommst was anderes, wenn du mit java-config-2 so arbeitest:
Quellcode
1 $ echo "r" | python -m pdb /usr/bin/java-config-2
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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
penguin molli # echo "r" | python -m pdb /usr/bin/java-config-2 > /usr/bin/java-config-2(8)<module>() -> from java_config_2 import __version__ (Pdb) Usage: java-config [options] Java Configuration Utility Version 2.1.9 Copyright 2004-2005 Gentoo Foundation Distributed under the terms of the GNU General Public License v2 Please contact the Gentoo Java Herd <java@gentoo.org> with problems. Options: -V, --version Print version information -n, --nocolor Disable color output --select-vm=VM Use this vm instead of the active vm when returning information -J, --java Print the location of the java executable -c, --javac Print the location of the javac executable -j, --jar Print the location of the jar executable -t, --tools Print the path to tools.jar -f, --show-active-vm Print the active Virtual Machine -v, --java-version Print version information for the active VM -g VAR, --get-env=VAR Print an environment variable from the active VM -P VM, --print=VM Print the environment for the specified VM -e COMMAND, --exec_cmd=COMMAND Execute something which is in JAVA_HOME -L, --list-available-vms List available Java Virtual Machines -S VM, --set-system-vm=VM Set the default Java VM for the system -s VM, --set-user-vm=VM Set the default Java VM for the user -l, --list-available-packages List all available packages on the system. -d, --with-dependencies Include package dependencies in --classpath and --library calls -p PACKAGE(S), --classpath=PACKAGE(S) Print entries in the environment classpath for these packages --package=PACKAGE(S) Retrieve a value from a packages package.env file, value is specified by --query -q QUERY, --query=QUERY Value to retieve from packages package.env file, specified by --package -i PACKAGE(S), --library=PACKAGE(S) Print java library paths for these packages -A PACKAGE(S), --set-system-classpath=PACKAGE(S) (Deprecated) Set the system classpath to include the libraries -B PACKAGE(S), --append-system-classpath=PACKAGE(S) (Deprecated) Append the libraries to the system classpath -X, --clean-system-classpath (Deprecated) Clean the current system classpath -a PACKAGE(S), --set-user-classpath=PACKAGE(S) (Deprecated) Set the user classpath to include the libraries -b PACKAGE(S), --append-user-classpath=PACKAGE(S) (Deprecated) Append the libraries to the user classpath -x, --clean-user-classpath (Deprecated) Clean the current user classpath --get-virtual-providers=PACKAGE(S) (Experimental) Return a list of packages that provide a virtual -r, --runtime Print the runtime classpath -O, --jdk-home Print the location of the active JAVA_HOME -o, --jre-home Print the location of the active JAVA_HOME -h, --help show this help message and exit --Return-- > /usr/bin/java-config-2(362)<module>()->None -> parser.print_help() (Pdb) |
Quellcode |
|
1 2 3 4 |
molli@penguin ~ $ eselect python list Available Python interpreters: [1] python2.6 * [2] python3.1 |
Quellcode |
|
1 2 3 4 5 6 |
penguin molli # echo "r" | python -m pdb /usr/bin/java-config-2 SyntaxError: ('invalid syntax', ('/usr/bin/java-config-2', 89, 34, ' except UnexistingPackageError, e:\n')) > <string>(1)<module>() (Pdb) --Return-- > <string>(1)<module>()->None (Pdb) |
Kommst was anderes, wenn du mit java-config-2 so arbeitest:
Quellcode
1 $ echo "r" | python -m pdb /usr/bin/java-config-2
Zitat von »mollilinux«
Es scheinen auch Java-Applets z.B unter Firefox etc. als normaler Benutzer nicht zu funktionieren.
Zitat von »dyle«
Ich meinte, wenn du damit arbeitest. Sprich hinten noch die jeweilige Option drangehängt bzw. Aktion gesetzt.
Quellcode |
|
1 2 3 |
molli@penguin ~ $ echo "r" | python -m pdb /usr/bin/java-config-2 freemind > /usr/bin/java-config-2(4)<module>() -> import os |
Zitat von »josef.95«
Wurde evtl. versäumt?
Quellcode
1 # python-updater
auszuführen?
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 |
<<< /usr/lib/python2.6/site-packages/java_config_2/OutputFormatter.py[co] <<< /usr/lib/python2.6/site-packages/java_config_2/__init__.py[co] <<< /usr/lib/python2.6/site-packages/java_config_2/VersionManager.py[co] <<< /usr/lib/python2.6/site-packages/java_config_2/Errors.py[co] <<< /usr/lib/python2.6/site-packages/java_config_2/Package.py[co] <<< /usr/lib/python2.6/site-packages/java_config_2/VM.py[co] <<< /usr/lib/python2.6/site-packages/java_config_2/FileParser.py[co] <<< /usr/lib/python2.6/site-packages/java_config_2/Virtual.py[co] <<< /usr/lib/python2.6/site-packages/java_config_2/EnvironmentManager.py[co] <<< /usr/lib/python2.6/site-packages/java_config_2 |
Quellcode |
|
1 2 |
# chmod -R 755 /usr/lib/python2.6 # chmod -R 755 /usr/lib/python2.6/* |
Quellcode |
|
1 |
# chmod -R 755 /usr/lib/python2.6 |
Quellcode |
|
1 |
# chmod -R 755 /usr/lib/python2.6/* |
Quellcode |
|
1 |
# emerge -av1 python:2.6 |
Zitat von »josef.95«
Hm.., wie konnte es den dazu kommen das die Rechte nicht mehr passen
Zitat von »josef.95«
Eventuell solltest du besser python:2.6 noch mal neu bauen
Quellcode
1 # emerge -av1 python:2.6
das sollte (hoffentlich) die Rechte wieder korrekt setzen.