Hi:

I am attempting to build an application that uses the built-in Apple Help
system to display my html help files. I'm getting a Mac OS Error -50, which
corresponds to "Error in user parameter list." Here's what I've done thus
far:

1. Info.plist has the following entries:
            <key>CFBundleHelpBookFolder</key>
            <string>help</string>
            <key>CFBundleHelpBookName</key>
            <string>MyAppName Help</string>

My html files are in a directory called "help", and my top-level help doc
has the Apple metatag "MyAppName Help".

2. In the initializing routine of my app, I have the following lines:
from Carbon import AH
app = os.path.dirname(os.path.dirname(sys.prefix))
AH.AHRegisterHelpBook(app) #This line causes Mac OS Error -50

The application is a wxpython gui and I'm using py2app to build it.
Everything works like a champ, except for the help system.

Thank you for your time,
Don
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to