terminal error
When i am executing IDLE from terminal I am getting the below error.
Getting error:
Ashishs-MacBook-Pro:scripts root# idle
2016-01-19 14:58:47.922 Python[853:64169] CFPasteboardRef CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global data
2016-01-19 14:58:47.923 Python[853:64169] CFPasteboardRef CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global data
Also,
when i am executing this below script in python
import webbrowser
webbrowser.open("http://www.youtube.com")
Getting error :
70:78: execution error: Can’t get application "firefox". (-1728)
2016-01-19 14:59:16.868 osascript[864:64556] CFPasteboardRef CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global data
2016-01-19 14:59:16.869 osascript[864:64556] CFPasteboardRef CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global data
2016-01-19 14:59:16.869 osascript[864:64556] CFPasteboardRef CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global data
2016-01-19 14:59:16.870 osascript[864:64556] CFPasteboardRef CFPasteboardCreate(CFAllocatorRef, CFStringRef) : failed to create global data
69:77: execution error: Safari got an error: Application isn’t running. (-600)
MacBook Pro, OS X El Capitan (10.11.1)