Coda problem

A while ago I stopped the windowsserver process (by accident 😉 ). Off course the system logged out. But after I did this, in the program Coda (which is webdevelopment software) there is something wrong. When I open the site where I was working on that day, the program shuts down and there is this error when I check Console:

Debugger() was called!
2009-11-04 17:29:23.317 Coda[1971] _initWithWindowNumber: error creating graphics ctxt object for ctxt:57899, window:-1
Nov 4 17:29:23 Frits-Computer /Applications/Coda.app/Contents/MacOS/Coda: Failed to create window context device
Nov 4 17:29:23 Frits-Computer /Applications/Coda.app/Contents/MacOS/Coda: CGWindowContextCreate: failed to create software delegate.
Nov 4 17:29:26 Frits-Computer crashdump[1975]: Coda crashed
Nov 4 17:29:35 Frits-Computer crashdump[1975]: crash report written to: /Users/japk/Library/Logs/CrashReporter/Coda.crash.log

I tried deleting the site and adding it again, but that's not the solution. Other sites work perfectly, so the problem is (I think) related to this specific site. Any help would be great 🙂

G5, Mac OS X (10.4.11), .

Posted on Nov 4, 2009 8:45 AM

Reply
11 replies

Nov 4, 2009 9:03 AM in response to Frits-s

I have no knowledge of Coda apart from what I have learned from your question, but apparently something has been corrupted by the abrupt termination. If not the files relating to the web site itself then perhaps a preference (.plist) file for Coda where it stores information for the site page. You can check in your user library preferences folder for coda plist files and store them somewhere safe before trying to open the site with coda and see if that helps. If it doesn't then you can replace the newly created plist file with the old. Or maybe I'm totally wrong, talking about a program of which I have never heard before this!

Nov 4, 2009 10:23 AM in response to Frits-s

Not much help, but possibly a clue...

_initWithWindowNumber: error creating graphics ctxt object for ctxt:


I've only seen with Java related things.

But you might try trashing these files & reboot...

/Library/Preferences/com.apple.windowserver.plist

/Users/YourUserName/Library/Preferences/ByHost /com.apple.windowserver.xxxx.plist

Nov 4, 2009 3:09 PM in response to Frits-s

You should Repair your Hard drive.

The best way is to boot from the Install DVD, but do not Install. Answer only the "What Language?" question, then Choose "Disk Utility" from the Utilities menu.

Your Hard drive can be repaired here because you are booted only from the DVD.

You should also repair permissions here, but it only does a partial job. Then repair permissions again when your Mac is booted from the Hard drive.

Nov 5, 2009 6:36 AM in response to Frits-s

The program was ended abruptly. A very possible result of this is file corruption of the file(s) you were working on, or other files being used while the program was running (e.g., preferences files). At another level it could be general directory corruption affecting files, though your scanning with DU suggests not. Since you report it works with other sites but not the one you were working on when the crash happened, it is narrowing it down to something (e.g., corrupt files) specifically linked to that site. The only ways I can think of for dealing with corrupt files is either delete them or replace them with backups. If these are html files you might be able to go in with a text editor and see if you can manually spot a line that looks like it is ending abruptly and causing the program to crash.

Nov 5, 2009 12:49 PM in response to Limnos

Hi Limnos,

Thank you for your reply. I think you are perfectly right, but 1) I work on the site online, on the server, and even if I'm not connected the program already shuts down. So the problem is not the html etc. 2) I can't find other files that are related to the program. I tried deleting Coda. I deleted all the projects I'm working on. I doesn't work...

Nov 5, 2009 1:39 PM in response to Frits-s

At this point I think you should get Applejack...

http://www.versiontracker.com/dyn/moreinfo/macosx/19596

After installing, reboot holding down CMD+s, (+s), then when the DOS like prompt shows, type in...

applejack AUTO

Then let it do all 5 of it's things.

At least it'll eliminate some questions if it doesn't fix it.

The 5 things it does are...

Correct any Disk problems.
Repair Permissions.
Clear out Cache Files.
Repair/check several plist files.
Dump the VM files for a fresh start.

Disconnect the USB cable from any UPS so the system doesn't shut down in the middle of the process.

Nov 5, 2009 2:26 PM in response to Frits-s

Here's my boilerplate response to uninstalling applications and maybe there's a tip there. Though unlikely, there could be a hidden file.

*Uninstalling Applications*

First, I suggest backing up your drive in case you uninstall something you shouldn't have uninstalled.

Most small programs can have all their components contained within an app package. After running, the program will likely install a file in Preferences (either in your user area, or the main preferences, or both). Dragging a program and its preferences to the trash is often all that is needed, or you can use a program like AppDelete to delete these programs. However, most application deleting programs will not have an inventory of what is installed -- they just look for files that are clearly associated with the application you are deleting.

Try to find files associated with the application you want to delete by using Spotlight, Finder, or [Easyfind|http://www.macupdate.com/info.php/id/11076/easyfind] (free and generally highly recommended) to search for the application's name. Favorite folders for files to be installed are:

/Applications/
/Library/Preferences/
/Users/YourName/Library/Application Support/
/Users/YourName/Library/Preferences

where YourName refers to the user name when you login and the / indicates the series of folders down from your main drive. Note that there are folders with identical names but in very different locations.

A few programs may set login items to start automatically when your computer starts or a specific user logs in. These items are located in: /Library/StartupItems/ or /Users/YourName/Library/StartupItems/ To edit these, go to your account set up in System Preferences, login items tab, select the item(s) and a "-" to remove.

More involved programs (e.g., Office) may install bits and pieces all over the place, like fonts, libraries, etc. The software installer may have an uninstall option, or there may be a separate uninstaller for these. In bad situations you have to hunt around yourself.

Some programs install invisible files. You can use a utility such as Onyx to toggle visibility on your computer and check for invisible files.

Sometimes programs install files (often hidden) not readily associated with the program and if you're worried about those the only thing to do is a scan before and after installing a program and see what has changed.

Check out the utility [AppDelete|www.apple.com/downloads/macosx/system diskutilities/appdelete.html]. It will remove simple applications and most of their associated files.

[X Lab FAQ: Uninstalling applications|http://www.thexlab.com/faqs/uninstallingapps.html]

[http://guides.macrumors.com/Uninstalling Applications_in_Mac_OSX]

[Apple Discussion with useful tips|http://discussions.apple.com/thread.jspa?threadID=1963113&tstart=0]

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Coda problem

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.