[python-win32] clipboard errors

Eric Johansson esj at harvee.org
Mon Jun 3 19:14:55 CEST 2013


I'm having a bit of trouble the Windows clipboard. I keep getting things 
like the trace back below.:

2013-06-03 12:56:26,667 - DEBUG - VFU TB Traceback (most recent call last):
   File "C:\NatLink\NatLink\Vocola\extensions\vocola_ext_togglename.py", 
line 180, in vc_first_unknown
     clipboard_string = clipboard_instance.clipboard_get()
   File "C:\NatLink\NatLink\Vocola\extensions\vocola_ext_togglename.py", 
line 88, in clipboard_get
result=self.win32clipboard.GetClipboardData(self.win32con.CF_TEXT)
error: (183, 'GetClipboardData', 'Cannot create a file when that file 
already exists.')

the code is implemented as can be found at github

https://github.com/togglename/togglename/blob/master/vocola/extensions/vocola_ext_togglename.py

Start about line 69.

Would appreciate any insight as to why I'm getting these errors.


More information about the python-win32 mailing list