[TriLUG] Fwd: Re: [Expert] nedit suddenly not working <SOLVED>

Steve Litt slitt at troubleshooters.com
Sat Dec 23 20:15:25 EST 2006


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 <slitt at troubleshooters.com>
To: expert at mandrivalinux.org

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:

[slitt at mydesk ~]$ 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
[slitt at mydesk ~]$

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:

[slitt at mydesk ~]$ XLIB_SKIP_ARGB_VISUALS=1 nedit
nedit: the current locale is utf8 (en_US.UTF-8)
nedit: changed locale to non-utf8 (en_US)
[slitt at mydesk ~]$

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/



More information about the TriLUG mailing list