Re: Re: png for trends
"Kenneth.ray" <[email protected]>
| Newsgroups | gmane.network.netsaint.user |
|---|---|
| Message-ID | <[email protected]> |
Dear Sir, thank you for your e-mail you are right, however, that was not the case in my problem, the actual problem was, even though the packages downloaded had all the binaries, the librarys they pointed to, were not included or in the wrong place in the package. If you look at the (i think this is the name)trends.png file you will notice that the interior of that file where the data should be is empty. this is actually filled in by the call by the CGI, (at least as far as i could tell) and then displayed on the screen. Like Dave, I had issues with the display of the image data inside. Though I agree with you about the netscape version being an issue with display, What he is experiencing is exactly the issue i had, the image would come up but the data inside was missing..(in his case onlly displayed in Opera) no errors would be given because the browser was given a "end of file" from the call. hence, opera would display the template png, and no data. I found that this all stemmed around how I built the png,gd, zlib entities on my Solaris Box. So I gave him my conclusion in the hopes that he had the exact issue i had, and since his symptoms where the same its a good place to start. recompile gd /png libraries and dependencies from the source code and not take the install packages freely available from www.sunfreeware.com (plug plug plug) *smile* Also 4.74 actually supports png files (at least on my windows workstation it does.) but what Dave was describing from his image in Opera would still be the case in Netscape. An image template without the data would be displayed. I hope this explains better, my answer to Dave. And provided Dave is using a PNG compatible version of Netscape like you suggest. HTH Ken Scott Baker wrote: > Sounds to me like you're just running the old version of Netscape, anything > in the 4.x line. I'm pretty sure they do NOT have support for .PNG files > at all. That would explain why opera works and NS doens't. > > Scott > > At 04:13 PM 9/18/2002 -0400, you wrote: > >hi, Boy you really are a rocket scientist *smile* > >just mucking around with it myself, i found that you need all the peices > >of the puzzle > >for it to work. meaning you need all the packages associated with > >PNG installed for it to work correctly. > >I would also suggest, rather than taking the standard preconfigured > >binary packages for the components, you actually compile them for > >your system. I know on my box, this made a big difference to actually > >get the machine to display the image. also PNG i believe has a "make test" > >that will create image to ensure that all the librarys required are there. > >but its been so long ago since i installed thit that it is quite possible i am > >mistaken. > >HTH > >your humble servant, > >Kenneth Ray > > > > > >Message: 7 > >Date: Wed, 18 Sep 2002 14:05:37 -0400 (EDT) > >From: Dave Stern - Former Rocket Scientist <[email protected]> > >Reply-To: [email protected] > >To: netsaint users list <[email protected]> > >Subject: [netsaint] png for trends,statusmap.cgi > > > >I had a working version of netsaint-0.0.7 on a solaris box then started > >mucking with it. I'm at the point were everything works except trends and > >the statusmap. Worse, neither gives any error, just displays the unknown > >icon for the image. Even stranger, while netscape displays the unknow > >image for both, the "opera" browser actually will display the statusmap > >but comes up with the blank image for trends. > > > >I checked libpng ea libraries for the above (they at least exist) and even > >went as far as figuring out how to run trends.cgi from the command line: > > > >% setenv QUERY_STRING > >"createimage&t1=1032274919&t2=1032361319&assumeinitialstates=on&assumeinitialstateok=on&assumestateretention=on&host=adam&backtrack=2&zoom=4" > >I can even truss trends.cgi and it doesn't appear to give an error. The > >output > >from running trends.cgi after setting the above variable is > > > >Cache-Control: no-store > >Pragma: no-cache > >Last-Modified: Wed, 18 Sept 2002 17:55:43 GMT > >Expires: Thu, 01 Jan 1970 00:00:00 GMT > >Content-Type: image/png > > > > > >Any ideas on even how to debug this further? > >TIA > > > > > > > > > >------------------------------------------------------- > >This SF.NET email is sponsored by: AMD - Your access to the experts > >on Hammer Technology! Open Source & Linux Developers, register now > >for the AMD Developer Symposium. Code: EX8664 > >http://www.developwithamd.com/developerlab > >_______________________________________________ > >Netsaint-users mailing list > >[email protected] > >https://lists.sourceforge.net/lists/listinfo/netsaint-users -- this message and any attachments are confidential to the ordinary user of the e-mail address to which it was addressed and may also be privilaged. If you receive this message in error please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose,distribute, print or copy any part of this message if you are not the intended resipient. Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, arrive late or contain viruses or unauthorized amendments. The sender, therfore, does not accept liability for any errors or ommission in the content of this message or any damage or other consequences arising as a result of Internet Transmition. Opinions, conclusions and/or other information in this transmitted messxage that do not relate to official business of CITIGROUP shall be understood as neither given nor endorsed by CitiGroup.