<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Spotlight CHM Metadata Importer</title>
	<atom:link href="http://www.mattweber.org/2007/03/11/spotlight-chm-metadata-importer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mattweber.org/2007/03/11/spotlight-chm-metadata-importer/</link>
	<description></description>
	<pubDate>Thu, 20 Nov 2008 12:17:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Dave</title>
		<link>http://www.mattweber.org/2007/03/11/spotlight-chm-metadata-importer/#comment-7223</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Sat, 29 Mar 2008 00:53:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattweber.org/2007/03/11/spotlight-chm-metadata-importer/#comment-7223</guid>
		<description>3 Tools for fixing all of your CHM EBook issues with OSX Tiger or Leopard.

&lt;a href="http://sourceforge.net/projects/chmporter/" rel="nofollow"&gt;CHMporter&lt;/a&gt;

This is a spotlight plug in which adds the contents of your CHM files.

&lt;a href="http://chmox.sourceforge.net/" rel="nofollow"&gt;CHMox&lt;/a&gt;

A CHM file viewer

&lt;a href="https://sourceforge.net/projects/quickchm/" rel="nofollow"&gt;quickCHM&lt;/a&gt;

A CHM quick look plug in for viewing those EBooks with Cover View.</description>
		<content:encoded><![CDATA[<p>3 Tools for fixing all of your CHM EBook issues with OSX Tiger or Leopard.</p>
<p><a href="http://sourceforge.net/projects/chmporter/" rel="nofollow">CHMporter</a></p>
<p>This is a spotlight plug in which adds the contents of your CHM files.</p>
<p><a href="http://chmox.sourceforge.net/" rel="nofollow">CHMox</a></p>
<p>A CHM file viewer</p>
<p><a href="https://sourceforge.net/projects/quickchm/" rel="nofollow">quickCHM</a></p>
<p>A CHM quick look plug in for viewing those EBooks with Cover View.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://www.mattweber.org/2007/03/11/spotlight-chm-metadata-importer/#comment-2268</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Sun, 05 Aug 2007 16:00:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattweber.org/2007/03/11/spotlight-chm-metadata-importer/#comment-2268</guid>
		<description>Noel, that's the same prob. at this end. Any ideas appreciated guys!. Seem to be collecting quite a of these pesky chm books. ;-).</description>
		<content:encoded><![CDATA[<p>Noel, that&#8217;s the same prob. at this end. Any ideas appreciated guys!. Seem to be collecting quite a of these pesky chm books. ;-).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noel</title>
		<link>http://www.mattweber.org/2007/03/11/spotlight-chm-metadata-importer/#comment-2225</link>
		<dc:creator>Noel</dc:creator>
		<pubDate>Fri, 03 Aug 2007 19:41:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattweber.org/2007/03/11/spotlight-chm-metadata-importer/#comment-2225</guid>
		<description>Yup also tried with python version 2.4. Same error
Maybe I'll look at the source, if I find any solution I let you know.</description>
		<content:encoded><![CDATA[<p>Yup also tried with python version 2.4. Same error<br />
Maybe I&#8217;ll look at the source, if I find any solution I let you know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://www.mattweber.org/2007/03/11/spotlight-chm-metadata-importer/#comment-2215</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Fri, 03 Aug 2007 04:34:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattweber.org/2007/03/11/spotlight-chm-metadata-importer/#comment-2215</guid>
		<description>Thanks for the heads up guys.  I will take a look into this problem as soon as I get a chance.  I have just got a new job so I have been extremely busy.  Have you tried running this with a python version prior to 5.1? 

Thanks again and sorry for the problems, 
Matt Weber</description>
		<content:encoded><![CDATA[<p>Thanks for the heads up guys.  I will take a look into this problem as soon as I get a chance.  I have just got a new job so I have been extremely busy.  Have you tried running this with a python version prior to 5.1? </p>
<p>Thanks again and sorry for the problems,<br />
Matt Weber</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noel</title>
		<link>http://www.mattweber.org/2007/03/11/spotlight-chm-metadata-importer/#comment-2212</link>
		<dc:creator>Noel</dc:creator>
		<pubDate>Fri, 03 Aug 2007 02:43:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattweber.org/2007/03/11/spotlight-chm-metadata-importer/#comment-2212</guid>
		<description>Python 2.5


Here is my problem:
Something about Python has API version 1012, module _chmlib has version 1013.



$ mdimport -nf file-to-import.chm sendmail\ Cookbook\ \(2003\).chm 
/Library/Spotlight/CHM Metadata Importer.mdimporter/Contents/SharedSupport/chm/chmlib.py:4: RuntimeWarning: Python C API version mismatch for module _chmlib: This Python has API version 1012, module _chmlib has version 1013.
 import _chmlib
/Library/Spotlight/CHM Metadata Importer.mdimporter/Contents/SharedSupport/chm/chm.py:34: RuntimeWarning: Python C API version mismatch for module extra: This Python has API version 1012, module extra has version 1013.
  import extra
CHM Metadata Importer could not process file "/Users/noel/Desktop/books/Over 1100 General Computer Ebooks/sendmail Cookbook (2003).chm"</description>
		<content:encoded><![CDATA[<p>Python 2.5</p>
<p>Here is my problem:<br />
Something about Python has API version 1012, module _chmlib has version 1013.</p>
<p>$ mdimport -nf file-to-import.chm sendmail\ Cookbook\ \(2003\).chm<br />
/Library/Spotlight/CHM Metadata Importer.mdimporter/Contents/SharedSupport/chm/chmlib.py:4: RuntimeWarning: Python C API version mismatch for module _chmlib: This Python has API version 1012, module _chmlib has version 1013.<br />
 import _chmlib<br />
/Library/Spotlight/CHM Metadata Importer.mdimporter/Contents/SharedSupport/chm/chm.py:34: RuntimeWarning: Python C API version mismatch for module extra: This Python has API version 1012, module extra has version 1013.<br />
  import extra<br />
CHM Metadata Importer could not process file &#8220;/Users/noel/Desktop/books/Over 1100 General Computer Ebooks/sendmail Cookbook (2003).chm&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://www.mattweber.org/2007/03/11/spotlight-chm-metadata-importer/#comment-2141</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Sat, 28 Jul 2007 17:11:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattweber.org/2007/03/11/spotlight-chm-metadata-importer/#comment-2141</guid>
		<description>This is with Python 2.5.1 and chmlib 0.39 also tried 0.38 to see if that fixed it but no!! ;-(.</description>
		<content:encoded><![CDATA[<p>This is with Python 2.5.1 and chmlib 0.39 also tried 0.38 to see if that fixed it but no!! ;-(.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://www.mattweber.org/2007/03/11/spotlight-chm-metadata-importer/#comment-2140</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Sat, 28 Jul 2007 17:08:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattweber.org/2007/03/11/spotlight-chm-metadata-importer/#comment-2140</guid>
		<description>Hi Matt following your new improved instructions I get a specific problem any ideas...?

[quote]2007-07-28 17:57:13.065 mdimport[12927] Import '/Users/scooby/Downloads/Books/Computer/O'Reilly - Google Hacks.chm' type 'org.mattweber.compiled-html' using 'file://localhost/Library/Spotlight/CHM%20Metadata%20Importer.mdimporter/'
/Library/Spotlight/CHM Metadata Importer.mdimporter/Contents/SharedSupport/chm/chmlib.py:4: RuntimeWarning: Python C API version mismatch for module _chmlib: This Python has API version 1012, module _chmlib has version 1013.
  import _chmlib
/Library/Spotlight/CHM Metadata Importer.mdimporter/Contents/SharedSupport/chm/chm.py:34: RuntimeWarning: Python C API version mismatch for module extra: This Python has API version 1012, module extra has version 1013.
  import extra
CHM Metadata Importer could not process file "/Users/scooby/Downloads/Books/Computer/O'Reilly - Google Hacks.chm"[/quote]

;-)</description>
		<content:encoded><![CDATA[<p>Hi Matt following your new improved instructions I get a specific problem any ideas&#8230;?</p>
<p>[quote]2007-07-28 17:57:13.065 mdimport[12927] Import &#8216;/Users/scooby/Downloads/Books/Computer/O&#8217;Reilly - Google Hacks.chm&#8217; type &#8216;org.mattweber.compiled-html&#8217; using &#8216;file://localhost/Library/Spotlight/CHM%20Metadata%20Importer.mdimporter/&#8217;<br />
/Library/Spotlight/CHM Metadata Importer.mdimporter/Contents/SharedSupport/chm/chmlib.py:4: RuntimeWarning: Python C API version mismatch for module _chmlib: This Python has API version 1012, module _chmlib has version 1013.<br />
  import _chmlib<br />
/Library/Spotlight/CHM Metadata Importer.mdimporter/Contents/SharedSupport/chm/chm.py:34: RuntimeWarning: Python C API version mismatch for module extra: This Python has API version 1012, module extra has version 1013.<br />
  import extra<br />
CHM Metadata Importer could not process file &#8220;/Users/scooby/Downloads/Books/Computer/O&#8217;Reilly - Google Hacks.chm&#8221;[/quote]</p>
<p> <img src='http://www.mattweber.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://www.mattweber.org/2007/03/11/spotlight-chm-metadata-importer/#comment-1171</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Tue, 29 May 2007 00:46:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattweber.org/2007/03/11/spotlight-chm-metadata-importer/#comment-1171</guid>
		<description>Found the problem.  I did not package CHMLib correctly with the .mdimporter file.  I do not know how to correctly package a library with Xcode yet, so until I have a chance to figure it out you can install it manually.

1. Download CHMLib from http://www.jedrea.com/chmlib/
2. Extract, and change into the chmlib directory.
3. Run ./configure; make; sudo make install

Now the importer should run correctly.  You can type:

mdimport -nfd4 file-to-import.chm

To see that the importer is working.  I will update this post once I get a chance to figure out how to package a library with xcode.</description>
		<content:encoded><![CDATA[<p>Found the problem.  I did not package CHMLib correctly with the .mdimporter file.  I do not know how to correctly package a library with Xcode yet, so until I have a chance to figure it out you can install it manually.</p>
<p>1. Download CHMLib from <a href="http://www.jedrea.com/chmlib/" rel="nofollow">http://www.jedrea.com/chmlib/</a><br />
2. Extract, and change into the chmlib directory.<br />
3. Run ./configure; make; sudo make install</p>
<p>Now the importer should run correctly.  You can type:</p>
<p>mdimport -nfd4 file-to-import.chm</p>
<p>To see that the importer is working.  I will update this post once I get a chance to figure out how to package a library with xcode.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stephen</title>
		<link>http://www.mattweber.org/2007/03/11/spotlight-chm-metadata-importer/#comment-1151</link>
		<dc:creator>stephen</dc:creator>
		<pubDate>Mon, 28 May 2007 06:44:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattweber.org/2007/03/11/spotlight-chm-metadata-importer/#comment-1151</guid>
		<description>some more logs 

ay 28 08:42:59 gabrielas-computer mdimportserver[721]: Python Metadata Importer: Could not process file '/Volumes/Data/eBooks/Computer Books/O'Reilly Pack/O'Reilly Pack Folder/O'Reilly - Zero Configuration Networking The Definitive Guide (Dec 2005).chm' (Exception: Could not get function.)
May 28 08:42:59 gabrielas-computer mdimportserver[721]: *** Assertion failure in -[CPythonSession executeFunction:inScript:parameters:], /Users/matt/Projects/python/CHM Metadata Importer/source/ToxicPython/Source/CPythonSession.m:120
May 28 08:42:59 gabrielas-computer mdimportserver[721]: Python Metadata Importer: Could not process file '/Volumes/Data/eBooks/Computer Books/OReilly - Zero Configuration Networking The Definitive Guide - 2005 Dec/OReilly - Zero Configuration Networking The Definitive Guide - 2005 Dec.chm' (Exception: Could not get function.)</description>
		<content:encoded><![CDATA[<p>some more logs </p>
<p>ay 28 08:42:59 gabrielas-computer mdimportserver[721]: Python Metadata Importer: Could not process file &#8216;/Volumes/Data/eBooks/Computer Books/O&#8217;Reilly Pack/O&#8217;Reilly Pack Folder/O&#8217;Reilly - Zero Configuration Networking The Definitive Guide (Dec 2005).chm&#8217; (Exception: Could not get function.)<br />
May 28 08:42:59 gabrielas-computer mdimportserver[721]: *** Assertion failure in -[CPythonSession executeFunction:inScript:parameters:], /Users/matt/Projects/python/CHM Metadata Importer/source/ToxicPython/Source/CPythonSession.m:120<br />
May 28 08:42:59 gabrielas-computer mdimportserver[721]: Python Metadata Importer: Could not process file &#8216;/Volumes/Data/eBooks/Computer Books/OReilly - Zero Configuration Networking The Definitive Guide - 2005 Dec/OReilly - Zero Configuration Networking The Definitive Guide - 2005 Dec.chm&#8217; (Exception: Could not get function.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stephen</title>
		<link>http://www.mattweber.org/2007/03/11/spotlight-chm-metadata-importer/#comment-1149</link>
		<dc:creator>stephen</dc:creator>
		<pubDate>Mon, 28 May 2007 06:32:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattweber.org/2007/03/11/spotlight-chm-metadata-importer/#comment-1149</guid>
		<description>hi Matt,

I got back to your blog today. No I had not upgraded python. I did so rather warily today.

I reset spotlight, but its still generating an error each time it hits a CHM file, like so:

May 28 04:35:37 gabrielas-computer mdimportserver[426]: Python Metadata Importer: Could not process file '/Applications/Adobe Dreamweaver CS3/configuration/Shared/XSLTransform/Help/XMLXSL.chm' (Exception: CPythonObject passed NULL.)</description>
		<content:encoded><![CDATA[<p>hi Matt,</p>
<p>I got back to your blog today. No I had not upgraded python. I did so rather warily today.</p>
<p>I reset spotlight, but its still generating an error each time it hits a CHM file, like so:</p>
<p>May 28 04:35:37 gabrielas-computer mdimportserver[426]: Python Metadata Importer: Could not process file &#8216;/Applications/Adobe Dreamweaver CS3/configuration/Shared/XSLTransform/Help/XMLXSL.chm&#8217; (Exception: CPythonObject passed NULL.)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
