Modify ↓
#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 |
Description
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\rattail-script.py", 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\commands.py", line 207, in main cmd.run(*args) File "C:\Python27\lib\site-packages\edbob-0.1a27-py2.7.egg\edbob\commands.py", line 185, in run cmd._run(*(args.command + args.argv)) File "C:\Python27\lib\site-packages\edbob-0.1a27-py2.7.egg\edbob\commands.py", line 236, in _run return self.run(args) File "C:\Python27\lib\site-packages\rattail-0.3a28-py2.7.egg\rattail\commands.py", line 161, in run palm.unregister_conduit() File "C:\Python27\lib\site-packages\rattail-0.3a28-py2.7.egg\rattail\palm.py", line 170, in unregister_conduit conduit_mgr = Dispatch('PDStandard.PDSystemCondMgr') File "C:\Python27\lib\site-packages\win32com\client\__init__.py", line 95, in Dispatch dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx) File "C:\Python27\lib\site-packages\win32com\client\dynamic.py", line 108, in _GetGoodDispatchAndUserName return (_GetGoodDispatch(IDispatch, clsctx), userName) File "C:\Python27\lib\site-packages\win32com\client\dynamic.py", line 85, in _GetGoodDispatch IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch) com_error: (-2147221005, 'Invalid class string', None, None)
Attachments (0)
Note: See
TracTickets for help on using
tickets.
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.