tagged error

by mars on 2007-11-15 0 Comments

Sierra Wireless Watcher 1.1.1 hangs in Mac OS X 10.5 Leopard,

Despite Sierra Wireless' knowledge-base statement that AirCard 597E can be used with Leopard:

Yes. Aircard 597E support TRU-Install with Mac OS 10.5 Leopard. When the Aircard 597E is inserted, it will show the following window. Please double-click on SierraWirelessWactherlite.mpkg to begin the installation.

My AirCard does not provide it's own software, even after clearing all the previously-installed Sierra software (kernal extensions & app) from the system.

Read the rest of this entry

by mars on 2007-09-20 0 Comments

Response code "406" makes it look like a web server error, but if you're troubled in Windows Internet Explorer 6, it may very well be a client-side error.

Client-side Causes

  • loading a behavior in CSS, like img.transparent { behavior: url(iepngfix.htc); }, where the URL actually returns an error (self-diagnosed in Windows Internet Explorer 6)
  • broken meta tags (source)

Server-side Causes

  • Accept-headers that do not declare any types that the server can provide (source)
  • over-zealous mod_security (source)

by mars on 2007-07-05 4 Comments

Well this is quickly becoming Mars' notes from building software on OS X blog!

Anyway, after following the official RMagick install, gem install rmagick fails with an error like:

/usr/local/lib/ruby/gems/1.8/gems/rmagick-1.15.7/./lib/rvg/misc.rb:321:
in `get_type_metrics': unable to read font `/Library/Fonts/Verdana' (Magick::ImageMagickError)

It seems that the examples fail because of a spurious font choice in the documented examples.

All that is needed to build the RMagick gem successfully at this point is:

sudo gem install rmagick -- --disable-htmldoc

And voila, the examples aren't built, thereby avoiding the problem.

RMagick!

by mars on 2007-06-05 0 Comments

Say for instance you just applied a software update to your Mac OS X Server and rebooted.

Suddenly a Rails app that was running fine spits out an error when ActionPack does a redirect_to. In the Rails production.log:

SystemStackError (stack level too deep)

Well my friend, before you set off to debugging the Ruby install on your OS X machine, try clearing the Rails sessions. At the command line:

rake tmp:sessions:clear RAILS_ENV=production

Everyone must login again, but alas the problem is solved! [for me]

Is it because we're using Apple's built-in Apache 1.3 web server with source-compiled FastCGI support? Hmmm.

by mars on 2006-07-16 3 Comments

Mogrify is ImageMagick's command-line utility to transform images. I'm using it within MiniMagick, a Rails plugin that allows image manipulation with minimum memory usage compared to the more ruby-like RMagick bindings.

So the point of this post... Do you get errors like "mogrify: unable to open module file" when it's looking for a coder?

Read the rest of this entry


Everything is here.