[AG-TECH] shared presentation fails to load presentation

Michael Braitmaier braitmaier at hlrs.de
Fri Apr 29 10:13:45 CDT 2005


Looking at the Logfile, this seems to be a problem with your windows 
machine, possible due to win2k.
The following line in the log

File "SharedPresentation.py", line 156, in LoadPresentation
>    self.presentation = self.ppt.Presentations.Open(file)
>  File 
> "C:\Python23\Lib\site-packages\win32com\gen_py\91493440-5A91-11CF-8700-00AA0060263Bx0x2x7.py", 
> line 3749, in Open
>    ret = self._oleobj_.InvokeTypes(2005, LCID, 1, (13, 0), ((8, 1), (3, 
> 49), (3, 49), (3, 49)),FileName, ReadOnly, Untitled, WithWindow)
> com_error: (-2147352567, 'Exception occurred.', (0, None, None, None, 
> 0, -2147467259), None)
> 04/21/05 11:35:31 1876 SharedPresentation     sharedpresentation.py:1502 
> ERROR SharedPresentation.LocalLoadVenue: Can not load presentation

states that an OLE automation error (-2147352567) occured, which is caused 
within the OLE component of Powerpoint.
I found a link to a forum discission where a reference is made to different 
MDAC versions installed on your machines. Possibly that would be a point to 
checkout. If thats the case maybe you should consider upgrading your MDAC 
component.
Still there seem to be other possibilities. I add the link to the foruum 
discussion for reference and hope it helps.
http://www.mail-archive.com/vbpro_databases@p2p.wrox.com/msg00383.html

Michael


----- Original Message ----- 
From: "Michael Blodgett" <mblodget at cs.wisc.edu>
To: <ag-tech at mcs.anl.gov>
Sent: Thursday, April 28, 2005 10:02 PM
Subject: [AG-TECH] shared presentation fails to load presentation


>I have been working around this for awhile, fresh install of win2k, ag2.3. 
>I can open a shared presentation, the control window pops up along with 
>powerpoint app, it downloads the ppt file but then I get a popup window 
>that it couldn't load the presentation.  I found a similar report on the 
>ag-tech mailing list last November but there were no replies.  I included 
>the shared presentation log message below.  This problem look familar to 
>anyone?
>
> Mike Blodgett
> UW-Madison,CS
>
>
> -----------------------------------------------------------------------------------------------------------
>
> 04/21/05 11:35:21 1452 Toolkit     toolkit.py:90 DEBUG Initializing AG 
> Toolkit version 2.3
> 04/21/05 11:35:21 1452 Toolkit     toolkit.py:132 INFO  Logfile Name: 
> SharedPresentation.log
> 04/21/05 11:35:21 1452 Toolkit     config.py:196 DEBUG Using 
> GLOBUS_HOSTNAME=ag-display.cs.wisc.edu as set in the environment
> 04/21/05 11:35:21 1452 CertificateManager     certificatemanager.py:257 
> DEBUG Opened repository C:\WINNT\Profiles\ag-op\Application 
> Data\AccessGrid\Config\certRepo
> 04/21/05 11:35:21 1452 Toolkit     toolkit.py:395 DEBUG Got repo.
> 04/21/05 11:35:21 1452 Toolkit     toolkit.py:397 DEBUG looking in system 
> ca dir: C:\Program Files\AGTk-2.3\Config\CAcertificates
> 04/21/05 11:35:21 1452 Toolkit     toolkit.py:401 DEBUG Getting cert: 
> 1c3f2ca8.0
> 04/21/05 11:35:21 1452 Toolkit     toolkit.py:406 WARNING Not importing 
> cert C:\Program Files\AGTk-2.3\Config\CAcertificates\1c3f2ca8.0
> 04/21/05 11:35:21 1452 Toolkit     toolkit.py:401 DEBUG Getting cert: 
> 45cc9e80.0
> 04/21/05 11:35:21 1452 Toolkit     toolkit.py:406 WARNING Not importing 
> cert C:\Program Files\AGTk-2.3\Config\CAcertificates\45cc9e80.0
> 04/21/05 11:35:21 1452 Toolkit     toolkit.py:401 DEBUG Getting cert: 
> d1b603c3.0
> 04/21/05 11:35:21 1452 Toolkit     toolkit.py:406 WARNING Not importing 
> cert C:\Program Files\AGTk-2.3\Config\CAcertificates\d1b603c3.0
> 04/21/05 11:35:21 1452 Toolkit     toolkit.py:401 DEBUG Getting cert: 
> f18fa857.0
> 04/21/05 11:35:21 1452 Toolkit     toolkit.py:406 WARNING Not importing 
> cert C:\Program Files\AGTk-2.3\Config\CAcertificates\f18fa857.0
> 04/21/05 11:35:21 1452 Toolkit     toolkit.py:410 DEBUG Init'ing globus.
> 04/21/05 11:35:21 1452 CertificateManager     certificatemanager.py:734 
> DEBUG Configuring standard environment
> 04/21/05 11:35:21 1452 CertificateManager     certificatemanager.py:802 
> DEBUG Using default identity /O=Access 
> Grid/OU=agdev-ca.mcs.anl.gov/OU=cs.wisc.edu/CN=Michael Blodgett
> 04/21/05 11:35:21 1452 CertificateManager     certificatemanager.py:873 
> DEBUG Initializing environment with proxy cert for /O=Access 
> Grid/OU=agdev-ca.mcs.anl.gov/OU=cs.wisc.edu/CN=Michael Blo
> dgett
> 04/21/05 11:35:21 1452 CertificateManager     certificatemanager.py:907 
> DEBUG Looking for identity (unused) None
> 04/21/05 11:35:21 1452 CertificateManager     certificatemanager.py:892 
> DEBUG Configuring for user proxy issued from /O=Access 
> Grid/OU=agdev-ca.mcs.anl.gov/OU=cs.wisc.edu/CN=Michael Blodgett
> 04/21/05 11:35:21 1452 CertificateManager     certificatemanager.py:895 
> DEBUG Proxy C:\WINNT\Profiles\ag-op\LOCALS~1\Temp\proxy will expire 
> 04/21/05 18:26:51
> 04/21/05 11:35:21 1452 Toolkit     toolkit.py:414 DEBUG Done with globus.
> 04/21/05 11:35:24 1452 EventClient     eventclient.py:158 DEBUG Have 
> callback handle _90725e02_p_callbackStruct
> 04/21/05 11:35:24 1452 SharedPresentation     sharedpresentation.py:727 
> DEBUG Registering for events.
> 04/21/05 11:35:24 1452 SharedPresentation     sharedpresentation.py:735 
> DEBUG Creating controller.
> 04/21/05 11:35:26 1876 SharedPresentation     sharedpresentation.py:810 
> DEBUG Got Event: local load venue None
> 04/21/05 11:35:26 1876 SharedPresentation     sharedpresentation.py:1432 
> DEBUG Method LocalLoadVenue called
> 04/21/05 11:35:27 1876 SharedPresentation     sharedpresentation.py:1441 
> DEBUG Got presentation: 
> https://ivs.mcs.anl.gov:9006/00000100a9f4edf1008c00dd000a005aad0/2005_0421_GCM.ppt
> 04/21/05 11:35:30 1876 DataStore     datastore.py:1643 DEBUG Host 
> ivs.mcs.anl.gov:9006, path 
> /00000100a9f4edf1008c00dd000a005aad0/2005_0421_GCM.ppt
> 04/21/05 11:35:30 1876 DataStore     datastore.py:1645 DEBUG Connect to 
> ivs.mcs.anl.gov:9006
> 04/21/05 11:35:30 1876 DataStore     datastore.py:1648 DEBUG Downloading 
> https://ivs.mcs.anl.gov:9006/00000100a9f4edf1008c00dd000a005aad0/2005_0421_GCM.ppt 
> into C:\WINNT\Profiles\ag-op\LOCALS
> ~1\Temp\presentation.ppt
> 04/21/05 11:35:30 1876 DataStore     datastore.py:1655 DEBUG before 
> connect reqest path 
> /00000100a9f4edf1008c00dd000a005aad0/2005_0421_GCM.ppt, headers {}
> 04/21/05 11:35:31 1876 DataStore     datastore.py:1657 DEBUG after connect 
> reqest
> 04/21/05 11:35:31 1876 DataStore     datastore.py:1659 DEBUG request sent 
> to <pyGlobus.io.GSIHTTPConnection instance at 0x04E9EB20>
> 04/21/05 11:35:31 1876 DataStore     datastore.py:1663 DEBUG response is 
> <httplib.HTTPResponse instance at 0x021EA468>
> 04/21/05 11:35:31 1876 DataStore     datastore.py:1664 DEBUG Request got 
> status 200
> 04/21/05 11:35:31 1876 DataStore     datastore.py:1677 DEBUG Got hdr 
> 3336704
> 04/21/05 11:35:31 1876 DataStore     datastore.py:1678 DEBUG ['Server: 
> BaseHTTP/0.3 Python/2.3.4\r\n', 'Date: Thu, 21 Apr 2005 16:33:01 GMT\r\n', 
> 'Content-type: application/octet-stream\r\n',
> 'Content-Length: 3336704\r\n']
> 04/21/05 11:35:31 1876 SharedPresentation     sharedpresentation.py:1484 
> ERROR Can not load file 
> https://ivs.mcs.anl.gov:9006/00000100a9f4edf1008c00dd000a005aad0/2005_0421_GCM.ppt 5
> Traceback (most recent call last):
>  File "SharedPresentation.py", line 1481, in LocalLoadVenue
>    self.viewer.LoadPresentation(tmpFile)
>  File "SharedPresentation.py", line 156, in LoadPresentation
>    self.presentation = self.ppt.Presentations.Open(file)
>  File 
> "C:\Python23\Lib\site-packages\win32com\gen_py\91493440-5A91-11CF-8700-00AA0060263Bx0x2x7.py", 
> line 3749, in Open
>    ret = self._oleobj_.InvokeTypes(2005, LCID, 1, (13, 0), ((8, 1), (3, 
> 49), (3, 49), (3, 49)),FileName, ReadOnly, Untitled, WithWindow)
> com_error: (-2147352567, 'Exception occurred.', (0, None, None, None, 
> 0, -2147467259), None)
> 04/21/05 11:35:31 1876 SharedPresentation     sharedpresentation.py:1502 
> ERROR SharedPresentation.LocalLoadVenue: Can not load presentation 
> https://ivs.mcs.anl.gov:9006/00000100a9f4edf1008c00
> dd000a005aad0/2005_0421_GCM.ppt
> 04/21/05 11:35:43 1452 SharedPresentation     sharedpresentation.py:762 
> DEBUG Shutting down...
> 04/21/05 11:35:43 1876 SharedPresentation     sharedpresentation.py:810 
> DEBUG Got Event: local quit None
> 04/21/05 11:35:43 1876 SharedPresentation     sharedpresentation.py:1216 
> DEBUG Method Quit called
> 04/21/05 11:35:43 1876 SharedPresentation     sharedpresentation.py:1234 
> ERROR Exception destroying controller. This happens when using the x 
> button in the top right corner. Not critical.
> Traceback (most recent call last):
>  File "SharedPresentation.py", line 1232, in Quit
>    self.controller.frame.Destroy()
>  File "C:\Python23\Lib\site-packages\wx\core.py", line 9344, in 
> __getattr__
>    raise PyDeadObjectError(self.attrStr % self._name)
> PyDeadObjectError: The C++ part of the SharedPresentationFrame object has 
> been deleted, attribute access no longer allowed.
> 04/21/05 11:35:44 1452 EventClient     eventclient.py:303 DEBUG Cancel 
> pending callbacks
> 04/21/05 11:35:44 1948 EventClient     eventclient.py:177 DEBUG Read 
> Callback called arg=None handle=_08ef5c02_p_globus_io_handle_t result=(-1, 
> 2, 'an I/O operation was cancelled')  n=0
>
> 04/21/05 11:35:44 1948 EventClient     eventclient.py:180 DEBUG 
> readCallback gets failure in result: -1 2
> 04/21/05 11:35:44 1452 EventClient     eventclient.py:309 DEBUG Free 
> callback _90725e02_p_callbackStruct
> 04/21/05 11:35:44 1452 EventClient     eventclient.py:315 DEBUG 
> EventClient.Stop: closing socket
> 04/21/05 11:35:44 1452 EventClient     eventclient.py:323 DEBUG 
> EventClient.Stop: closing queue
> 




More information about the ag-tech mailing list