Notes 6.X not accessible with Python?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marco Aschwanden

    #1

    Notes 6.X not accessible with Python?

    Hi

    Since my upgrade from Notes 5.X to Notes 6.X I can't access Notes anymore.

    The third line of the following code is already a show stopper in my case:

    from win32com.client import Dispatch
    session = Dispatch('Lotus .NotesSession')
    session.Initial ize('my_secret_ passwort')

    When started, ends:

    File
    "C:\Python24\Li b\site-packages\python win\pywin\frame work\scriptutil s.py",
    line 310, in RunScript
    exec codeObject in __main__.__dict __
    File "C:\temp\notes_ init.py", line 3, in ?
    session.Initial ize('my_secret_ passwort')
    File "c:\Python24\li b\site-packages\win32c om\client\dynam ic.py", line
    489, in __getattr__
    raise AttributeError, "%s.%s" % (self._username _, attr)
    AttributeError: Lotus.NotesSess ion.Initialize

    It worked before though with Version 5.x of Notes. In Notes Version 6.X
    they introduced the session.Initial ize() - that was the point, when I
    couldn't create an instance anymore. I found no hint on the net... Do you
    have any idea what is going wrong here?

    Regards,
    Marco


Working...