create new tag
view all tags


Story summary Printing support
Iteration ItEr69week04To05
FEA ItEr69S07PrintingSupportItEr68S08
Story Lead ItEr68S08PrintingSupport
Next Story  
Passed acceptance test No

Acceptance Criteria

Additional Specification Comments

Implementation Notes

Some JavaScript problems detected while running Xan's script.

  • timeline:
    ** Message: console message: http://localhost:8080/navalplanner-webapp/zkau/web/_zv10031815/_zcb/js/ext/timeline/api/scripts/util/graphics.js;jsessionid=1dnrqrvcj84ge @2: TypeError: Result of expression 'Timeline.Platform.browser' [undefined] is not an object.

  • timeplot:
    ** Message: console message: http://localhost:8080/navalplanner-webapp/zkau/web/_zv10031815/_zcb/js/ext/timeplot/api/scripts/sources.js;jsessionid=90x3v5pitgyq @1: TypeError: Result of expression 'Timeline.DefaultEventSource' [undefined] is not an object.
    ** Message: console message: http://localhost:8080/navalplanner-webapp/zkau/web/_zv10031815/_zcb/js/ext/timeplot/api/scripts/processor.js;jsessionid=90x3v5pitgyq @1: TypeError: Result of expression 'Timeplot.DataSource' [undefined] is not an object.

I've just checked that Xan's script is asily compilable in Debian 6, Ubuntu 10.04 and Ubunut 10.10. So it could be a possible solution if we add the missing functionalities on it.

-- ManuelRego - 24 Jan 2011

Trying to create a JavaScript event when long operations finish in order to connect script to this event.

I modified MultipleTabsPlannerController.java to add the next lines at the end of doAction() inside showWithFeedback():

var onLongOperationFinish = new YAHOO.util.CustomEvent('long-operation-finish);

Finally, it seems that there's some pending API to be implemented in WebKitGTK+, so maybe adding a delay is an easier solution right now.

I've modified Xan's script in order to receive different parameters and allow to specify a CSS file to be applied before taken the photo.

-- ManuelRego - 01 Feb 2011

Working wiht Xan's script. I've added timeout and it works with a simple HTML with JavaScript that hides some text after a seconds.

The script has worked during this morning several times printing a proper Gantt. But other times it shows just a blue image with logo in the top. Something is failing here.

Script is already integrated in LibrePlan for testing purposes, but the problem with blue image is still present.

-- ManuelRego - 03 Feb 2011

Script seems to work sometimes, so I've prepared Debian package and uploaded code to gitorious in order that the rest of the team could test it if they wish. For example it worked in my last attempt.

Also Debian package for wk2img: wk2img_0.0.1-1_amd64.deb & wk2img_0.0.1-1_i386.deb

Finally, I created a remote branch with printing using wk2img: https://github.com/Igalia/libreplan/tree/printing-wk2img

-- ManuelRego - 04 Feb 2011

Re-build Debian packages and tested in several distributions (Squeeze, Lucid & Maverick) and architectures (i386 & amd64).

Sent mail with explanation of printing status.

-- ManuelRego - 05 Feb 2011

Delay Causes

Final or Pending Considerations



Tasks in this story

Total Hours in this Story


Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r11 - 26 Nov 2012 - mrego
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback