zhouzhui / simbl

Automatically exported from code.google.com/p/simbl
0 stars 0 forks source link

Terminal 'ascr'/'gdut' event received from process #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I was able to install SIMBL-0.9.5b, and it looks like it launches just
fine. But console is now logging this.

9/12/09 1:55:07 PM  Terminal[1554]  'ascr'/'gdut' event received from process
(pid=1409 r/e uid=0/0 gid=0/0) with different credentials than (euid=502
egid=502)
9/12/09 1:55:07 PM  Terminal[1554]  'ascr'/'gdut' event blocked because this
process doesn't export scripting additions

Here is the plugin I'm using
http://blog.fallingsnow.net/2009/08/28/fixing-colors-in-terminal-app-on-10-6/

Original issue reported on code.google.com by jma...@gmail.com on 12 Sep 2009 at 5:57

GoogleCodeExporter commented 9 years ago
I should also note that the plugin is not functioning. It works with the old .8
version if I force terminal into 32 bit mode.

Original comment by jma...@gmail.com on 12 Sep 2009 at 5:59

GoogleCodeExporter commented 9 years ago
These messages are probably spurious.

SIMBL is likely working correctly, but this system is not loading the this 
plugin because it is not compiled for x86_64.

[mike]rogue:~> file 
~/Downloads/TerminalColours.bundle/Contents/MacOS/TerminalColours 
/Users/mike/Downloads/TerminalColours.bundle/Contents/MacOS/TerminalColours: 
Mach-O bundle i386

[mike]rogue:~> file /Library/ScriptingAdditions/SIMBL.osax/Contents/MacOS/SIMBL 
/Library/ScriptingAdditions/SIMBL.osax/Contents/MacOS/SIMBL: Mach-O universal 
binary with 4 architectures
/Library/ScriptingAdditions/SIMBL.osax/Contents/MacOS/SIMBL (for architecture 
i386):  Mach-O bundle i386
/Library/ScriptingAdditions/SIMBL.osax/Contents/MacOS/SIMBL (for architecture 
x86_64):    Mach-O 64-bit bundle x86_64
/Library/ScriptingAdditions/SIMBL.osax/Contents/MacOS/SIMBL (for architecture 
ppc7400):   Mach-O bundle ppc
/Library/ScriptingAdditions/SIMBL.osax/Contents/MacOS/SIMBL (for architecture 
ppc64): Mach-O 64-bit bundle ppc64

If you look in the system.log with Console.app, you should see the message 
"InjectEventHandler". If you do, SIMBL is working correctly.

Here is how it looks on my machine:

Sep 12 11:38:08 rogue SIMBL Agent[1754]: received {\n    
NSApplicationBundleIdentifier = "com.apple.Terminal";\n    NSApplicationName = 
Terminal;\n    NSApplicationPath = "/Applications/Utilities/Terminal.app";\n    
NSApplicationProcessIdentifier = 2299;\n    
NSApplicationProcessSerialNumberHigh = 0;\n    
NSApplicationProcessSerialNumberLow = 725169;\n    NSWorkspaceApplicationKey = 
<NSRunningApplication: 0x100135ce0 (com.apple.Terminal - 2299)>;\n}
Sep 12 11:38:08 rogue Terminal[2299]: Performance: Please update this scripting 
addition to supply a value for ThreadSafe for each event 
handler: "/Library/ScriptingAdditions/SIMBL.osax"
Sep 12 11:38:08 rogue Terminal[2299]: InjectEventHandler

Original comment by ms...@gmail.com on 12 Sep 2009 at 6:39