Home
Analytics
wrong preview or viewer URL when using BiRT Designer on Linux
cmei84
<p>Hello,</p>
<p> </p>
<p>i'm using Ubuntu 12.04 on Virtual Box with the Birt-Designer 4.5.0 32Bit.</p>
<p> </p>
<p>When i choose the option to view the report as PDF my Browser(Firefox) opens the following URL:</p>
<p>file:///home/limux/share/d-report/eclipse/http:/127.0.0.1:53682/viewer/preview%3F__report=%252Fhome%252Flimux%252Fshare%252Fd-report%252Fwork%252Fbericht_in_arbeit.rptdesign&__format=pdf&__svg=true&__locale=de_DE&__timezone=Libya&__masterpage=true&__rtl=false&__cubememsize=10&__resourceFolder=%252Fhome%252Flimux%252Fshare%252Fd-report%252Fwork&__dpi=96&__emitterid=org.eclipse.birt.report.engine.emitter.pdf&-650229296</p>
<p> </p>
<p>This URL is wrong.</p>
<p>the first part 'file:///home/limux/share/d-report/eclipse/' should not be there and the encoding is wrong to. If i delete the first part and replace '%3F' with '?' and all occurences of '%252F' with '/' than the url is correct and the PDF is gerenated.</p>
<p> </p>
<p>Can i configure this URL somewhere?</p>
Find more posts tagged with
Comments
Clement Wong
<p>I just installed Ubuntu 12.04.5 Desktop 32-bit running in a VirualBox (with no OS updates with English locale), Guest Additions to increase the display resolution, and OpenJDK7, and downloaded OS BIRT All in One Designer 4.5.0 32- bit. Then, restarted to change the display resolution, launched Eclipse, created a new Report Project and a very simple report design. Finally, was able to preview both the HTML and PDF in the default browser (Firefox).</p>
<p> </p>
<p>To verify, your environment...</p>
<ol><li>Do you see the same problem with any of the other formats (Web Viewer, HTML, Excel, etc...) ?</li>
<li>What version of JDK/JRE are you using?</li>
<li>Is Eclipse located @ /home/limux/share/d-report/eclipse?</li>
<li>Is your workspace located @ /home/limux/share/d-report/work?</li>
<li>Do you have a Report Project in your workspace?</li>
<li>In your Eclipse menu option, Window > Preferences > General > Web Browser, what are the options selected?</li>
<li>In your Eclipse menu option, Window > Preferences > General > Network Connections, what are the options selected, if any?</li>
<li>Did you change any settings in "eclipse.ini"?</li>
</ol><p> </p>
<p>As a troubleshooting step, if you downloaded the All in One Designer again, and extracted it into a different location, does that have any affect?</p>
cmei84
<p>Problem solved.</p>
<p>Changing the browser settings in eclipse to external browser and checking the checkbox before Firefox instead of 'system default browser' solved this issue.</p>
Clement Wong
<p>Excellent. Glad to help out.</p>