|
|
Customers GenoPro version: 3.1.0.0
Last Login: Friday, May 1, 2020
Posts: 12,
Visits: 80
|
Firstly - congratulations on the beta product and the excellent report generator. I have seen a number of posts relating to the SVG viewer with Firefox and unfortunately I don't seem to have had the same experience as others. It works great with IE but Firefox continually asks me what to do with the file (download, run etc) whenever the pane with the family tree diagram is opened. I'm using firefox 1.5.0.1 the latest version. its supposed ot have the SVG built in but it doesnt seem to work native or with the Adobe addin. Has anyone else had this problem - it's not just one PC either, I have several with the same problem. Any help would be appreciated.
Edited: Thursday, May 22, 2008 by
GenoProSupport
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Sunday, October 13, 2024
Posts: 4,887,
Visits: 22,769
|
Ron is the guru on this issue. I remember him telling me about all the problems he encountered with SVG for various versions of browsers and operating systems... Since then, I forgot the specific details so I cannot give you a reply myself.
Edited: Friday, February 10, 2006 by
GenoProSupport
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 8:08 AM
Posts: 3,395,
Visits: 26,154
|
111774 (2/10/2006) I have seen a number of posts relating to the SVG viewer with Firefox and unfortunately I don't seem to have had the same experience as others. It works great with IE but Firefox continually asks me what to do with the file (download, run etc) whenever the pane with the family tree diagram is opened. I'm using firefox 1.5.0.1 the latest version. its supposed ot have the SVG built in but it doesnt seem to work native or with the Adobe addin. Has anyone else had this problem - it's not just one PC either, I have several with the same problem. Any help would be appreciated.Could you check that the Firefox built-in SVG plugin is enabled? To do this type about:config in the Firefox address bar and click the GO button. A list of the Firefox preference settings is displayed. Scroll down to the svg.enabled line and check it is on, i.e. 'true', if not double click the line to toggle it. Also the report must have been generated using GenoPro Beta 15 or above, preferably the latest Beta 15f.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Edited: Friday, February 10, 2006 by
GenoProSupport
|
|
|
Customers GenoPro version: 3.1.0.0
Last Login: Friday, May 1, 2020
Posts: 12,
Visits: 80
|
Ok - I have checked that Firefox SVG is enabled. This obviously happens by default on install. I have tried all options a) built in SVG (b) Adobe addin (c) both . The outcome seems the same it asks me what I want to do with the file or Firefox hangs. It doesn't seem consistent - I have on one occasion got a map diagram but it would not move or scale. I'm running XP SP2 plus latest patches. This of course may be a Firefox problem rather than Genopro!! I think I will try to find some other SVG application and see how Forefox behaves. I notice that the SVG files have the extension SVGZ - is it possible that Firefox will only deal with SVG extensions? which is why it asks what I want to do with the file?
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 8:08 AM
Posts: 3,395,
Visits: 26,154
|
This is puzzling me. When viewing a report from a local disc in Firefox it should open the uncompressed SVG files i.e. .svg not .svgz. The skin template genomap.htm contains the following lines var agt=navigator.userAgent.toLowerCase(); is_ie=(agt.indexOf("msie")!=-1); <%[ Report.WriteFormattedLn "var strFileSvg='{}';", strFileSvgIf Report.Parameters("fCompressSvg")="Y" Then Report.WriteLn "if (is_ie || document.location.href.indexOf('file://')==-1) strFileSvg = '../genomapsz/' + strFileSvg + 'z';" End If
| that should generate each genomapn.htm file with the lines var agt=navigator.userAgent.toLowerCase(); is_ie=(agt.indexOf("msie")!=-1); var strFileSvg='genomapn.svg'; if (is_ie || document.location.href.indexOf('file://')==-1) strFileSvg = '../genomapsz/' + strFileSvg + 'z';
| that I think should mean that .svgz is only used for IE or when the URL doesn't contain file://. Could you add the line alert('agent:'+agt+' href:'+document.location.href); | after is_ie=(agt.indexOf("msie")!=-1); | in your skin template genomap.htm file and then generate the report, access the SVG and let me know what the alert dialog box contains?
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Customers GenoPro version: 1.99b
Last Login: Saturday, March 25, 2006
Posts: 2,
Visits: 15
|
Hi Ron, my experience has been the same. A locally hosted report displays the svg fine in firefox. However, when it is remotely hosted Firefox tries to save the .svgz file. When I added in
alert('agent:'+agt+' href:'+document.location.href); |
I got this alert
agent:mozilla/5.0 (windows; u; windows nt 5.1; en-us; rv:1.8.0.1) gecko/20060111 firefox/1.5.0.1 href:http://lucasreunion.up.md/genomaps/genomap0.htm?x=-2860,y=-150,highlight=true |
after which Firefox wishes to save the genomap0.svgz again
Ripp
Edited: Tuesday, February 14, 2006 by
GenoProSupport
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 8:08 AM
Posts: 3,395,
Visits: 26,154
|
114817 (2/14/2006)
Hi Ron, my experience has been the same. A locally hosted report displays the svg fine in firefox. However, when it is remotely hosted Firefox tries to save the .svgz file. Ripp Your problem is that your Apache Web Server is not correctly configured for serving .svgz pages. It is serving them with Content-Type: text/plain and without any Content-Encoding: header. Visit http://wiki.svg.org/index.php?title=Server_Configuration for instrutions on how it should be configured. Alternatively you can try generating your report with just uncompressed .svg images that will be slower to download. To do this change the skin template file Config.xml parameter fCompressSvg="Y" to fCompressSvg="N" and then generate the report again. Your Web Server may still need configuring for .svg pages.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Customers GenoPro version: 1.99b
Last Login: Saturday, March 25, 2006
Posts: 2,
Visits: 15
|
Yes that helps me, Thanks
|
|
|
Customers GenoPro version: 3.1.0.0
Last Login: Friday, May 1, 2020
Posts: 12,
Visits: 80
|
Ron, OK - As requested I have entered the code in the skin template genomap.htm generated the report, ftp'd it up to the server and looked at it with Firefox (SVG enabled, Adobe add-in not selected i.e. it is set to use Firefox built in viewer to deal with SVG files.
Ok message box before the change was this - just asking what I should do with the file
Next I made the change and checked to see that it all still worked with Internet Explorer, the alert line I inserted produced this
After clicking OK, the tree diagram loaded fine into IE
Then I tried it with Firefox , this message appeared
On clicking OK then we came back to the "what do you want to do with htis fle" message as expected.
As I don't know enough to interpret the alert message fully I hope this helps.
- Mark
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 8:08 AM
Posts: 3,395,
Visits: 26,154
|
Looks like your problem is the same as Ripp, that is your web host, hydrogen, does not understand .svgz files and sends the file with incorrect HTTP header information. Adobe's SVG viewer ignores headers and looks at the data instead, whereas Firefox strictly adheres to the information it is given in the HTTP headers, and so doesn't know what to open it with, hence the prompt. If you are unable to reconfigure your server as per recommendations in http://wiki.svg.org/index.php?title=Server_Configuration, then follow my earlier suggestion to generate the report with just uncompressed SVG files. I can't be certain that this the problem without sight of the header information. If you want to check this then headers can be captured by installing and using a Firefox extension, Live HTTP Headers. You should remove the alert line from genomap.htm now. I only suggested that because I initially thought you were accessing the report from a local disc and not from a web server.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Edited: Saturday, February 18, 2006 by
GenoProSupport
|