snow-leopard

Problems with NSTask in OS X 10.6 Snow Leopard

Has anyone else seen or heard of any issues with NSTask in 10.6? This code worked fine yesterday, and is not working today. NSTask *task = [converter task]; [task waitUntilExit]; NSLog(@"Task did complete"); The task does what it's supposed to do (I checked the output and it's fine), but the program will wait indefinitely at the wait...

Getting mysqlnd error when using Snow Leopard's Apache

After installing Snow Leopard I got the following error when connecting to a remote MySQL server: mysqlnd cannot connect to MySQL 4.1+ using old authentication What I don't get is why it's working fine with MAMP when I only start MAMP's Apache, but I get this error with Snow Leopard's build in Apache. Is it because MAMP has some MySQL ...

Does Intellij Idea 8.1.x install and run on Mac OSX 10.6?

Does Intellij Idea 8.1.x install and run on Mac OSX 10.6 (snow-leopard)? Are there any special steps needed to get it to work? ...

PyObjc and Cocoa on Snow Leopard

I am about to start my A-Level Computing project (High School Level) which will hopefully be a point-of-sale application for Mac OS. Unfortunately, Objective-C is a little out of my league at the moment and should I get stuck with it in the project I have no one to help out so I would fail the section of the course and not get into Univ...

Proper way to make a fat binary prefer to be 32bit on 64bit OS X 10.6?

Suppose I ask the user "do you want to run in 32bit mode or 64bit mode" and they pick 32bit. How do I register this fact with the operating system? I've looked at the arch command, but I don't want to have to write a script that wraps the binary. I suspect there is a plist-y way to do this, but I can't find documentation (other than a...

rake db:create - collation issues

kratos-iii:railsproj zachinglis$ rake db:create (in /Users/zachinglis/Sites/rails/railsproj) Couldn't create database for {"adapter"=>"mysql", "host"=>"localhost", "username"=>"root", "password"=>nil, "database"=>"railsproj_development"}, charset: utf8, collation: utf8_general_ci (if you set the charset manually, make sure you have a mat...

Xcode 3.2 in Snow Leopard hangs running unit tests

So I have some unit tests that pass in Xcode 3.1 / Leopard. These use SenTestingKit in an iPhone app project and are built/run in a separate "Test" target. I just upgraded to Xcode 3.2 on Snow Leopard and the tests seem to run (I get logs in Console.app and see them passing), but Xcode beachballs and must be force quit'd after they are r...

Error in xcode project: ld: library not found for -lcrt1.10.6.o

Just upgraded to Snow Leopard, installed Xcode 3.2, then installed iPhone SDK 3 for SL. In a project, I now get the following error on build: ld: library not found for -lcrt1.10.6.o I've searched around the net, but nothing helpful can be found. ...

IBCocoaTouchPlugin problem, please help

I had upgraded my OS into Snow Leopard, and I'm using Xcode 3.2 with iPhone SDK 3.0 for Snow Leopard. I had cleaned up the existing Developer Tools, uninstall, and I deleted the /Developer directory, and I reinstall. But, the problem is, Interface Builder is showing 3 pop up alerts with this message: Assertion Message: Interface Build...

Anyone get python26 install in Snow Leopard via Macports?

I got build error after run in Snow Leopard (MacPort v.1.8.0) sudo port install python26 any workaround please? Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.2" && /usr/bin/make all MAKE="/usr/...

gem install mysql failure in Snow Leopard

I successfully installed MySql x86_64 in Snow Leopard and Ruby and Ruby Gems seems to be installed properly: $ which mysql /usr/local/mysql/bin/mysql $ which ruby /usr/bin/ruby $ which gem /usr/bin/gem $ mysql Your MySQL connection id is 404 Server version: 5.1.37 MySQL Community Server (GPL) $ ruby -v ruby 1.8.7 (2008-08-11 patchlevel ...

Suggested resources for learning about blocks in Snow Leopard

Now that there is no NDA, what are some good suggested resources for learning about blocks under Snow Leopard? ...

Snow Leopard / 64-bit ruby gem problem?

I just upgraded to Snow Leopard, including installing the new XCode, re-compiled Ruby 1.8 and MySQL. My Rails app is running fine in the updated environment, except for some image processing features, which depend on ImageScience/FreeImage. I upgraded MacPorts to 1.8, removed all previously installed ports and reinstalled them in 1.8, ...

Dragging an Image from Safari and dropping it onto dock icon does not work in snow leopard?

I've got an app: You can drop an image file onto the app's dock icon and it will upload the image to a free image hoster. In 10.5 you could drag an image straight out of safari (and any other browser) and drop it onto the dock. (The app opened the image from the temporary folder the browser put it in and uploaded it to the net.) Now in...

Missing "find options" in Xcode 3.2

Generally speaking, I am very happy with the changes in Xcode 3.2. However, there is one thing which is driving me crazy: the "find in file" dialog has been jettisoned for the "find banner." But what is missing in this nifty little banner are the good-old options: starts-with, contains, whole-word, ignore-case, &c On my dev machine, th...

After installing MySQL 64 Bit on Snow Leopard is it possible to migrate the old data?

Hey, in /usr/local i now have two mysql folders: mysql-5.1.34-osx10.5-x86 mysql-5.1.37-osx10.5-x86_64 is it possible to migrate the data from my old mysql folder to the 64 bit one? Thanks for help, dont really want to setup all my databases again :) ...

"Oops" message eminating from Apple code

I have a call, within an NSTextView subclass, that looks like this: [[self textStorage] replaceCharactersInRange:fullRange withAttributedString:sa]; This call used to work fine and now (after Snow Leopard installation) generates a short message in the console: "Oops". It doesn't crash, it just generates this message and then fails to...

Snow Leopard, sqlite3-ruby

So I followed every suggestion in this thread without success. I'm running os x 10.6, rails 2.3.3, ruby 1.9.1 and still getting this error when I try accessing the front page of my rails app: uninitialized constant SQLite3::Driver::Native::Driver::API I've googled every possible combination of snow leopard, rails, sqlite3 without any...

Is there a workaround for Qt 4.4 visual artefacts on Mac OS X 10.6 (snow leopard)

My software is written in Qt 4.4.2 using XCode on Mac OS X 10.5. It runs fine on Mac OS X 10.5. But when it is run on Mac OS X 10.6 it shows some strange visual artefacts when drawing the drop-down menus of QComboBoxes. Apparently it affects every QComboBox. 4 people with Mac OS X 10.6 who have tried it have reported the same behaviour,...

Xcode Project Update for 3.2?

I have a Xcode project from 3.0, and I want to update it to the 3.2 featues. How would I do this? ...