Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337063

Summary: Get Webshot not working under MacOS
Product: z_Archived Reporter: Joerg Reichert <joerg83reichert>
Component: RemusAssignee: Tom Seidel <tom.seidel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Joerg Reichert CLA 2011-02-13 09:07:35 EST
Build Identifier: RCP-TRUNK-113

As described somewhere I configured webkit2png as Screenshot tool in the preferences: Remus->Information types->Link:
* Index html webpages by default (checked)
* Make Webshot by default (checked)
* Selected renderer: webkit2png (Mac)
* Path to webshot: python /path/to/webkit2png-0.5.py {URL}

When I execute "Refresh Webshot" on a link no screenshot is made. When I change the path to nonsense also nothing happens.

When I execute the path from above in the Terminal with a concrete link Screenshots are made. 

Under Windows the Screenshot making with IECapt works.

Reproducible: Always
Comment 1 Joerg Reichert CLA 2011-02-13 09:44:37 EST
The pngs are actually created in the .binary directory but having all 0kb
Comment 2 Tom Seidel CLA 2011-02-20 07:51:47 EST
WEbkit2png adds -full.png to the grabbed image, so the image could not be found.
You don't have to specify "python" or the URL placeholder.
Example:
Path to webshot: /Users/tom/Documents/scripts/webkit2png-0.5.txt.sh
Comment 3 Tom Seidel CLA 2011-02-20 07:51:49 EST
Created attachment 189360 [details]
mylyn/context/zip