<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Ruby: mysql2omnigraffle</title>
	<atom:link href="http://www.postal-code.com/binarycode/2008/03/18/ruby-mysql2omnigraffle/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.postal-code.com/binarycode/2008/03/18/ruby-mysql2omnigraffle/</link>
	<description>A whole bunch of nought thought by Chris Cummer</description>
	<lastBuildDate>Sat, 06 Jun 2009 22:54:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: chris</title>
		<link>http://www.postal-code.com/binarycode/2008/03/18/ruby-mysql2omnigraffle/comment-page-1/#comment-2775</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Fri, 21 Mar 2008 02:31:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.postal-code.com/binarycode/2008/03/18/ruby-mysql2omnigraffle/#comment-2775</guid>
		<description>Hmm, let&#039;s start with the obvious ones then: 

You&#039;re running the script from the command line (and not from within Rails, for instance)? 
You&#039;ve got OmniGraffle 4 installed (it doesn&#039;t yet work with OmniGraffle 5)? If you have OG 4 Professional you&#039;ll need to change the name of the app in this script to reflect that.
The rubyosa gem is installed and the current version is 0.4.0?

If all those things are good-to-go, please try this in IRB:

&lt;code&gt;
irb(main):&gt; require &#039;rubygems&#039;
irb(main):&gt; require &#039;rbosa&#039;
irb(main):&gt; x = OSA.app( &quot;OmniGraffle\ 4&quot; )
irb(main):&gt; y = x.make( OSA::OmniGraffle4::Document, :with_properties =&gt; {:name =&gt; &quot;test&quot;} )
&lt;/code&gt;

If everything in your set-up is good, then that ought to tell OG4 to create a new blank doc ad display something like this in IRB:

&lt;code&gt;
&lt;OSA::OmniGraffle4::Document:0xaa591a0 desc=&quot;&#039;obj &#039;{ &#039;from&#039;:&#039;null&#039;(), &#039;want&#039;:&#039;docu&#039;, &#039;form&#039;:&#039;name&#039;, &#039;seld&#039;:&#039;utxt&#039;(&quot;test&quot;) }&quot;&gt;
&lt;/code&gt;

Can you give that a try and let me know what it reports?</description>
		<content:encoded><![CDATA[<p>Hmm, let&#8217;s start with the obvious ones then: </p>
<p>You&#8217;re running the script from the command line (and not from within Rails, for instance)?<br />
You&#8217;ve got OmniGraffle 4 installed (it doesn&#8217;t yet work with OmniGraffle 5)? If you have OG 4 Professional you&#8217;ll need to change the name of the app in this script to reflect that.<br />
The rubyosa gem is installed and the current version is 0.4.0?</p>
<p>If all those things are good-to-go, please try this in IRB:</p>
<p><code><br />
irb(main):> require 'rubygems'<br />
irb(main):> require 'rbosa'<br />
irb(main):> x = OSA.app( "OmniGraffle\ 4" )<br />
irb(main):> y = x.make( OSA::OmniGraffle4::Document, :with_properties => {:name => "test"} )<br />
</code></p>
<p>If everything in your set-up is good, then that ought to tell OG4 to create a new blank doc ad display something like this in IRB:</p>
<p><code><br />
&lt;OSA::OmniGraffle4::Document:0xaa591a0 desc="'obj '{ 'from':'null'(), 'want':'docu', 'form':'name', 'seld':'utxt'("test") }"&gt;<br />
</code></p>
<p>Can you give that a try and let me know what it reports?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gregg Pollack</title>
		<link>http://www.postal-code.com/binarycode/2008/03/18/ruby-mysql2omnigraffle/comment-page-1/#comment-2774</link>
		<dc:creator>Gregg Pollack</dc:creator>
		<pubDate>Fri, 21 Mar 2008 02:02:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.postal-code.com/binarycode/2008/03/18/ruby-mysql2omnigraffle/#comment-2774</guid>
		<description>Tried this, installed the gems, I get this when I run:

mysql2omnigraffle.rb:55:in `generate_via_rbosa&#039;: uninitialized constant OSA::OmniGraffle4 (NameError)
	from mysql2omnigraffle.rb:45:in `generate&#039;
	from mysql2omnigraffle.rb:236

Any ideas?</description>
		<content:encoded><![CDATA[<p>Tried this, installed the gems, I get this when I run:</p>
<p>mysql2omnigraffle.rb:55:in `generate_via_rbosa&#8217;: uninitialized constant OSA::OmniGraffle4 (NameError)<br />
	from mysql2omnigraffle.rb:45:in `generate&#8217;<br />
	from mysql2omnigraffle.rb:236</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://www.postal-code.com/binarycode/2008/03/18/ruby-mysql2omnigraffle/comment-page-1/#comment-2760</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Wed, 19 Mar 2008 02:12:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.postal-code.com/binarycode/2008/03/18/ruby-mysql2omnigraffle/#comment-2760</guid>
		<description>Thanks! Though technically it&#039;s a great idea within an alright tool that needs a lot of work still but it&#039;s getting there. If only I could figure out how to group objects in OG....</description>
		<content:encoded><![CDATA[<p>Thanks! Though technically it&#8217;s a great idea within an alright tool that needs a lot of work still but it&#8217;s getting there. If only I could figure out how to group objects in OG&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tommy</title>
		<link>http://www.postal-code.com/binarycode/2008/03/18/ruby-mysql2omnigraffle/comment-page-1/#comment-2758</link>
		<dc:creator>tommy</dc:creator>
		<pubDate>Wed, 19 Mar 2008 01:35:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.postal-code.com/binarycode/2008/03/18/ruby-mysql2omnigraffle/#comment-2758</guid>
		<description>awesome! this is a great tool!</description>
		<content:encoded><![CDATA[<p>awesome! this is a great tool!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
