Hi Alan, weekend is family time, so no work from my side on this issue here. I just updated to the last plplot version and I get now little different warnings.
>> >> No, colors changed, but I still get warnings, and the colors are >> also still >> wrong: >> >> *** PLPLOT WARNING *** >> Unrecognized cmap1 format 0.0 1.0 1.0 1.0 1.0 0 >> >> *** PLPLOT WARNING *** >> Unrecognized cmap1 format 0. 240. 0.5 1.0 1. 0 >> >> *** PLPLOT WARNING *** >> Unrecognized cmap1 format 0.0 0.0 0.0 0.0 1.0 0 *** PLPLOT WARNING *** Unrecognized cmap1 format (wrong number of items for version 2 of format) 0.0 1.0 1.0 1.0 1.0 0 *** PLPLOT WARNING *** Unrecognized cmap1 format (wrong number of items for version 2 of format) 0. 240. 0.5 1.0 1. 0 *** PLPLOT WARNING *** Unrecognized cmap1 format (wrong number of items for version 2 of format) 0.0 0.0 0.0 0.0 1.0 0 > > First, I cannot reproduce any of the difficulties/warning messages > you are > seeing. So finding the solution to this issue is going to require > some > more experimentation/debugging on your part. Sure, I'll try to debug that, but have limited time to do so. > > Second, please use revision 10355 (or later) for all further > investigation. > I just now made changes for that revision to output more information > in the > warning messages to make it easier to identify exactly which part of > the > code is generating the warning message. That explains the more verbose warning messages. > By the way, I am pretty sure (unless a device driver is really > screwed up) > that cmap1 palette reading troubles should be device independent. > Could you > confirm that by trying -dev psc for example 16? Nope, this warnings only occur with the qt devices. All other drivers I tried (wxwidgets, xwin, ps, pdf) worked as expected. > > The above warning message seem to be only related to the palette > files I > identified and cmap1_default.pal (used for page 4 of example 16) > doesn't > appear to be giving you any trouble. On the other hand, the (very) > strange > thing is example 16 also uses cmap1_gray.pal for the first page, and > you > didn't report any warning messages for that page. > > Could you please try some experiments with > > examples/c/x10c -cmap1 cmap1_*.pal -dev psc -o test.psc > > to see if you have any problems with the above palette files in that > case? Will do that now. > > Once the new warning messages have identified exactly where in the > code the > problem is occurring, could you please try a gdb session (or printf's > scattered around plspal1) to see exactly what is going wrong? > > I am sorry so much of the work tracking down this issue is on your > shoulders, but there is not much I can do here except make > suggestions for > experiments since I am getting perfect (valgrind-clean and heap-clean) > results here. My guess is there is something in the plspal1 code that > depends on some assumption that is only true on Linux, but I don't > know > what that could be. The problem must be somehow related to the qt driver (though as you, I can't imagine what the problem might be) and I try to debug it. Since I have not much experience with qt and also not much time, this might take a little. Regards, Werner > > Alan > __________________________ > Alan W. Irwin > > Astronomical research affiliation with Department of Physics and > Astronomy, > University of Victoria (astrowww.phys.uvic.ca). > > Programming affiliations with the FreeEOS equation-of-state > implementation > for stellar interiors (freeeos.sf.net); PLplot scientific plotting > software > package (plplot.org); the libLASi project (unifont.org/lasi); the > Loads of > Linux Links project (loll.sf.net); and the Linux Brochure Project > (lbproject.sf.net). > __________________________ > > Linux-powered Science > __________________________ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Plplot-devel mailing list > Plplot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/plplot-devel -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sme...@iap.tuwien.ac.at web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel