Chris Rapier (rapier1) wrote,
Chris Rapier
rapier1

Small talk and Complaints

I spent the past two days trying to nail down a problem with an application called wkhtmltopdf. It's just a small app built on top of Qt that allows you to generate a PDF from a webpage. I use it in a webapp I built and it was working just ducky. Then I upgraded to OS X 10.6 and it started failing in a huge horrible way. It would just suck up lots cycles and spit out errors until I sighup'd it. It took me two days but I finally figured out the problem. Apple must have changed the way in which user nobody works under 10.6 in some weird way that prevents it from accessing the font cache. No font cache - no pdf. When I run the web server as myself it works just as I expected it to. Of course, that's really fucking dumb.

Oh, when I build the app against the Qt 4.6 beta it doesn't lock up... it just takes a hell of a long time and creates a nicely laid out pdf wherein all the text is replaced with capital As in boxes. I really do blame Apple for this.

Nice. Real nice.

EDIT: Also, Hey Apple thanks for completely horking the X11 libs and making it nearly impossible to update them to a current version forcing people to use the xquartz ports. I think I want to downgrade from 10.6
Subscribe

  • Interesting

    I just got an invite to come back here. Normally I wouldn't have even thought about it but I like the person who invited me so why not take a look.…

  • Please to keep in mind

    Losing the supermajority is not a death knell to the idea of progress. In fact, the problem has long been that even having a supermajority doesn't…

  • Yeah yeah yeah

    It's been a long time. The past month has been, to say the least, a little hectic. There was a week in Atlanta, a week long trip to Philly, and a…

  • Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 4 comments