View Issue Details

IDProjectCategoryView StatusLast Update
0007852Kali LinuxKali Package Bugpublic2022-10-11 06:50
ReporterBLooDyRiZoW Assigned Tosbrun  
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2022.2 
Fixed in Version2022.4 
Summary0007852: GVM does not download reports in PDF format
Description

When I try to download the report in PDF format, it is 0 bytes in size.

Thanks in advance for your help!

Attached Files
info.png (120,239 bytes)   
info.png (120,239 bytes)   
log.png (57,277 bytes)   
log.png (57,277 bytes)   
GVM_PDF.png (104,670 bytes)   
GVM_PDF.png (104,670 bytes)   
fix-pdf.patch (410 bytes)   
--- /var/lib/gvm/gvmd/report_formats/11e40dc6-fc55-42ec-972e-43d9cc418ae3/c402cc3e-b531-11e1-9163-406186ea4fc5/latex.xsl        2022-08-12 10:54:18.504059718 -0400
+++ latex.xsl   2022-08-12 11:56:00.421400668 -0400
@@ -209,7 +209,7 @@
 \usepackage{chngpage}
 \usepackage{calc}
 \usepackage{url}
-\usepackage[utf8x]{inputenc}
+%\usepackage[utf8x]{inputenc}

 % Fontsetup
 \usepackage[T1]{fontenc}

fix-pdf.patch (410 bytes)   

Activities

eero.t.volotinen@gmail.com

[email protected]

2022-08-11 16:16

reporter   ~0016533

See https://community.greenbone.net/t/pdf-reports-problem/12726 for debugging out this issue.

Eero

BLooDyRiZoW

BLooDyRiZoW

2022-08-12 13:41

reporter   ~0016535

Providing the logs for debugging:
https://pastebin.com/9bQAA5mn

eero.t.volotinen@gmail.com

[email protected]

2022-08-12 13:59

reporter   ~0016536

well. that looks same issue that in following message. it contains hack to fix issue.

:

Hi, I start digging from your tip on uncommenting the rm command, and I found out that the error that appear is “Argument of ? has an extra }”.

After googling it, I found this Stackoverflow topic: https://stackoverflow.com/questions/72604709/latex-hyperref-error-argument-of-has-an-extra-enddocument 6.

All that I did was commenting the line below on the file $GVMD_PATH/report_formats/43a5ea5b-a189-416b-a5e9-67db8a87384f/c402cc3e-b531-11e1-9163-406186ea4fc5/latex.xsl.

From:

\usepackage[utf8x]{inputenc}
To:

%\usepackage[utf8x]{inputenc}
And it worked.

eero.t.volotinen@gmail.com

[email protected]

2022-08-12 16:02

reporter   ~0016537

there is patch to fix issue.

you just need run following command with root account

cd /var/lib/gvm/gvmd/report_formats/11e40dc6-fc55-42ec-972e-43d9cc418ae3/c402cc3e-b531-11e1-9163-406186ea4fc5/

patch -p0 < /path/to/fix-pdf.patch

test if it fixes the issue and then contact package maintainter to fix the package.

Eero

sbrun

sbrun

2022-10-11 06:50

manager   ~0016956

fixed in version 21.4.5-2kali1

Issue History

Date Modified Username Field Change
2022-08-09 07:22 BLooDyRiZoW New Issue
2022-08-09 07:22 BLooDyRiZoW File Added: info.png
2022-08-09 07:22 BLooDyRiZoW File Added: log.png
2022-08-09 07:22 BLooDyRiZoW File Added: GVM_PDF.png
2022-08-11 16:16 [email protected] Note Added: 0016533
2022-08-12 13:41 BLooDyRiZoW Note Added: 0016535
2022-08-12 13:59 [email protected] Note Added: 0016536
2022-08-12 16:02 [email protected] File Added: fix-pdf.patch
2022-08-12 16:02 [email protected] Note Added: 0016537
2022-10-11 06:50 sbrun Assigned To => sbrun
2022-10-11 06:50 sbrun Status new => resolved
2022-10-11 06:50 sbrun Resolution open => fixed
2022-10-11 06:50 sbrun Fixed in Version => 2022.4
2022-10-11 06:50 sbrun Note Added: 0016956