JackieXie168 / chmsee

Automatically exported from code.google.com/p/chmsee
GNU General Public License v2.0
0 stars 0 forks source link

chmsee 1.1.0 will not run in Ubuntu Lucid with xulrunner 1.9.2 installed. #81

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. following xulrunner packages are installed:
aptitude search '~i'|grep xulrunner
i A xulrunner-1.9                   - dummy upgrade package for
xulrunner-1.9   
i A xulrunner-1.9.2                 - XUL + XPCOM application runner      

i A xulrunner-1.9.2-dev             - XUL + XPCOM development files       

i   xulrunner-1.9.2-gnome-support   - Support for Gnome in xulrunner-1.9.2
appli
i   xulrunner-1.9.2-testsuite       - Test Suite from XULRunner 1.9.2     

i   xulrunner-dev                   - Debian compatibility and meta package
for 

2. tried both with and without patch mentioned here
http://code.google.com/p/chmsee/issues/detail?id=72

3. chmsee still will not run. *Without* the patch, the output is the following:
(chmsee:11349): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion
`GDK_IS_PIXBUF (pixbuf)' failed

(chmsee:11349): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion
`GDK_IS_PIXBUF (pixbuf)' failed

(chmsee:11349): Gdk-CRITICAL **: gdk_draw_pixbuf: assertion `GDK_IS_PIXBUF
(pixbuf)' failed

(chmsee:11349): GLib-GObject-CRITICAL **: g_object_unref: assertion
`G_IS_OBJECT (object)' failed
** Message: Main >>> load config
** Message: CS_HTML_GECKO >>> init gecko system

** (chmsee:11349): WARNING **: GECKO_UTILS >>> Couldn't find a compatible GRE!

** ERROR **: Initialize html render engine failed!
aborting...
Aborted

Original issue reported on code.google.com by prh...@gmail.com on 24 May 2010 at 11:49

GoogleCodeExporter commented 8 years ago
The warning "Couldn't find a compatible GRE!" tells us the problem happened on 
gecko
initialization. 
chmsee simply call a xulrunner API in this step and no extra code involved.

I had tested chmsee-1.1.0 on Debian sid, but the version of xulrunner is 1.9.1. 
It seems xulrunner 1.9.2 is still unstable or maybe has compatible problem on
Debian/Ubuntu system.
After Debian sid upgrade it to 1.9.2, I will test chmsee again.

Original comment by jungl...@gmail.com on 27 May 2010 at 8:33

GoogleCodeExporter commented 8 years ago
I'm able to run chmsee-1.1.0.tar.gz in Ubuntu 10.04 Lucid currently.
$ sudo aptitude install cmake
$ sudo aptitude build-dep chmsee
$ wget 
http://download.macromedia.com/pub/robohelp/files/downloads/htmlhelp/access_test
.zip
$ unzip access_test.zip
Compiled and installed chmsee from chmsee-1.1.0.tar.gz.
$ chmsee access_test.chm

$ aptitude search '~i' | grep xulrunner
i   xulrunner-1.9.2                 - XUL + XPCOM application runner            
i A xulrunner-1.9.2-dev             - XUL + XPCOM development files             
i   xulrunner-dev                   - Debian compatibility and meta package for 

$ dpkg -l xulrunner-1.9.2 xulrunner-1.9.2-dev xulrunner-dev
reports 
ii  xulrunner-1.9.2      1.9.2.3+nobinonly-0ubuntu2
ii  xulrunner-1.9.2-dev  1.9.2.3+nobinonly-0ubuntu2
ii  xulrunner-dev        1.9.2.3+nobinonly-0ubuntu2

It gets past the "init gecko system" for me:
$ chmsee access_test.chm -vvv
** Message: Main >>> load config
** (chmsee:7923): DEBUG: Main >>> chmsee config file path = 
/home/user/.chmsee/config
** (chmsee:7923): DEBUG: Main >>> chmsee load config file return = 1
** Message: CS_HTML_GECKO >>> init gecko system
** (chmsee:7923): DEBUG: GECKO_UTILS >>> initilize finished.
[...]

Original comment by strobert@gmail.com on 11 Jun 2010 at 9:41

GoogleCodeExporter commented 8 years ago

Original comment by jungl...@gmail.com on 15 Jul 2010 at 3:08