From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 09:24:54 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 306E716A4CE for ; Tue, 22 Jun 2004 09:24:54 +0000 (GMT) Received: from antsrv1.ant.uni-bremen.de (antsrv1.ant.uni-bremen.de [134.102.176.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 838DB43D68 for ; Tue, 22 Jun 2004 09:24:53 +0000 (GMT) (envelope-from rebehn@ant.uni-bremen.de) Received: from bremerhaven.ant.uni-bremen.de ([134.102.176.10] helo=ant.uni-bremen.de) by antsrv1.ant.uni-bremen.de with esmtp (Exim 4.34 (FreeBSD)) id 1BchWN-0000OK-Vu; Tue, 22 Jun 2004 11:24:51 +0200 Message-ID: <40D7FAE3.5020904@ant.uni-bremen.de> Date: Tue, 22 Jun 2004 11:24:51 +0200 From: Heinrich Rebehn User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040607 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd@celestial.com References: <40D7035A.2020302@ant.uni-bremen.de> <20040621170833.GA22689@alexis.mi.celestial.com> In-Reply-To: <20040621170833.GA22689@alexis.mi.celestial.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: perl-tk no longer working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2004 09:24:54 -0000 Bill Campbell wrote: > On Mon, Jun 21, 2004, Heinrich Rebehn wrote: > >>Hi list, >> >>I rolled my own perl-tk script for adding/removing users on our cluster >>and it has been running fine for some years now. >>But when i wanted to use it today, it died with: > > > My SWAG is that you've updated perl recently, but not updated the perl::Tk > modules. Running two versions of perl on the same machine is possible (we > do it under the OpenPKG.org packagement system all the time), but can > easily lead to problems like this. > > >>root@antsrv1 [~] # usrmgr/usrmgr.pl >>[the usual messages about unused variables] >>X Error of failed request: BadAtom (invalid Atom parameter) >> Major opcode of failed request: 18 (X_ChangeProperty) >> Atom id in failed request: 0x1a6 >> Serial number of failed request: 12 >> Current serial number in output stream: 15 >> >>I have no clue what this could be. Other X11 apps run fine. I am logged >>in via ssh -X. >>Versions: >>FreeBSD 5.2.1-RELEASE-p8 >>p5-Tk-804.027 >>perl-5.6.1_15 Practical Extraction and Report Language >>perl-5.8.4 Practical Extraction and Report Language >> >>2 versions of perl? Is this ok? >> >>Does anyone have an idea? >> >>Regards, >> Heinrich Problem solved: It was not the perl upgrade, it is the X server which is to blame. I recently upgraded the Linux installation on my workstation and there seems to be a problem with xfree there. I did not get suspicious until i tried running the script under Linux and got exactly the same error message. Moving to another workstation with a different version of xfree solved the problem. --Heinrich