Every now and then when I put text on the clipboard using clipboard.gettext it says "Can't access the clipboard" and the program terminates. Most of the time it works just like it's supposed to, but now and then it gives that error for no apparent reason.. Any ideas?

Thanks,
James