Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-05-2014, 03:08 PM   #1
LQ Newbie
Registered: Jun 2014
Posts: 1

Rep: Reputation: Disabled
Cannot render graph after transition to Wheezy

Hi All,

I get the following error in my code after having upgraded to Wheezy:

X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 152 (RENDER)
Minor opcode of failed request: 4 (RenderCreatePicture)
Serial number of failed request: 2465
Current serial number in output stream: 2474

The lines that produce the error are:

proc fmrgraph { f } {
# creates a graph in a frame and returns the address of the graph part
frame $f
graph $f.g -background #ffffff -plotbackground #ffffff\
-plotrelief flat -title "" ;# graph
$f.g configure -width 9i -height 5i
frame $f.c ;# frame for function buttons
button $f.c.maxmin -text MaxMin -command MaxMin
button $f.c.manual -text Manual -command [ list ManPick $f.g $f.c.manual ]
button $f.c.wipe -text WipeMarks -command [ list wipemarks $f.g ]
button $ -text FitPick -command [ list FitPick $f.g ]
button $f.c.print -text Print -command[list PrintGraph $f.g]
button $f.c.dat -text "Save" -command Save
button $ -text "Read" -command Read
button $f.c.clear -text "Clear" -command Clear

pack $f.c.maxmin $f.c.manual $f.c.wipe $ -side left
pack $f.c.print $f.c.clear $ $f.c.dat -side right
pack $f.g
pack $f.c -fill x

$f.g element create line1 -symbol none -label "" -color red
$f.g yaxis configure -title "Signal (V)"

return $f.g

set fgraph [fmrgraph $expt.g]
#return 'x'
pack $expt.g -side top

This is all based on inherited tcl-tk and blt subpackage code. I'm not sure if that helps.

Any ideas would be appreciated!


Old 06-08-2014, 11:26 AM   #2
Senior Member
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
having upgraded to Wheezy:
From what?
failed request: BadMatch (invalid parameter attributes)
I'm not the guy to ask, but if your code hasn't changed, that looks like a datatype has been redefined in-between kernel versions, which isn't likely, so look at the modules instead. Are you loading the same package of modules in wheezy that you were in your prior kernel?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Now I've done it - Debian dual boot (Sid, Wheezy) grub overwritten, lost Wheezy? ShaneRoach Debian 23 02-02-2014 02:28 PM
LXer: Steady improvements in Debian Wheezy and a smooth transition from Squeeze LXer Syndicated Linux News 0 12-01-2012 05:50 AM
Linux 3D Render TanKCR Linux - Newbie 2 04-16-2010 10:06 AM
XP --> Slackware Transition RaptorX Slackware 13 07-01-2009 11:51 AM
why? render.h, missing? phenixs Linux - Software 14 03-21-2007 10:57 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration