snow-leopard

CoreImage patches problems in 10.6

Hi All, In 10.6 with some systems CoreImage CIPerspectiveTransform (And other api's too) results in colored patches in output image. (It seems like hardware related issue And it occurs only with images with resolution above 4000X2500) Is there ay way to come out of this bug? At-last is it possible to use NSAffineTransform instead? If...

CDT 6 (eclipse galileo) snow leopard debugging issue

I upgrade to snow leopard and xcode 3.2 this week, and since that I'm having problems with CDT. I tryed this in CDT 5 (ganymede) and CDT 6 (galileo). If I try to debug the application using launcher "Standard Create Process Launcher", it delays about 10 seconds to actually get in the debugging breakpoint, which is very odd. If I use as...

py2app dropping wxpython (Snow Leopard)

After upgrading to Snow Leopard, I'm having trouble building my application. It looks like py2app is building and copying over wxPython, but when I run from the buld app, it can't find wx. ...

How can I decrypt blowfish encrypted string without using OpenSSL in Mac OS 10.5/10.6

My application is currently using SSCrypto.framework to decrypt a string encrypted with Blowfish. SSCrypto utilizes OpenSSL which is a new problem for me. Using the 10.6 base SDK while targeting 10.5 doesn't seem to work. The issue is explained in this Apple Mailing List thread: http://lists.apple.com/archives/Cocoa-dev/2009/Aug/msg01737...

Is this the right version of Vim for OS X Snow Leopard?

I'd like to try Vim. I'm using Mac OS 10.6.2 (Snow Leopard). I downloaded vim7.0.224.tar.bz2 from here. However, I have doubts. It's the newest version offered, but the heading says "OS X 10.4 (Tiger)". Is there another, preferable version I should know about? ...

How can I capture iSight frames with Python in Snow Leopard?

I have the following PyObjC script: from Foundation import NSObject import QTKit error = None capture_session = QTKit.QTCaptureSession.alloc().init() print 'capture_session', capture_session device = QTKit.QTCaptureDevice.defaultInputDeviceWithMediaType_(QTKit.QTMediaTypeVideo) print 'device', device, type(device) success = device.open_...

Using __constant qualifer in OpenCL kernels

I am having trouble using the *__constant* qualifier in my OpenCL kernels. My platform is Snow Leopard. I have tried initializing a CL read-only memory object on the GPU, copying my constant array from host into it. Then I set the kernel argument just as with *__global* memory arguments, but this does not work as it should but I see no...

CGBitmapContext get pixel value Leopard vs. SnowLeopard confusion

Im trying to draw specific colour rectangles into a CGBitmapContext and then later compare pixel values with the colour i drew (a kind of hit-testing). On Leopard this works fine but on SnowLeopard the pixel-values i get out are different to the colour values i draw in - i guess due to colorspace confusion and ignorance on my part. ...

Ruby-LDAP and Snow Leopard

When I install Ruby-LDAP on my Snow Leopard box, all appears to go well: $ sudo gem install ruby-ldap Building native extensions. This could take a while... Successfully installed ruby-ldap-0.9.9 1 gem installed Installing ri documentation for ruby-ldap-0.9.9... Installing RDoc documentation for ruby-ldap-0.9.9... But when I run the ...

script/generate problem with Ruby on Rails

Hello, I have this problem when I try to use "script/generate": $ script/generate start /Users/gst/.gem/ruby/1.8/gems/hpricot-0.8.1/lib/fast_xs.bundle: [BUG] Bus Error ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10] Abort trap I am using Snow Leopard on my 32-bit MacBook Pro. Just installed it. I already tried to reinstall Ru...

permissions for running passenger on OS X 10.6

I'm not sure how to set permissions for Passenger on OSX. I have gotten through the install fine, but I understand now that Passenger runs as whoever owns environment.rb. That's my own user and group, call it apple & apple. As I understand it, Apache runs as _www & _www. What's the right strategy here? Let's say the app is at /Users/app...

Macports mysql5 setup under Snow Leopard

I've managed to get my install all screwed up as I'm a newbie and messing up is what I'm good at. 1) Can anyone reference a credible set of setup instructions for this stuff? 2) Can I just uninstall and start from scratch (passwords and all) through macports? I tried and a bunch of mysql directories stuck around after the unistall, WTF...

Rails migration file not adding all my defined columns to the db

Hi, I'm trying to create a rails app, but somethings going wrong, I'm getting a nasty error undefined method title' for #` I've used this ling: ruby script/generate scaffold Blog title:String body:text to generate the following migration file: class CreateBlogs < ActiveRecord::Migration def self.up create_table :blogs do |t| ...

Possible issues with upgrading to Snow Leopard / XCode 3.2?

Hi all, I'm one of a pair of programmers working together on iPhone / iPod applications. I'd like to upgrade to the new version of XCode (3.2) and Snow Leopard, but chances are my partner won't. Can anyone highlight any problems we might have sharing code? Are there incompatibilities between the old and new, or should we be able to s...

One code base for Snow Leopard and Leopard

Background I'm a developer who's in the throes of building an application for the Mac. I'm about to get my hands on Snow Leopard. Until now I've been building on Leopard. I've only been doing Cocoa development for about a year not very intensely. I've read a lot about Snow Leopard and Grand Central Dispatch in particular. I'm aware tha...

Snow Leopard Reference Library

Hi, Does anyone know how to download all the developer reference documentation for snow leopard. For some reason Apple changed it so that whenever you wanted a document you have to get it form their website. I don't have an internet connection all the time so I would like to have all of the reference documentation locally on the desktop....

ImportError: No module named Foundation

I am trying to follow the instructions for the accepted answer to "PyObjC development with Xcode 3.2". I will repost them here since I don't have enough rep to comment on the actual question: Here's what I have done to get PyObjC working in Snow Leopard: Using the Finder, I went to Go > Connect to Server... and connected to http://s...

Installing mod_python on Snow Leopard

I'd rather not use Macports. Simply cause Macport replaces (installs another Apache in /opt/local/bin) the default installation of Apache. And that would mean having ports install/replace PHP too. I'd rather use the default installation included in Snow Leopard. Been searching the net, and all I get is old instructions using Darwin Port...

Compiling a binary to work with valgrind on Snow Leopard

I installed valgrind on Snow Leopard using the patch at https://bugs.kde.org/show%5Fbug.cgi?id=205241 . However, when I run it with a binary I compiled from C++ code, I'm told that valgrind "cannot execute binary file". What g++ flags should I set to make my program work with valgrind? ...

locale.getlocale() problems on OSX

I need to get the system locale to do a number of things, ultimately I want to translate my app using gettext. I am going to distribute it on both Linux and OSX, but I ran into problems on OSX Snow Leopard: $ python Python 2.5.2 (r252:60911, Jan 4 2009, 17:40:26) [GCC 4.3.2] on linux2 Type "help", "copyright", "credits" or "license" f...