Skip to content
This repository has been archived by the owner on Aug 30, 2019. It is now read-only.

pywintypes.com_error when running notes2mbox.py #9

Open
GoogleCodeExporter opened this issue Mar 15, 2015 · 2 comments
Open

pywintypes.com_error when running notes2mbox.py #9

GoogleCodeExporter opened this issue Mar 15, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

I tried to use nlconverter on Windows 2000 (SP4) running a Lotus Notes 7.0.2 
client.

Both GUI and command line doesn't work.

Here is the traceback I get when using the notes2mbox.py script
{{{
Traceback (most recent call last):
  File "notes2mbox.py", line 21, in <module>
    db = NlconverterLib.getNotesDb(notesNsfPath, notesPasswd)
  File "C:\winnlc-alpha-1\NlconverterLib.py", line 43, in getNotesDb
    session = win32com.client.Dispatch(r'Lotus.NotesSession')
  File "C:\Python26\lib\site-packages\win32com\client\__init__.py", line 95, in Dispatch
    dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
  File "C:\Python26\lib\site-packages\win32com\client\dynamic.py", line 104, in _GetGoodDispatchAndUserName
    return (_GetGoodDispatch(IDispatch, clsctx), userName)
  File "C:\Python26\lib\site-packages\win32com\client\dynamic.py", line 84, in _GetGoodDispatch
    IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
pywintypes.com_error: (-2147221231, 'ClassFactory ne peut pas fournir la classe 
demand\xe9e', None, None)
}}}

All the steps I performed to run notes2mbox.py are detailed in a post on my 
blog: 
http://kevin.deldycke.com/2010/09/convert-lotus-notes-nsf-files-mbox-nlconverter
/

Original issue reported on code.google.com by kevin.deldycke on 2 Sep 2010 at 1:31

@GoogleCodeExporter
Copy link
Author

BTW, here is the translated exception message:

pywintypes.com_error: (-2147221231, 'ClassFactory cannot supply requested 
class', None, None)

Original comment by kevin.deldycke on 2 Sep 2010 at 1:32

@GoogleCodeExporter
Copy link
Author

Well, nlconverter was writter with Lotus R5 in mind, so maybe there is a 
different name to get the authentification session.

You should try an alternative method to connect to the dll (I will try to find 
it in my old documentation).

Original comment by hugues.b...@gmail.com on 22 Oct 2010 at 4:30

  • Added labels: Component-Persistence

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant