NSArray constructor broken?
Hi all, on my system, with MacRuby 0.7, I get this error:
NSArray.array ArgumentError: wrong number of arguments
every NSArray constructor method seems to exibit some kind of similar behaviour. I searched the tickets and couldn't find it there. L-P
On Thu, 14 Oct 2010 09:15:34 -0400 Louis-Philippe <default@spiralix.org> wrote:
Hi all,
on my system, with MacRuby 0.7, I get this error:
NSArray.array ArgumentError: wrong number of arguments
every NSArray constructor method seems to exibit some kind of similar behaviour. I searched the tickets and couldn't find it there.
I had a similarly interesting problem last night with the brand new 0.7. I can summarize it this way: $ macirb --simple-prompt
framework 'AppKit'=> true NSSpeechSynthesizer.availableVoices TypeError: can't convert Class into String
This is clearly wrong. (It is even an example given in http://macruby.labs.oreilly.com/ch01.html and clearly should work.) -- Perry E. Metzger perry@piermont.com
Hi Perry, Could you create a ticket for this and assign it to me? Thanks, Eloy On Oct 14, 2010, at 3:31 PM, Perry E. Metzger wrote:
On Thu, 14 Oct 2010 09:15:34 -0400 Louis-Philippe <default@spiralix.org> wrote:
Hi all,
on my system, with MacRuby 0.7, I get this error:
NSArray.array ArgumentError: wrong number of arguments
every NSArray constructor method seems to exibit some kind of similar behaviour. I searched the tickets and couldn't find it there.
I had a similarly interesting problem last night with the brand new 0.7. I can summarize it this way:
$ macirb --simple-prompt
framework 'AppKit'=> true NSSpeechSynthesizer.availableVoices TypeError: can't convert Class into String
This is clearly wrong. (It is even an example given in http://macruby.labs.oreilly.com/ch01.html and clearly should work.)
-- Perry E. Metzger perry@piermont.com _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
On Thu, 14 Oct 2010 15:36:53 +0200 Eloy Duran <eloy.de.enige@gmail.com> wrote:
Hi Perry,
Could you create a ticket for this and assign it to me?
https://www.macruby.org/trac/ticket/955 However, I'm not clear on how to assign tickets to anyone so I didn't. Can you tell me what to do? Perry
Thanks, Eloy
On Oct 14, 2010, at 3:31 PM, Perry E. Metzger wrote:
On Thu, 14 Oct 2010 09:15:34 -0400 Louis-Philippe <default@spiralix.org> wrote:
Hi all,
on my system, with MacRuby 0.7, I get this error:
NSArray.array ArgumentError: wrong number of arguments
every NSArray constructor method seems to exibit some kind of similar behaviour. I searched the tickets and couldn't find it there.
I had a similarly interesting problem last night with the brand new 0.7. I can summarize it this way:
$ macirb --simple-prompt
framework 'AppKit'=> true NSSpeechSynthesizer.availableVoices TypeError: can't convert Class into String
This is clearly wrong. (It is even an example given in http://macruby.labs.oreilly.com/ch01.html and clearly should work.)
-- Perry E. Metzger perry@piermont.com _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
-- Perry E. Metzger perry@piermont.com
All of these work fine in my environment: $ /usr/local/bin/macirb irb(main):001:0> NSArray.array => [] $ /usr/local/bin/macirb irb(main):001:0> framework 'AppKit' => true irb(main):002:0> NSSpeechSynthesizer.availableVoices => ["com.apple.speech.synthesis.voice.Agnes", …] I will have a look, but could you try a nightly build and see if you still reproduce the problem? http://www.macruby.org/files/nightlies/ Laurent On Oct 14, 2010, at 6:31 AM, Perry E. Metzger wrote:
On Thu, 14 Oct 2010 09:15:34 -0400 Louis-Philippe <default@spiralix.org> wrote:
Hi all,
on my system, with MacRuby 0.7, I get this error:
NSArray.array ArgumentError: wrong number of arguments
every NSArray constructor method seems to exibit some kind of similar behaviour. I searched the tickets and couldn't find it there.
I had a similarly interesting problem last night with the brand new 0.7. I can summarize it this way:
$ macirb --simple-prompt
framework 'AppKit'=> true NSSpeechSynthesizer.availableVoices TypeError: can't convert Class into String
This is clearly wrong. (It is even an example given in http://macruby.labs.oreilly.com/ch01.html and clearly should work.)
-- Perry E. Metzger perry@piermont.com _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
On Thu, 14 Oct 2010 14:01:31 -0700 Laurent Sansonetti <lsansonetti@apple.com> wrote:
All of these work fine in my environment: [...] I will have a look, but could you try a nightly build and see if you still reproduce the problem?
I'm using 0.7. Is there a good way for me to try the nightly build without installing it for real? -- Perry E. Metzger perry@piermont.com
Hi Perry, If you install the nightly build, you can still go back to 0.7 by re-installing 0.7 on top of it after. Laurent On Oct 14, 2010, at 3:16 PM, Perry E. Metzger wrote:
On Thu, 14 Oct 2010 14:01:31 -0700 Laurent Sansonetti <lsansonetti@apple.com> wrote:
All of these work fine in my environment: [...] I will have a look, but could you try a nightly build and see if you still reproduce the problem?
I'm using 0.7. Is there a good way for me to try the nightly build without installing it for real?
-- Perry E. Metzger perry@piermont.com
These work for me too on trunk, but I am seeing some GC issues. I’ve updated the ticket with examples. On Fri, Oct 15, 2010 at 12:23 AM, Laurent Sansonetti <lsansonetti@apple.com> wrote:
Hi Perry, If you install the nightly build, you can still go back to 0.7 by re-installing 0.7 on top of it after. Laurent On Oct 14, 2010, at 3:16 PM, Perry E. Metzger wrote:
On Thu, 14 Oct 2010 14:01:31 -0700 Laurent Sansonetti <lsansonetti@apple.com> wrote:
All of these work fine in my environment:
[...]
I will have a look, but could you try a nightly build and see if
you still reproduce the problem?
I'm using 0.7. Is there a good way for me to try the nightly build without installing it for real?
-- Perry E. Metzger perry@piermont.com
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
On Fri, 15 Oct 2010 10:28:18 +0200 Eloy Duran <eloy.de.enige@gmail.com> wrote:
These work for me too on trunk, but I am seeing some GC issues. I’ve updated the ticket with examples.
It also works for me on the trunk. Presumably it needs to be fixed for 0.7? I don't see the gc issues but perhaps I'm not running with the right flags to see debug messages of that sort? Perry -- Perry E. Metzger perry@piermont.com
Hi Perry, The fix will ship in the next release (likely 0.8). As it may not happen soon, I recommend to grab a nightly build in the meantime. Laurent On Oct 15, 2010, at 4:25 PM, Perry E. Metzger wrote:
On Fri, 15 Oct 2010 10:28:18 +0200 Eloy Duran <eloy.de.enige@gmail.com> wrote:
These work for me too on trunk, but I am seeing some GC issues. I’ve updated the ticket with examples.
It also works for me on the trunk. Presumably it needs to be fixed for 0.7? I don't see the gc issues but perhaps I'm not running with the right flags to see debug messages of that sort?
Perry -- Perry E. Metzger perry@piermont.com _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
On Fri, 15 Oct 2010 16:30:58 -0700 Laurent Sansonetti <lsansonetti@apple.com> wrote:
Hi Perry,
The fix will ship in the next release (likely 0.8). As it may not happen soon, I recommend to grab a nightly build in the meantime.
It would seem to be significant enough a bug to patch in the released version, wouldn't it? Perry -- Perry E. Metzger perry@piermont.com
On Oct 16, 2010, at 8:58 PM, Perry E. Metzger wrote:
On Fri, 15 Oct 2010 16:30:58 -0700 Laurent Sansonetti <lsansonetti@apple.com> wrote:
Hi Perry,
The fix will ship in the next release (likely 0.8). As it may not happen soon, I recommend to grab a nightly build in the meantime.
It would seem to be significant enough a bug to patch in the released version, wouldn't it?
We generally don't do micro releases, as MacRuby's trunk is more stable than the previous releases. We are very careful to only commit bug fixes or well-tested features in trunk to not introduce any serious regression (everything else is developed in separate branches). So we recommend people to live on nightly builds. Release management is hard and as I'm the only person doing releases, they tend to happen every 3-5 months based on what was developed in trunk. Of course we could do more frequent releases if people would be interested in helping :-) Laurent
I would be interested in helping out. What would be involved? Jeff On Oct 18, 2010, at 7:36 PM, Laurent Sansonetti wrote:
We generally don't do micro releases, as MacRuby's trunk is more stable than the previous releases. We are very careful to only commit bug fixes or well-tested features in trunk to not introduce any serious regression (everything else is developed in separate branches). So we recommend people to live on nightly builds.
Release management is hard and as I'm the only person doing releases, they tend to happen every 3-5 months based on what was developed in trunk. Of course we could do more frequent releases if people would be interested in helping :-)
Laurent _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Hi Jeff, What would you be interested helping in? For release management, the task basically consists of tracking trunk changes, merging them into a release branch, generating release notes and preparing / pushing installers. Laurent On Oct 20, 2010, at 11:42 AM, Jeff Hemmelgarn wrote:
I would be interested in helping out. What would be involved?
Jeff
On Oct 18, 2010, at 7:36 PM, Laurent Sansonetti wrote:
We generally don't do micro releases, as MacRuby's trunk is more stable than the previous releases. We are very careful to only commit bug fixes or well-tested features in trunk to not introduce any serious regression (everything else is developed in separate branches). So we recommend people to live on nightly builds.
Release management is hard and as I'm the only person doing releases, they tend to happen every 3-5 months based on what was developed in trunk. Of course we could do more frequent releases if people would be interested in helping :-)
Laurent _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Hi Laurent, I would be happy to help out with releases. I assume I need to bone-up on svn? I have been using mercurial-git to grab code from the git mirror so I am unfamiliar with svn. I haven't messed with installation on the Mac before so I might need a bit of a push there as well. Feel free to contact me directly with further info/questions. Jeff On Oct 21, 2010, at 5:39 PM, Laurent Sansonetti wrote:
Hi Jeff,
What would you be interested helping in? For release management, the task basically consists of tracking trunk changes, merging them into a release branch, generating release notes and preparing / pushing installers.
Laurent
On Oct 20, 2010, at 11:42 AM, Jeff Hemmelgarn wrote:
I would be interested in helping out. What would be involved?
Jeff
On Oct 18, 2010, at 7:36 PM, Laurent Sansonetti wrote:
We generally don't do micro releases, as MacRuby's trunk is more stable than the previous releases. We are very careful to only commit bug fixes or well-tested features in trunk to not introduce any serious regression (everything else is developed in separate branches). So we recommend people to live on nightly builds.
Release management is hard and as I'm the only person doing releases, they tend to happen every 3-5 months based on what was developed in trunk. Of course we could do more frequent releases if people would be interested in helping :-)
Laurent _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Hi, It seems to work for me: % macruby -e 'p MACRUBY_VERSION, MACRUBY_REVISION' "0.7" "svn revision 4566 from http://svn.macosforge.org/repository/ruby/MacRuby/branches/0.7" % macruby -e 'p NSArray.array' [] % macruby -e 'p NSArray.new' [] Which version are you using? Eloy On Oct 14, 2010, at 3:15 PM, Louis-Philippe wrote:
Hi all,
on my system, with MacRuby 0.7, I get this error:
NSArray.array ArgumentError: wrong number of arguments
every NSArray constructor method seems to exibit some kind of similar behaviour. I searched the tickets and couldn't find it there.
L-P _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (5)
-
Eloy Duran
-
Jeff Hemmelgarn
-
Laurent Sansonetti
-
Louis-Philippe
-
Perry E. Metzger