flexvault has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks,

I have never used X11 or Tk with Perl. So I installed both on a Debian Linux workstation and I could get the 'hello-world' script to work. But when I use 'eXceed' from my PC to connect to the workstation, I get:

~/X11/mptk-code14/ch01$ perl hello-world X Error of failed request: BadAtom (invalid Atom parameter) Major opcode of failed request: 18 (X_ChangeProperty) Atom id in failed request: 0xda Serial number of failed request: 12 Current serial number in output stream: 15 ~/X11/mptk-code14/ch01$
I can run the 'X11' examples without a problem, but not the 'Tk' examples. I tried 'super search' on this, but didn't find anything useful. The book 'Mastering Perl/Tk' states:
Atoms...map strings to an integer identifier...

Does anyone have a pointer to 'how to set Atom parameters for Tk...'

Regards...Ed

"Well done is better than well said." - Benjamin Franklin

Replies are listed 'Best First'.
Re: Tk failed with eXceed: BadAtom
by karlgoethebier (Abbot) on Dec 30, 2014 at 21:44 UTC
    "X Error of failed request: BadAtom (invalid Atom parameter)"

    I don't know what that means, but did you try this?

    Perhaps this is "a pointer".

    Regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

Re: Tk failed with eXceed: BadAtom
by Anonymous Monk on Dec 30, 2014 at 23:02 UTC
    What is the version of each thing involved?