Re: self signing a py2exe windows executable

Discussion in 'Python' started by Roger Upole, Oct 7, 2008.

  1. Roger Upole

    Roger Upole Guest

    William Heath wrote:
    > Hi Roger,
    > I managed to get the dll and register it. I am now getting this error:
    >
    > Traceback (most recent call last):
    > File
    > "C:\Python25\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py",
    > line 312, in RunScript
    > exec codeObject in __main__.__dict__
    > File "C:\Documents and Settings\blech\My
    > Documents\qb_bridge_client_easy\dist\sign_exe.py", line 4, in <module>
    > s.Sign(None)
    > File
    > "C:\Python25\lib\site-packages\win32com\gen_py\BD26B198-EE42-4725-9B23-AFA912434229x0x2x1.py",
    > line 2067, in Sign
    > return self._oleobj_.InvokeTypes(6, LCID, 1, (24, 0), ((9,
    > 49),),pISigner2
    > com_error: (-2147352567, 'Exception occurred.', (0, None, u'The
    > certificate
    > store does not contain any certificate.\r\n', None, 0, -2138570191), None)
    >
    > Line 4 is this:
    >
    > s.Sign(None)
    >
    > I don't think this can be none can it?
    >
    > -Tim
    >
    > P.S.
    >
    > Thanks for your help!


    If the signer is not specified, it should auto-select the appropriate
    certificate. Do you have a code signing certificate installed in
    the current user's certificate store ?

    Roger
     
    Roger Upole, Oct 7, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ralf W. Grosse-Kunstleve
    Replies:
    16
    Views:
    583
    Lonnie Princehouse
    Jul 11, 2005
  2. Ralf W. Grosse-Kunstleve
    Replies:
    18
    Views:
    597
    Bengt Richter
    Jul 11, 2005
  3. Ralf W. Grosse-Kunstleve
    Replies:
    2
    Views:
    402
    Dan Sommers
    Jul 12, 2005
  4. Replies:
    0
    Views:
    441
  5. Roger Upole
    Replies:
    1
    Views:
    339
    M├ęta-MCI \(MVP\)
    Oct 4, 2008
Loading...

Share This Page