Opened 10 years ago

Closed 10 years ago

Last modified 6 months ago

#8 closed defect (fixed)

Unregistering Palm conduit fails if Hotsync Manager not installed

Reported by: Lance Edgar Owned by: Lance Edgar
Priority: major Component: Palm OS App
Version: v0.3 Keywords:
Cc: Relationships: New


Apparently if Hotsync Manager is not installed, you can't really unregister the Rattail Palm conduit. That probably is never going to be a significant problem in the real world, but nonetheless it would be nice to handle the exception and show something nicer to the user.

Traceback (most recent call last):
  File "C:\Python27\Scripts\", line 8, in 
    load_entry_point('rattail==0.3a28', 'console_scripts', 'rattail')()
  File "C:\Python27\lib\site-packages\rattail-0.3a28-py2.7.egg\rattail\", line 207, in main*args)
  File "C:\Python27\lib\site-packages\edbob-0.1a27-py2.7.egg\edbob\", line 185, in run
    cmd._run(*(args.command + args.argv))
  File "C:\Python27\lib\site-packages\edbob-0.1a27-py2.7.egg\edbob\", line 236, in _run
  File "C:\Python27\lib\site-packages\rattail-0.3a28-py2.7.egg\rattail\", line 161, in run
  File "C:\Python27\lib\site-packages\rattail-0.3a28-py2.7.egg\rattail\", line 170, in unregister_conduit
    conduit_mgr = Dispatch('PDStandard.PDSystemCondMgr')
  File "C:\Python27\lib\site-packages\win32com\client\", line 95, in Dispatch
    dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
  File "C:\Python27\lib\site-packages\win32com\client\", line 108, in _GetGoodDispatchAndUserName
    return (_GetGoodDispatch(IDispatch, clsctx), userName)
  File "C:\Python27\lib\site-packages\win32com\client\", line 85, in _GetGoodDispatch
    IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
com_error: (-2147221005, 'Invalid class string', None, None)

Attachments (0)

Change History (1)

comment:1 Changed 10 years ago by Lance Edgar

Resolution: fixed
Status: newclosed

Fixed in 317d33b/rattail. It's possible there are still some logic paths which aren't handled, but the simple case of Hotsync Manager not being installed should be okay.

Modify Ticket

Change Properties
as closed The owner will remain Lance Edgar.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.