Many times when I attempt to highlight and use a Ctrl-C to copy code from the Toad beta, I will get a system error message.
There is a bit of randomness to this issue. It seems to come and go. It is more likely to happen in a non-editor pane, such as the source tab for a highlighted PLSQL object.
I have attached the EurekaLog debugging information for the crash.
Toad_CtrlC_Crash_EurekaLog.txt (87.6 KB)
I have attached a screenshot of where I attempted the Ctrl-C copy.
I’m experiencing the same issue with 12.7.0.121.
Just recently Dell put out a new public (non Beta) release of Toad for Oracle, version 12.7.1.11. On my computer, I don’t ever get the "System Error 5 " messages when I copy text from Toad to the clipboard. using that version of Toad for Oracle.
The "System Error 5 " issue is not listed in the Resolved Issues section of the release notes for Toad version 12.7.1, and so someone from Dell Software would have to confirm that the issue has been addressed and fixed.
Thanks for the heads up man! I tried the new version 12.7.1.11, but I still get the same error. Oh well…I’m glad yours is sorted though.
Changes were made for this issue, but it looks like there's still a problem in some cases; however, there is a workaround. If you disable the Copy text in RTF option on the Editor|Behavior options page then you'll be OK. When RTF copy is enabled copying is done in two passes. The first is to allow the edit control to perform its copy natively. This allows block selections to be copied and later pasted properly. The second pass appends the RTF data to clipboard. It appears as though the edit control has not yet released the clipboard lock in some cases. The solutions I found are to retry the RTF clipboard pass up to N times on exception. Toad will attempt 3 times to put the RTF data there and bail if it's not possible. I'll look again and see if there are alternative methods that might work better.
Michael
On 09/02/2015 08:07 AM, Miles Buckton wrote:
RE: System Error 5 When Attempting Copy To Clipboard (12.7.0.76)
Reply by Miles Buckton
Thanks for the heads up man! I tried the new version 12.7.1.11, but I still get the same error. Oh well...I'm glad yours is sorted though.
To reply, please reply-all to this email.
Stop receiving emails on this subject.
Or
Unsubscribe from Toad for Oracle - Beta notifications altogether.
Toad for Oracle - Beta Discussion Forum
Flag
this post as spam/abuse.
Michael, your suggestion worked perfectly - thank you! I’m now able to copy text without any issues! I also like your idea on the proposed solution…I believe you’ll get it to work 100%.
With 12.7.1.11, the paste function isn’t working – I tried unchecking the RTF option as you suggested, but still no dice. The copy function is working (I can paste to notepad, for example), but it will not paste in the editor.
Does paste work in a new, blank editor tab? Has something made your editor tab read-only (read-only file, Team Coding, etc.)? If the tab is read-write does the rt-click Paste option work?
Paste does not work in a new, blank editor tab. I’m not using team coding and read-only is a no. I can select and copy from the editor and paste it into notepad, for example, but I cannot paste into an editor window. It simply will not paste anything. Right-click, pick from the menu, use the icon – none of them will paste.
Does paste work elsewhere in Toad (in another control)? Can you paste into the user edit on the login window? Do you use a clipboard manager like ClipX? If so, does the behavior change if you disable it?
From: markstuhmer [mailto:bounce-markstuhmer@toadworld.com]
Sent: Sunday, September 06, 2015 3:00 AM
To: toadoraclebeta@toadworld.com
Subject: RE: [Toad for Oracle - Beta Discussion Forum] System Error 5 When Attempting Copy To Clipboard (12.7.0.76)
RE: System Error 5 When Attempting Copy To Clipboard (12.7.0.76)
Reply by markstuhmer
Paste does not work in a new, blank editor tab. I’m not using team coding and read-only is a no. I can select and copy from the editor and paste it into notepad, for example, but I cannot paste into an editor window. It simply will not paste anything. Right-click, pick from the menu, use the icon – none of them will paste.
To reply, please reply-all to this email.
Stop receiving emails on this subject.
Or
Unsubscribe from Toad for Oracle - Beta notifications altogether.
Toad for Oracle - Beta Discussion Forum
Flag
this post as spam/abuse.
And that’s what’s truly odd – paste doesn’t work anywhere in Toad. I’ve tried pasting into many different fields – nothing. I’m not using a clipboard manager. It’s interesting that I can copy to the clipboard, but the paste function just can’t seem get data from the clipboard.
In a way, that’s good. So it’s not specific to the edit control. I suspect that your paste command has had its shortcut overwritten or has otherwise become corrupt. In Options on the Toolbars/Menus|Shortcuts page locate the “Paste” command of the Edit category. Is it mapped to CTRL+V? If not, select it and click reset current. If you didn’t change that command and it has been changed then you might consider resetting all of your shortcuts. Who knows what else could be corrupt?
From: markstuhmer [mailto:bounce-markstuhmer@toadworld.com]
Sent: Sunday, September 06, 2015 2:02 PM
To: toadoraclebeta@toadworld.com
Subject: RE: [Toad for Oracle - Beta Discussion Forum] System Error 5 When Attempting Copy To Clipboard (12.7.0.76)
RE: System Error 5 When Attempting Copy To Clipboard (12.7.0.76)
Reply by markstuhmer
And that’s what’s truly odd – paste doesn’t work anywhere in Toad. I’ve tried pasting into many different fields – nothing. I’m not using a clipboard manager. It’s interesting that I can copy to the clipboard, but the paste function just can’t seem get data from the clipboard.
To reply, please reply-all to this email.
Stop receiving emails on this subject.
Or
Unsubscribe from Toad for Oracle - Beta notifications altogether.
Toad for Oracle - Beta Discussion Forum
Flag
this post as spam/abuse.
I feel as though I’m wasting your time. Paste was indeed mapped to Ctll+v. For fun, I tried deleting it and mapping it to another key combination that I know works – that had no effect. There seems to be nothing I can do to make paste work. I even tried uninstalling/reinstalling the software. All of the other edit functions appear to work – paste is the only holdout.
In that same dialog if you sort by the conflict column there are no other commands also mapped to the same shortcut(s)?
From: markstuhmer [mailto:bounce-markstuhmer@toadworld.com]
Sent: Monday, September 07, 2015 11:16 AM
To: toadoraclebeta@toadworld.com
Subject: RE: [Toad for Oracle - Beta Discussion Forum] System Error 5 When Attempting Copy To Clipboard (12.7.0.76)
RE: System Error 5 When Attempting Copy To Clipboard (12.7.0.76)
Reply by markstuhmer
I feel as though I’m wasting your time. Paste was indeed mapped to Ctll+v. For fun, I tried deleting it and mapping it to another key combination that I know works – that had no effect. There seems to be nothing I can do to make paste work. I even tried uninstalling/reinstalling the software. All of the other edit functions appear to work – paste is the only holdout.
To reply, please reply-all to this email.
Stop receiving emails on this subject.
Or
Unsubscribe from Toad for Oracle - Beta notifications altogether.
Toad for Oracle - Beta Discussion Forum
Flag
this post as spam/abuse.
No, I checked that carefully – nothing else is mapped to ctrl+v.
If you zip and send me your user files offline I’ll have a look. Michael.staszewskiquest.com
From: markstuhmer [mailto:bounce-markstuhmer@toadworld.com]
Sent: Monday, September 07, 2015 2:43 PM
To: toadoraclebeta@toadworld.com
Subject: RE: [Toad for Oracle - Beta Discussion Forum] System Error 5 When Attempting Copy To Clipboard (12.7.0.76)
RE: System Error 5 When Attempting Copy To Clipboard (12.7.0.76)
Reply by markstuhmer
No, I checked that carefully – nothing else is mapped to ctrl+v.
To reply, please reply-all to this email.
Stop receiving emails on this subject.
Or Unsubscribe from Toad for Oracle - Beta notifications altogether.
Toad for Oracle - Beta Discussion Forum
Flag this post as spam/abuse.