<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/rubycocoa/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/rubycocoa/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/rubycocoa/bugs/</id><updated>2015-05-31T04:36:08.926000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>#67 TemplateInfo.plist in File Templates not working</title><link href="https://sourceforge.net/p/rubycocoa/bugs/67/?limit=25#d692" rel="alternate"/><published>2015-05-31T04:36:08.926000Z</published><updated>2015-05-31T04:36:08.926000Z</updated><author><name>kimura wataru</name><uri>https://sourceforge.net/u/kimuraw/</uri></author><id>https://sourceforge.net1327c190f00ce23d37af94146058e7fd076c29ac</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks! I've merged your file.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/rubycocoa/rubycocoa/commit/0f149877576ed777a10fff032de83046c324262b" rel="nofollow"&gt;https://github.com/rubycocoa/rubycocoa/commit/0f149877576ed777a10fff032de83046c324262b&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>TemplateInfo.plist in File Templates not working</title><link href="https://sourceforge.net/p/rubycocoa/bugs/67/" rel="alternate"/><published>2015-04-17T03:21:31.817000Z</published><updated>2015-04-17T03:21:31.817000Z</updated><author><name>kmav</name><uri>https://sourceforge.net/u/kmav/</uri></author><id>https://sourceforge.net8f6f84c83ba06aa4f6ec05b129f1e758d90b5103</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;when I was trying to open the ruby file template in Xcode using version 1.2.0, it was not found under OSX/Cocoa. After several checks I found that TemplateInfo.plist had a misplacement of &amp;lt;dict&amp;gt; tags. I fixed the error according to some default (objective-c) template.&lt;/p&gt;
&lt;p&gt;Now, the file template showed up, but without an icon. So, I coppied the icon file from Project Templates and now all is fine.&lt;/p&gt;
&lt;p&gt;So, I am uploading the file with the fix in order to include it in an update of your project.&lt;/p&gt;
&lt;p&gt;regards,&lt;/p&gt;
&lt;p&gt;Konstantinos&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>10.8 support</title><link href="https://sourceforge.net/p/rubycocoa/bugs/66/" rel="alternate"/><published>2012-07-28T16:21:10Z</published><updated>2012-07-28T16:21:10Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netcf742a0599a49bda7210b298ea9ad64d0409c482</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;10.8 support ??&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Seg Fault in RubyCocoa 1.0.1 on Mac OS X 10.6</title><link href="https://sourceforge.net/p/rubycocoa/bugs/65/" rel="alternate"/><published>2010-03-22T17:02:27Z</published><updated>2010-03-22T17:02:27Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net535dbef069a3b33996962a5bec1d2299a03d575b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Related to another open bug, where installation of 1.0.1 by DMG fails, I installed via source without any errors according to the steps outlined in Getting Started. Install appeared to work correctly, by result is a broken library, seen when I run my rake file here:&lt;/p&gt;
&lt;p&gt;[wgray@Ryoan-ji]~/Documents/Sources/Cocoa/StripSync:master&lt;br /&gt;
$ rake -T&lt;br /&gt;
(in /Users/wgray/Documents/Sources/Cocoa/StripSync)&lt;br /&gt;
/Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_import.rb:127: [BUG] Segmentation fault&lt;br /&gt;
ruby 1.8.7 (2010-01-10 patchlevel 249) [i686-darwin10]&lt;/p&gt;
&lt;p&gt;Abort trap&lt;/p&gt;
&lt;p&gt;Im using the Mac Ports version of Ruby at the moment.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Wrong creation of cflags from --target-archs </title><link href="https://sourceforge.net/p/rubycocoa/bugs/64/" rel="alternate"/><published>2009-12-04T12:15:06Z</published><updated>2009-12-04T12:15:06Z</updated><author><name>OBATA Akio</name><uri>https://sourceforge.net/u/obache/</uri></author><id>https://sourceforge.netf84fe318feff1f84357cdc3fa15f47ce4c3176ef</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;On Mac OS X 10.4.11 with ruby-1.8.7 patchlevel 174 from pkgsrc,&lt;br /&gt;
install.rb --target-archs="ppc" result in&lt;/p&gt;
&lt;p&gt;---&amp;gt; framework&lt;br /&gt;
create /private/var/tmp/obj/pkgsrc/wip/RubyCocoa/work/RubyCocoa-1.0.1/framework/src/objc/osx_ruby.h ...&lt;br /&gt;
create /private/var/tmp/obj/pkgsrc/wip/RubyCocoa/work/RubyCocoa-1.0.1/framework/src/objc/osx_intern.h ...&lt;br /&gt;
BSROOT="/private/var/tmp/obj/pkgsrc/wip/RubyCocoa/work/RubyCocoa-1.0.1/framework/bridge-support" CFLAGS="ppc" /usr/pkg/bin/ruby18 build.rb&lt;/p&gt;
&lt;p&gt;Yes, it will be failed to build, CFLAGS should be "-arch ppc".&lt;/p&gt;
&lt;p&gt;It came from typo in framework/post-config.rb:&lt;/p&gt;
&lt;p&gt;cflags &amp;lt;&amp;lt; archs.gsub(/\a|\s+/, ' -arch ') if archs.size &amp;gt; 0&lt;/p&gt;
&lt;p&gt;It should be as following:&lt;/p&gt;
&lt;p&gt;cflags &amp;lt;&amp;lt; archs.gsub(/\A|\s+/, ' -arch ') if archs.size &amp;gt; 0&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>1.0.1 doesn't work with versions &lt; 10.5.7</title><link href="https://sourceforge.net/p/rubycocoa/bugs/63/" rel="alternate"/><published>2009-11-01T11:02:09Z</published><updated>2009-11-01T11:02:09Z</updated><author><name>Nava Carmon</name><uri>https://sourceforge.net/u/navac/</uri></author><id>https://sourceforge.nete0dbc59536d7274111027eaf216621928fc625b0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;1.0.1 doesn't work with versions of Leopard, prior to 10.5.7. The application crashes on the start with the request of unknown setter&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>1.0.1 release crashes on 10.6</title><link href="https://sourceforge.net/p/rubycocoa/bugs/62/" rel="alternate"/><published>2009-11-01T10:59:58Z</published><updated>2009-11-01T10:59:58Z</updated><author><name>Nava Carmon</name><uri>https://sourceforge.net/u/navac/</uri></author><id>https://sourceforge.net5b9c1b3533310508062f04a7427cf4ad34cc210f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;1.0.1 release enters indefinite loop and crashes on 10.6. Seems a regression for some reason. rev. 2277 builds and works both with 10.5 &amp;amp; 10.6&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>1.0.1 release crashes on 10.6</title><link href="https://sourceforge.net/p/rubycocoa/bugs/61/" rel="alternate"/><published>2009-11-01T10:58:38Z</published><updated>2009-11-01T10:58:38Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net52aef61cc4e82575835ff9b8df0304268a0e1d84</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;1.0.1 release enters indefinite loop and crashes on 10.6. Seems a regression for some reason. rev. 2277 builds and works both with 10.5 &amp;amp; 10.6&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Converting Ruby string to NSString results in NSNull</title><link href="https://sourceforge.net/p/rubycocoa/bugs/60/" rel="alternate"/><published>2009-10-30T11:51:58Z</published><updated>2009-10-30T11:51:58Z</updated><author><name>Axel Roest</name><uri>https://sourceforge.net/u/axello/</uri></author><id>https://sourceforge.net991c5f8bc85089e7daac1c6676dc9b2065513355</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have a ruby string which is made by filling an RTF template. The template is read in from a file with seemingly a Mac OS Roman encoding (or so says BBEdit). The template is expanded using ruby string concatenation and replacement. At the end it is about 150kB in length, but length is not the issue here. When I convert it back to NSString, I oftentimes get an NSNull instead of an NSString, and subsequent code crashes. &lt;/p&gt;
&lt;p&gt;I've traced it down to an incorrect NSString.guess_nsencoding in cocoa_macros.rb. It guesses the data has encoding '8', which is NSShiftJISStringEncoding, instead of NSMacOSRomanStringEncoding.&lt;/p&gt;
&lt;p&gt;The subsequent result is that NSString.alloc.initWithData_encoding returns an NSNull instead of the string.&lt;br /&gt;
When I manually convert using &lt;br /&gt;
data = NSData.dataWithRubyString( ftext )&lt;br /&gt;
enc = NSMacOSRomanStringEncoding&lt;br /&gt;
nsstr = OSX::NSString.alloc.initWithData_encoding( data, enc )&lt;/p&gt;
&lt;p&gt;it works fine.&lt;/p&gt;
&lt;p&gt;I hope you are able to reproduce the error, it has baffled me for days.&lt;/p&gt;
&lt;p&gt;Enclosed is a simple appcontroller which is able to reproduce the bug if put in a rubycocoa application.&lt;br /&gt;
Template.rtf : the original template, which can correctly be converted&lt;br /&gt;
data.rtf: the generated data, which crashes the conversion. &lt;br /&gt;
Both rtf files open fine in TextEdit&lt;/p&gt;
&lt;p&gt;OS platforms: the bug existed in 10.5.x and still exists in 10.6.1&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MeCab not working on Snow Leopard RubyCocoa App</title><link href="https://sourceforge.net/p/rubycocoa/bugs/59/" rel="alternate"/><published>2009-10-14T07:19:27Z</published><updated>2009-10-14T07:19:27Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netf694040cefac182d6b0cdbf59a11b8e66f1909dd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br /&gt;
I've been trying to use MeCab from RubyCocoa application on Snow Leopard.  I installed the latest MeCab-Ruby (0.98) and I can use it from Ruby scripts, but not from RubyCocoa application.  The same application runs fine on Leopard.&lt;/p&gt;
&lt;p&gt;A simple script (sample on MeCab site) like the following ends up crashing the application.&lt;/p&gt;
&lt;p&gt;require 'MeCab'&lt;br /&gt;
m = MeCab::Tagger.new("-Ochasen")&lt;br /&gt;
print m.parse("今日もしないとね")&lt;/p&gt;
&lt;p&gt;The error message is the following:&lt;/p&gt;
&lt;p&gt;dyld: lazy symbol binding failed: Symbol not found: __ZN5MeCab12createTaggerEPKc&lt;br /&gt;
Referenced from: /Library/Ruby/Site/1.8/universal-darwin10.0/MeCab.bundle&lt;br /&gt;
Expected in: flat namespace&lt;/p&gt;
&lt;p&gt;dyld: Symbol not found: __ZN5MeCab12createTaggerEPKc&lt;br /&gt;
Referenced from: /Library/Ruby/Site/1.8/universal-darwin10.0/MeCab.bundle&lt;br /&gt;
Expected in: flat namespace&lt;/p&gt;
&lt;p&gt;Could this be a bug or is there anything wrong with MeCab-Ruby on Snow Leopard?  Considering it works fine with Ruby 1.8.7, it could be a RubyCocoa bug, though.  Or is this fixed on the latest build?.  Or should I blame MeCab-Ruby?  I'm using 0.13.2, which I believe comes with Snow Leopard&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>