#2 Don't open .chm files

open
nobody
None
5
2006-11-07
2006-11-07
Anonymous
No

Hello,
I download your extension but this don't open chm files

simone@snake:~$ uname -a
Linux snake 2.6.15-27-386 #1 PREEMPT Sat Sep 16
01:51:59 UTC 2006 i686 GNU/Linux
simone@snake:~$ firefox --version
Mozilla Firefox 1.5.0.7, Copyright (c) 1998 - 2006
mozilla.org

from javascript console I got 2 errors:

---------------------------------------------------------------------------------------------
Error: Components.classes[kCHMFILE_CONTRACTID] has no
properties
Source File:
file:///home/simone/.mozilla/firefox/Profiles/5jnxm87y.default/extensions/%7B6e098d65-7d2d-46d4-ada0-2f882a29f795%7D/components/chm_protocol.js
Line: 152

------------------------------------------------------------------------------------------------------------------------------------
Error: uncaught exception: [Exception... "'[JavaScript
Error: "Components.classes[kCHMFILE_CONTRACTID] has no
properties" {file:
"file:///home/simone/.mozilla/firefox/Profiles/5jnxm87y.default/extensions/%7B6e098d65-7d2d-46d4-ada0-2f882a29f795%7D/components/chm_protocol.js"
line: 152}]' when calling method:
[nsIProtocolHandler::newChannel]" nsresult:
"0x80570021
(NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"
location: "JS frame ::
chrome://global/content/bindings/browser.xml ::
loadURIWithFlags :: line 170" data: yes]

Discussion

  • Logged In: NO

    Sorry I don't write that chm reader version is 0.2.1.1

     
  • Logged In: NO

    Solve I download the extension from here (
    chmreader-linux_x86-gcc3-0.2.1.xpi) and now work
    thanks you for this tools
    Ciao
    Simone

     
  • Logged In: NO

    i find the some problem.

    but the chmreader-linux_x86-gcc3-0.2.1.xpi version here
    didn't support firefox 2.0

     
  • Steve
    Steve
    2006-11-30

    Logged In: YES
    user_id=383345
    Originator: NO

    Hi,

    I am facing the same problem. Here are some details:

    $ uname -a
    Linux localhost.localdomain 2.6.9-42.0.3.EL #1 Mon Sep 25 17:14:19 EDT 2006 i686 i686 i386 GNU/Linux

    Firefox version: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0

    Error from Error Console:
    Error: uncaught exception: [Exception... "'[JavaScript Error: "Components.classes[kCHMFILE_CONTRACTID] has no properties" {file: "file:///home/sfernand/.mozilla/firefox/ym3yt6iw.default/extensions/%7B6e098d65-7d2d-46d4-ada0-2f882a29f795%7D/components/chm_protocol.js" line: 151}]' when calling method: [nsIProtocolHandler::newChannel]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: chrome://global/content/bindings/browser.xml :: loadURIWithFlags :: line 170" data: yes]

     
  • Logged In: NO

    Hi, I'm getting the same error:

    Error: Components.classes[kCHMFILE_CONTRACTID] has no properties
    Source File: file:///home/dsl/.mozilla/firefox/yqg7ryqd.default/extensions/%7B6e098d65-7d2d-46d4-ada0-2f882a29f795%7D/components/chm_protocol.js
    Line: 151

    Error: uncaught exception: [Exception... "'[JavaScript Error: "Components.classes[kCHMFILE_CONTRACTID] has no properties" {file: "file:///home/dsl/.mozilla/firefox/yqg7ryqd.default/extensions/%7B6e098d65-7d2d-46d4-ada0-2f882a29f795%7D/components/chm_protocol.js" line: 151}]' when calling method: [nsIProtocolHandler::newChannel]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: chrome://global/content/bindings/browser.xml :: loadURIWithFlags :: line 170" data: yes]

    My box data:
    Linux box 2.4.26 #1 SMP Sa Apr 17 19:33:42 CEST 2004 i686 unknown
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061102 BonEcho/2.0