[phpBB Debug] PHP Notice: in file /viewtopic.php on line 981: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 981: getdate(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead
Tynsoe Projects • View topic - How to recover from a failed uninstall, in single-user mode?

How to recover from a failed uninstall, in single-user mode?

How to recover from a failed uninstall, in single-user mode?

Postby dkw » Thu Dec 30, 2010 10:06 am

How can one uninstall/disable GeekTool from single-user mode, using only the command line?

While trying to uninstall GeekTool 2.1.2 from my 17" UMBP (and install GeekTool 3.0), the GeekTool Uninstaller failed to run properly and hung. Eventually it had to be "force quit" just to shut down the system.

However, now the Mac won't allow login at all (attempting to login just returns back to the login screen before displaying the desktop). Nor can it boot into "safe mode" (hangs before displaying the login screen or desktop).

This is a critical machine for me, and I cannot just reinstall the entire MacOS from scratch without losing an enormous amount of work.

Right now, the only way to log in at all is into single-user mode. Since this only provides the barebones Unix command-line shell with no Mac GUI, it's not obvious how to run the GUI-based GeekTool Uninstaller or to get to the PrefPane in System Preferences.

The documentation says "To uninstall GeekTool you absolutely need to use the "GeekTool Uninstaller" program to make a clean uninstall.. .Because Apple did not make public the menu API used for the GeekTool menu feature, there is a little hack called "MenuCracker" installed to show the menu, the uninstaller removes the hack and the preference pane."

How can one clean up the uninstall so that at least it is possible to log in to the normal (or safe mode) GUI?

Any help on this would be greatly appreciated.
dkw
 
Posts: 2
Joined: Thu Dec 30, 2010 9:13 am

Re: How to recover from a failed uninstall, in single-user mode?

Postby ybizeul » Fri Dec 31, 2010 5:15 pm

I doubt GeekTool can be responsible of the fact you can't log in.

By the way, in single user mode, if you just remove any GeekTool.prefPane file (both in /Library/PreferencePanes and ~/Library/PreferencePanes/) then reboot, obviously GeekTool will no longer be able to run, neither the menu addition be added to the bar.

You can also try to reset SystemUIServer's preferences (~/Library/Preferences/com.apple.systemuiserver.plist)
ybizeul
Site Admin
 
Posts: 133
Joined: Fri Jan 22, 2010 4:34 pm

Re: How to recover from a failed uninstall, in single-user mode?

Postby dkw » Sat Jan 01, 2011 8:24 am

Thank you very much.

I disabled the prefPanes and reinstalled the OS (without removing the existing files), which is using a sledgehammer that of course works... will never find out exactly what went wrong, I'm afraid.
dkw
 
Posts: 2
Joined: Thu Dec 30, 2010 9:13 am

Re: How to recover from a failed uninstall, in single-user mode?

Postby rwhite » Wed Feb 09, 2011 2:24 am

After several botched installs, I had a failed uninstall as well. Manually removing the Preference panes has done the trick. Likewise, I removed
/Users/rwhite/Library/Preferences/org.tynsoe.geeklet.shell.plist
/Users/rwhite/Library/Preferences/org.tynsoe.geektool.prefpane.plist
/Users/rwhite/Library/Preferences/org.tynsoe.geektool3.plist
... which hadn't been removed before repeated Uninstall attempts hung, each time crashing System Preferences.

It's a shame... I was hoping to install GeekTool, but after failed installation and removal attempts, I'm wondering if there's something with my machine that's causing this.

I'm pasting crash report here as well as screenshots of the fail, in case there are any clues there.

Does the fact that my MBP has a 1680 x 1050 monitor have anything to do with it?

Hope someone can help!



####### Crash report #####
Date/Time: 2011-02-08 17:58:10 -0800
OS Version: 10.6.6 (Build 10J567)
Architecture: x86_64
Report Version: 7

Command: Uninstall
Path: /Volumes/GeekTool 3/Uninstall.app/Contents/MacOS/Uninstall
Version: 3.0 (12A) (1)
Parent: launchd [103]

PID: 178
Event: hang
Duration: 5.44s (sampling started after 2 seconds)
Steps: 14 (100ms sampling interval)

Pageins: 28
Pageouts: 0


Process: Uninstall [178]
Path: /Volumes/GeekTool 3/Uninstall.app/Contents/MacOS/Uninstall
UID: 501

Thread ef5c7a8 DispatchQueue 1
User stack:
14 start + 52 (in Uninstall) [0x100001748]
14 NSApplicationMain + 364 (in AppKit) [0x7fff834391a8]
14 -[NSApplication run] + 395 (in AppKit) [0x7fff8344048b]
14 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155 (in AppKit) [0x7fff8347a7a9]
14 _DPSNextEvent + 1205 (in AppKit) [0x7fff8347b04b]
14 AEProcessAppleEvent + 48 (in HIToolbox) [0x7fff88ec7765]
14 aeProcessAppleEvent + 210 (in AE) [0x7fff88744123]
14 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 32 (in AE) [0x7fff8874421c]
14 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 162 (in AE) [0x7fff88744323]
14 _NSAppleEventManagerGenericHandler + 114 (in Foundation) [0x7fff84291d92]
14 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 360 (in Foundation) [0x7fff84291f62]
14 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 77 (in AppKit) [0x7fff83575f81]
14 -[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 219 (in AppKit) [0x7fff83576305]
14 -[NSApplication _sendFinishLaunchingNotification] + 66 (in AppKit) [0x7fff834ab30b]
14 -[NSApplication _postDidFinishNotification] + 100 (in AppKit) [0x7fff834ab3d6]
14 -[NSNotificationCenter postNotificationName:object:userInfo:] + 101 (in Foundation) [0x7fff8425a9ce]
14 _CFXNotificationPostNotification + 200 (in CoreFoundation) [0x7fff85f9a578]
14 __CFXNotificationPost + 1008 (in CoreFoundation) [0x7fff85fae000]
14 _nsnote_callback + 167 (in Foundation) [0x7fff84263a66]
14 -[GTUninstallerDelegate applicationDidFinishLaunching:] + 408 (in Uninstall) [0x100001912]
14 -[NSAppleScript(NSPrivate) _executeWithMode:andReturnError:] + 139 (in Foundation) [0x7fff842f5a64]
14 OSAExecute + 65 (in OpenScripting) [0x7fff88157c4e]
14 GenericComponent + 219 (in AppleScript) [0x117a47498]
14 AGenericManager::HandleOSACall(ComponentParameters*) + 54 (in AppleScript) [0x117a47508]
14 AGenericCall::Delegate(ComponentInstanceRecord*) + 46 (in AppleScript) [0x117a47bb4]
14 AppleScriptComponent + 1728 (in AppleScript) [0x117a2ec95]
14 CallComponentFunction + 28 (in CarbonCore) [0x7fff8086ae48]
14 ASExecute(unsigned int, unsigned int, int, unsigned int*) + 472 (in AppleScript) [0x117a35cc7]
14 UASExecute(unsigned char) + 229 (in AppleScript) [0x117a5ffab]
14 UASExecute1() + 2546 (in AppleScript) [0x117a5f9b2]
14 UASRemoteSend(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char*) + 438 (in AppleScript) [0x117a77759]
14 TUASApplication::Send(TStackFrame_UASRemoteSend*, AEDesc*, AEDesc*, unsigned char, unsigned char, unsigned char) + 2199 (in AppleScript) [0x117a5b21f]
14 ComponentSend(AEDesc const*, AEDesc*, int, int) + 609 (in AppleScript) [0x117a4c271]
14 AEDefaultSendProc(AEDesc const*, AEDesc*, int, short, int, unsigned char (*)(EventRecord*, int*, OpaqueRgnHandle**), unsigned char (*)(EventRecord*, int, int, AEDesc const*), void*) + 87 (in AppleScript) [0x117a482e2]
14 AESend + 92 (in HIToolbox) [0x7fff88f13dd5]
14 aeSend + 254 (in AE) [0x7fff8874be86]
14 AESendMessage + 3712 (in AE) [0x7fff8874b0be]
14 CFRunLoopRunSpecific + 575 (in CoreFoundation) [0x7fff85fa0dbf]
14 __CFRunLoopRun + 1698 (in CoreFoundation) [0x7fff85fa1932]
14 mach_msg_trap + 10 (in libSystem.B.dylib) [0x7fff881652da]
Kernel stack:
14 ipc_mqueue_receive_continue + 0 [0x210ce6]

Thread ddbe000 DispatchQueue 2
User stack:
14 start_wqthread + 13 (in libSystem.B.dylib) [0x7fff8817f005]
14 _pthread_wqthread + 353 (in libSystem.B.dylib) [0x7fff8817f168]
14 _dispatch_worker_thread2 + 252 (in libSystem.B.dylib) [0x7fff8817f83e]
14 _dispatch_queue_invoke + 185 (in libSystem.B.dylib) [0x7fff8817fd14]
14 kevent + 10 (in libSystem.B.dylib) [0x7fff8817e16a]
Kernel stack:
14 kevent + 97 [0x473932]

Thread f53f3d4
User stack:
7 start_wqthread + 13 (in libSystem.B.dylib) [0x7fff8817f005]
7 __workq_kernreturn + 10 (in libSystem.B.dylib) [0x7fff8817ef8a]
Kernel stack:
7 bsdthread_create + 1313 [0x4cd603]

Binary Images:
0x100000000 - 0x100001ff7 com.yourcompany.Uninstall 3.0 (12A) (1) <8C5F3012-81C5-A5FC-9F9D-8BC697476AA4> /Volumes/GeekTool 3/Uninstall.app/Contents/MacOS/Uninstall
0x117a29000 - 0x117abdfe7 com.apple.applescript 2.1.2 (2.1.2) <8CCDB2EF-1BC4-7F88-2554-00F4DAABDF6C> /System/Library/PrivateFrameworks/AppleScript.framework/Versions/A/AppleScript
0x7fff80787000 - 0x7fff80abbfff com.apple.CoreServices.CarbonCore 861.23 (861.23) <08F360FA-1771-4F0B-F356-BEF68BB9D421> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x7fff83437000 - 0x7fff83e2dfff com.apple.AppKit 6.6.7 (1038.35) <9F4DF818-9DB9-98DA-490C-EF29EA757A97> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7fff84253000 - 0x7fff844d6ff7 com.apple.Foundation 6.6.4 (751.42) <9A99D378-E97A-8C0F-3857-D0FAA30FCDD5> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff85f55000 - 0x7fff860ccfe7 com.apple.CoreFoundation 6.6.4 (550.42) <770C572A-CF70-168F-F43C-242B9114FCB5> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff88148000 - 0x7fff88163ff7 com.apple.openscripting 1.3.1 (???) <5A6ECC32-04D0-9A62-635D-1DD03EC6E190> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x7fff88164000 - 0x7fff88325fff libSystem.B.dylib ??? (???) <71E6D4C9-F945-6EC2-998C-D61AD590DAB6> /usr/lib/libSystem.B.dylib
0x7fff88741000 - 0x7fff8877cfff com.apple.AE 496.4 (496.4) <64C27EC8-FC7F-EA6B-9435-9A3452425915> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x7fff88e93000 - 0x7fff89191fe7 com.apple.HIToolbox 1.6.4 (???) <263AD497-F4CC-9610-E7D3-B95CF6F02030> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
Attachments
Screen shot 2011-02-08 at 5.55.17 PM.jpg
Attempt to Uninstall, with System Prefs and Uninstaller hang
Screen shot 2011-02-08 at 5.55.17 PM.jpg (177.87 KiB) Viewed 3792 times
Screen shot 2011-02-08 at 5.48.04 PM.jpg
Attempt to drag Shell window to desktop produced this.
Screen shot 2011-02-08 at 5.48.04 PM.jpg (126.67 KiB) Viewed 3792 times
rwhite
 
Posts: 2
Joined: Wed Feb 09, 2011 2:08 am

Re: How to recover from a failed uninstall, in single-user mode?

Postby ybizeul » Fri Apr 08, 2011 6:45 am

This is definitively a bug in Uninstall, thanks for posting this.
ybizeul
Site Admin
 
Posts: 133
Joined: Fri Jan 22, 2010 4:34 pm


Return to GeekTool

Who is online

Users browsing this forum: No registered users and 3 guests

cron