Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add relative path to pdfngreport.properties file #17

Open
padmasri opened this issue Jun 21, 2016 · 6 comments · May be fixed by #24
Open

How to add relative path to pdfngreport.properties file #17

padmasri opened this issue Jun 21, 2016 · 6 comments · May be fixed by #24
Assignees

Comments

@padmasri
Copy link

Hi Uttesh,

When I am trying to give relative path for Logo and pdf report location, the file is not getting generated and getting the below error. When I give full path like below it is working fine
For Logo: C://Users//padma//workspace//projectname//src//resources//image//IPLogo.png
For Report location: C://Users//padma//workspace//projectname//test-output//pdfngreport//

Issue is if I give relative path like below
pdfreport.report.logo.file=..//src//resources//images//IPLogo.png
pdfreport.outputdir=..//test-output//pdfngreport//


ERROR main- Image not found. URI: file:/..//src//resources//images//IPLogo.png (No context info available)
ERROR main- Image not found. URI: file:/.//pdfngreport///chart.png. (No context info available)

@padmasri
Copy link
Author

HI Uttesh,

After giving the below path, now the file is getting generated in RootFolder/pdfngreport/filename.pdf, but No charts and no logo included in that pdf file and below is the error.

pdfreport.outputdir=..//pdfngreport//
pdfreport.report.logo.file=..//src//resources//images//IPLogo.jpg

ERROR main- Image not found. URI: file:/..//src//resources//images//IPLogo.jpg. (No context info available)
ERROR main- Image not found. URI: file:/..//pdfngreport///chart.png. (No context info available)

@uttesh
Copy link
Owner

uttesh commented Jun 21, 2016

@padmasri i don't remember, i guess i have removed that relative path support.

@padmasri
Copy link
Author

@uttesh,

Thanks for quick reply, is there any future plan to add the relative path support to this?
Appreciate your help on this.

@uttesh uttesh added this to the relative path support milestone Jun 22, 2016
@uttesh uttesh self-assigned this Jun 22, 2016
@uttesh
Copy link
Owner

uttesh commented Jun 22, 2016

@padmasri i will look into that, once other todo list is done. Thanks.

@forresthopkinsa
Copy link

So that "image not found" thing is still happening, are there any plans to rectify that?

@forresthopkinsa
Copy link

forresthopkinsa commented Feb 4, 2017

Nevermind, I've got it. Sending a PR shortly

@forresthopkinsa forresthopkinsa linked a pull request Feb 10, 2017 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants