Hi all, This came from the Mandriva Expert list, and in case any of you gets a version of nedit that doesn't run, or some other app that errors out with "X Error of failed request: BadMatch (invalid parameter attributes)", this might help.
SteveT ---------- Forwarded Message ---------- Subject: Re: [Expert] nedit suddenly not working <SOLVED> Date: Saturday 23 December 2006 10:23 From: Steve Litt <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] On Saturday 23 December 2006 05:25, David Guntner wrote: > I don't think I've tried to use nedit since updating to 2007 (although I > may have and just don't remember), but it seems that I cannot run it for > some reason. Even as root. When I try, I get an error: > > $ nedit > X Error of failed request: BadMatch (invalid parameter attributes) > Major opcode of failed request: 70 (X_PolyFillRectangle) > Serial number of failed request: 384 > Current serial number in output stream: 394 > > Any ideas what might be causing this? > > --Dave Hi Dave, I've never used nedit before, but to test this I installed it from my DVD and ran it. I received a similar error message: [EMAIL PROTECTED] ~]$ nedit nedit: the current locale is utf8 (en_US.UTF-8) nedit: changed locale to non-utf8 (en_US) X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 70 (X_PolyFillRectangle) Serial number of failed request: 382 Current serial number in output stream: 392 [EMAIL PROTECTED] ~]$ I tailed /var/log/messages while trying starting nedit and got no output. I looked up "Error of failed request: BadMatch" on Google, and after going through a bunch of fools asking questions and never submitting a <SOLVED> when they figured it out, I found one that made three suggestions: * nedit -xrm '*visualID: default' * XLIB_SKIP_ARGB_VISUALS=1 nedit * compile nedit from the latest CVS sources In fact, I tried the middle one, and it worked and brought up an nedit window: [EMAIL PROTECTED] ~]$ XLIB_SKIP_ARGB_VISUALS=1 nedit nedit: the current locale is utf8 (en_US.UTF-8) nedit: changed locale to non-utf8 (en_US) [EMAIL PROTECTED] ~]$ So make yourself a little shellscript like this -- call it ne and put it on the path: $!/bin/bash XLIB_SKIP_ARGB_VISUALS=1 nedit HTH SteveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/ -- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
