Canalplan Bug Tracker



Anonymous Login
2017-10-20 05:01 BST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000333Canalplan [All Projects] Bugpublic2017-10-15 19:13
ReporterSteveJ 
Assigned ToNick Atty 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformGenericOSN/AOS VersionN/A
Product VersionProduct Build 
Target VersionFixed in Version 
Summary0000333: PDF generation failure
DescriptionSyntax error
execute.c:1206::External command '../plugins/converters/html_to_something/wkhtmltoimage --window-status cpdone 'http://canalplan.eu/html/map.html?session=HH9616&mode=ALL' /webstuff/downloadfiles/2017-10-08/15775_78YO/map_all.png 2> /webstuff/downloadfiles/2017-10-08/15775_78YO/map_all.log' returned 35584
This happened at Sun Oct 8 09:39:26 2017 in line 144 of "/webstuff/canalplan/cgi-bin/../modules/queued_PDF.can"
Tagsroute planning
Attached Files

-Relationships
related to 0000336resolvedNick Atty Create PDF fails 
+Relationships

-Notes

~0001325

Nick Atty (administrator)

There's something wrong in your session (the working data of your planned route). This is causing an error message to be sent to the map generation code when it asks for your route which, in turn, causes the conversion to a graphic to embed in the PDF to fail.

I've cloned your session to my development machine and can duplicate the bug. I will work out what is the matter and - at least - make it fail more elegantly!

~0001326

Nick Atty (administrator)

I realised I wasn't duplicating the bug - I'd copied an additional character across.

I can plan that route perfectly using your session - can you try again?

It may be a rare hiccup along the way; PDF generation is very complicated and uses some slightly flaky, not-our, code so there's not a lot that can be done with it at the moment.

~0001343

Nick Atty (administrator)

See issue 336 for what's behind this and the hack we've done to keep things going.
+Notes

-Issue History
Date Modified Username Field Change
2017-10-08 09:45 SteveJ New Issue
2017-10-08 09:45 SteveJ Tag Attached: route planning
2017-10-08 09:53 Stephen Atty Assigned To => Nick Atty
2017-10-08 09:53 Stephen Atty Status new => assigned
2017-10-08 10:19 Nick Atty Note Added: 0001325
2017-10-08 10:37 Nick Atty Note Added: 0001326
2017-10-15 19:12 Nick Atty Relationship added related to 0000336
2017-10-15 19:13 Nick Atty Status assigned => resolved
2017-10-15 19:13 Nick Atty Resolution open => fixed
2017-10-15 19:13 Nick Atty Note Added: 0001343
+Issue History