[Bug 689467] New: /usr/share/X11/app-defaults/Ddd, /usr/bin/ddd
https://bugzilla.novell.com/show_bug.cgi?id=689467 https://bugzilla.novell.com/show_bug.cgi?id=689467#c0 Summary: /usr/share/X11/app-defaults/Ddd, /usr/bin/ddd Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: 64bit OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: X11 Applications AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: hans-juergen.greif@kabelbw.de QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=426320) --> (http://bugzilla.novell.com/attachment.cgi?id=426320) strace matlab -Dddd User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.16) Gecko/20110319 SUSE/3.6.16-0.2.1 Firefox/3.6.16 Hello, on >matlab -Dddd I get this output: WARNING: UTF-8 charmap detected. Switching off UTF-8 as ddd has problems with it. See README.SUSE for futher information. Use -x parameter to bypass this wrapper. Error: No `Ddd' application defaults file To resolve this problem, you can: * set the XAPPLRESDIR environment variable to the location of the file `Ddd', or * set the DDD_HOME environment variable to the location of `ddd/Ddd', or * install the `Ddd' file in the X application defaults directory, or * recompile DDD with builtin app-defaults file; see the `--enable-builtin-app-defaults' option for details. instead of a ddd-window to debug a mex file. RHEL 6 pops up this ddd-window. I cannot understand these messages. The command 'which ddd' gives /usr/bin/ddd. On searching "Ddd" the opensuse 11.3 64bit find /usr/share/X11/app-defaults/Ddd Ddd is not a debugger program. Any hints? Cheers grepi Reproducible: Always Steps to Reproduce: 1.matlab -Dddd 2.matlab -Dddd 3.matlab -Dddd Actual Results: Message given above Expected Results: ddd-window -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=689467
https://bugzilla.novell.com/show_bug.cgi?id=689467#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=689467
https://bugzilla.novell.com/show_bug.cgi?id=689467#c1
Petr Gajdos
UTF-8 charmap detected. Switching off UTF-8 as ddd has problems with it. See README.SUSE for futher information. Use -x parameter to bypass this wrapper.
You should really read README.SUSE and bug referenced there to understand it. This should not prevent ddd to run, though.
Error: No `Ddd' application defaults file To resolve this problem, you can: * set the XAPPLRESDIR environment variable to the location of the file `Ddd', or * set the DDD_HOME environment variable to the location of `ddd/Ddd', or * install the `Ddd' file in the X application defaults directory, or * recompile DDD with builtin app-defaults file; see the `--enable-builtin-app-defaults' option for details.
This simply says that Ddd config file cannot be found. Try to run ddd alone, it should work. When you move /usr/share/X11/app-defaults/Ddd to /usr/share/X11/app-defaults/Ddd.bak you should see the message above again. Try to grep your strace output on Ddd string, you will see where is ddd trying to find this config file and grep Ddd | grep -v ENOENT gives surely nothing. I don't know how matlab calls ddd (with which parameters and environment variables). To fix this, you can try * to link /usr/share/X11/app-defaults/Ddd to e. g. /home/gre/Ddd or some other location where ddd under matlab call is searching, * to try to set XAPPLRESDIR or DDD_HOME to /usr/share/X11/app-defaults/Ddd as ddd hints -- maybe it will get propagated into matlab call, * to convince matlab with some other parameters or setting to not tell ddd wrong location of Ddd file (I don't know its location on RHEL 6.). Does something from above help you? Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=689467
https://bugzilla.novell.com/show_bug.cgi?id=689467#c2
Petr Gajdos
Does something from above help you?
If not, feel free to reopen. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com