LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-22-2012, 07:30 PM   #1
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 789

Rep: Reputation: Disabled
QPixmap: Cannot create a QPixmap when no GUI is being used


I am trying to convert HTML to an image. wkhtmltopdf works great to convert them to PDFs. The sister product wkhtmltoimage, however, is driving me crazy.

With both wkhtmltoimage-amd64 and wkhtmltoimage-i38, images created by JavaScript are not included in the image, and I get the following errors:
Code:
[root@localhost bin]# /usr/bin/wkhtmltoimage-amd64 http://www.highcharts.com/demo/area-basic test.jpg
Loading page (1/2)
QPixmap: Cannot create a QPixmap when no GUI is being used   ] 89%
Segmentation fault
[root@localhost bin]#
The wkhtmltopdf which is working is version 0.9.9, and was installed using http://www.amberdms.com/?cms=opensou...x_repositories.

The wkhtmltoimage which isn't working is version 0.11.0_rc1 Linux Static Binary (amd64) and was installed using a static binary found at wkhtmltopdf.

My operating system is Linux localhost.localdomain 2.6.18-308.11.1.el5 #1 SMP Tue Jul 10 08:48:43 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux

Please provide any suggestions.

Thank you
 
Old 08-23-2012, 07:46 AM   #2
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 789

Original Poster
Rep: Reputation: Disabled
I just tried the wkhtmltopdf-0.11.0_rc1 Linux Static Binary (amd64) located at http://code.google.com/p/wkhtmltopdf...-amd64.tar.bz2, and get the same errors as when using wkhtmltoimage.

Why an older version using the amberdms repos works, I do not know, but it does.

Maybe I can install wkhtmltoimage from source, but I am a little over my head.

Any help getting wkhtmltoimage working will be very appreciated.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Quake 3 Arena: QPixmap: Cannot create a QPixmap when no GUI is being used donknotts Linux - Games 0 07-31-2004 01:22 PM
qpixmap issues no GUI etc.. dzt Slackware 2 04-15-2004 12:45 PM
some QPixmap problem in k3b w0lv3rin3 Linux - Software 0 03-28-2004 05:49 PM
Cannot create QPIXMAP when no GUI is beeing used thar Linux - General 0 02-12-2004 07:30 AM
QPixmap: Cannot create a QPixmap when no GUI is being used dzt Linux - Software 1 10-19-2003 12:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration