New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Carbon.Scrap.PutScrapFlavor #44847
Comments
The GetScrapFlavor(), and ClearCurrentScrap() functions work fine, however the PutScrapFlavor, is not putting th e text into my clipboard. The function does not return an error nor exception from my code, as far as I can tell. sample of code: text = 'the test text'
scrap.ClearCurrentScrap()
item = scrap.GetCurrentScrap()
item.PutScrapFlavor(type, 0, text) Result is: Previous text is cleard, and nothing is put in its place. I am continuing to research this, as well as try it in C, and install python2.5. Environment |
Tested with python25, function calls GetScrapFlavorData, and PutScrapFlavorData now result in a bus error. |
I'm confirming this issue on Intel / Leopard with python 2.5 (system PPC / Tiger with python 2.3 (system python), 2.5 (macports) and 2.6 MacOS.Error: (-4960, 'coreFoundationUnknownErr') |
The failure testcase that dingus9 provided is: import Carbon.Scrap as Scrap
scrap = Scrap.GetCurrentScrap()
scrap.GetScrapFlavorData('TEXT') |
Lowering the priority to low because this is a bug in a deprecated binding |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: