By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,587 Members | 1,718 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,587 IT Pros & Developers. It's quick & easy.

makepy generates empty file

P: n/a
Hi

I am trying to use makepy to generate wrappers from *.tlb for examples
for GoogleDesktopSearch SDK
(http://desktop.google.com/downloadsdksubmit). However makepy generates
only very short __init__.py and no other files.
Unfortunately, I am quite new both to Python and COM and can hardly
guess what's wrong :(
Please, help.

Here is the contents of the generated __init__.py if it helps:

# -*- coding: mbcs -*-
# Created by makepy.py version 0.4.92
# By python version 2.4 (#60, Feb 9 2005, 19:03:27) [MSC v.1310 32 bit
(Intel)]
# From type library 'GoogleDesktopComponentSample1.dll'
# On Sat Apr 09 01:48:14 2005
"""GoogleDesktopComponentSample1 1.0 Type Library"""
makepy_version = '0.4.92'
python_version = 0x20400f0

import win32com.client.CLSIDToClass, pythoncom
import win32com.client.util
from pywintypes import IID
from win32com.client import Dispatch

# The following 3 lines may need tweaking for the particular server
# Candidates are pythoncom.Missing and pythoncom.Empty
defaultNamedOptArg=pythoncom.Empty
defaultNamedNotOptArg=pythoncom.Empty
defaultUnnamedArg=pythoncom.Empty

CLSID = IID('{3921D68F-6B14-4189-BA5D-2117A9DE67B6}')
MajorVersion = 1
MinorVersion = 0
LibraryFlags = 8
LCID = 0x0

RecordMap = {
}

CLSIDToClassMap = {}
CLSIDToPackageMap = {
'{95DA1281-AEB5-45A4-A71A-B2E57EA41E0F}' : 'IndexShortcut',
'{452FE2BF-D9C4-43FD-9137-78AE170C3EB3}' : 'IIndexShortcut',
}
VTablesToClassMap = {}
VTablesToPackageMap = {
'{452FE2BF-D9C4-43FD-9137-78AE170C3EB3}' : 'IIndexShortcut',
}
NamesToIIDMap = {
'IIndexShortcut' : '{452FE2BF-D9C4-43FD-9137-78AE170C3EB3}',
}

Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.