Mohamed Meligy
2010-Dec-17 00:29 UTC
[Ironruby-core] Any coming IronRuby releases fixing igem this year?
Hello all, I noticed IronRuby 1.1.1 has problems in igem where it fails to installs gems due to some conversion issue from nil to string. IronRuby 1.0 is compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. I''m interested in learning Rails 3.0 on IronRuby and see how I can integrate .NET stuff with that. So, is there any coming patch release or even git code push that solves the igem issues? Will be great if I get something to play with in Christmas holidays, but this might be very unrealistic anyway. Thanks a lot. Regards, *Mohamed Meligy *Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [image: Description: Description: Description: Description: rss_16] [image: Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [image: Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> <http://www.greatplacetowork.com.au/best/best-companies-australia.php><http://www.readify.net/AboutUs/NewsItem.aspx?id=10> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101217/dd2d0a71/attachment.html>
Tomas Matousek
2010-Dec-17 08:13 UTC
[Ironruby-core] Any coming IronRuby releases fixing igem this year?
I believe I fixed this in main. So if you download the sources and build it should work. Let me know if it works for you. Maybe we should do a 1.1.2 release soon - it should be pretty easy - it might ease adoption of 1.1. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [eng.meligy at gmail.com] Sent: Thursday, December 16, 2010 4:29 PM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? Hello all, I noticed IronRuby 1.1.1 has problems in igem where it fails to installs gems due to some conversion issue from nil to string. IronRuby 1.0 is compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. I''m interested in learning Rails 3.0 on IronRuby and see how I can integrate .NET stuff with that. So, is there any coming patch release or even git code push that solves the igem issues? Will be great if I get something to play with in Christmas holidays, but this might be very unrealistic anyway. Thanks a lot. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net<http://www.readify.net/> [Description: Description: Description: Description: rss_16] [Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> [http://gurustop.net/mail/signature/readify-50best.jpg]<http://www.greatplacetowork.com.au/best/best-companies-australia.php>[http://gurustop.net/mail/signature/readify-partner2010.png]<http://www.readify.net/AboutUs/NewsItem.aspx?id=10> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101217/c61ec0be/attachment-0001.html>
Shay Friedman
2010-Dec-17 09:01 UTC
[Ironruby-core] Any coming IronRuby releases fixing igem this year?
It doesn''t work for me Tomas. Same "can''t convert" error. Debugging it I was able to find where the exception occurs - it fails for me at line 559 in the Runtime.Loader class with the error "no such file to load -- rubygems/defaults/operating_system". Shay. On Fri, Dec 17, 2010 at 10:13 AM, Tomas Matousek < Tomas.Matousek at microsoft.com> wrote:> I believe I fixed this in main. So if you download the sources and build > it should work. > > Let me know if it works for you. Maybe we should do a 1.1.2 release soon - > it should be pretty easy - it might ease adoption of 1.1. > > > > Tomas > > > ------------------------------ > *From:* ironruby-core-bounces at rubyforge.org [ > ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ > eng.meligy at gmail.com] > *Sent:* Thursday, December 16, 2010 4:29 PM > *To:* ironruby-core at rubyforge.org > *Subject:* [Ironruby-core] Any coming IronRuby releases fixing igem this > year? > > Hello all, > I noticed IronRuby 1.1.1 has problems in igem where it fails to installs > gems due to some conversion issue from nil to string. IronRuby 1.0 is > compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. > > I''m interested in learning Rails 3.0 on IronRuby and see how I can > integrate .NET stuff with that. > > > So, is there any coming patch release or even git code push that solves > the igem issues? > > > Will be great if I get something to play with in Christmas holidays, but > this might be very unrealistic anyway. > > > Thanks a lot. > > Regards, > > > > *Mohamed Meligy > *Readify | Senior Developer > > M:+61 451 835006 | W: www.readify.net > [image: Description: Description: Description: Description: rss_16] [image: > Description: Description: Description: Description: > cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [image: > Description: Description: Description: Description: > cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> > <http://www.greatplacetowork.com.au/best/best-companies-australia.php><http://www.readify.net/AboutUs/NewsItem.aspx?id=10> > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101217/19adc205/attachment.html>
Albert-Jan Pieter Nijburg
2010-Dec-17 09:46 UTC
[Ironruby-core] Any coming IronRuby releases fixing igem this year?
Hey, I looked into this also and read_nonblock will still return 0 bytes sometimes. I made a small hack in SocketStream.cs that forces the socket to return more than 0 bytes. if (bytesToRead > 0) { while(oldPos == _pos) { _pos += _socket.Receive(readBuffer, bytesToRead, SocketFlags.None); } } I know this is absolutely not the way to fix it but it does specify the source of the exception maybe a bit better. Regards, Albert-Jan Van: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] Namens Tomas Matousek Verzonden: vrijdag 17 december 2010 9:14 Aan: ironruby-core at rubyforge.org Onderwerp: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? I believe I fixed this in main. So if you download the sources and build it should work. Let me know if it works for you. Maybe we should do a 1.1.2 release soon - it should be pretty easy - it might ease adoption of 1.1. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [eng.meligy at gmail.com] Sent: Thursday, December 16, 2010 4:29 PM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? Hello all, I noticed IronRuby 1.1.1 has problems in igem where it fails to installs gems due to some conversion issue from nil to string. IronRuby 1.0 is compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. I''m interested in learning Rails 3.0 on IronRuby and see how I can integrate .NET stuff with that. So, is there any coming patch release or even git code push that solves the igem issues? Will be great if I get something to play with in Christmas holidays, but this might be very unrealistic anyway. Thanks a lot. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net <http://www.readify.net/> <http://www.linkedin.com/in/meligy> <http://twitter.com/meligy> <http://www.greatplacetowork.com.au/best/best-companies-australia.php> <http://www.readify.net/AboutUs/NewsItem.aspx?id=10> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101217/a085dc2e/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 1292 bytes Desc: image001.png URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101217/a085dc2e/attachment-0004.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 1326 bytes Desc: image002.png URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101217/a085dc2e/attachment-0005.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 1319 bytes Desc: image003.png URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101217/a085dc2e/attachment-0006.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 6309 bytes Desc: image004.jpg URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101217/a085dc2e/attachment-0001.jpe> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 22003 bytes Desc: image005.png URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101217/a085dc2e/attachment-0007.png>
Mohamed Meligy
2010-Dec-17 14:05 UTC
[Ironruby-core] Any coming IronRuby releases fixing igem this year?
@Tomas, if it works on your local machine, maybe it''s worth checking it out and having a 1.1.2 release. If your local repository is in sync already, then maybe there is some other issues that needs to be fixed. If this is easy as repositories sync issue of existing working fix or so, would really appreciate a 1.1.2 update. I''m new to Ruby and Rails and would love to try the IronRuby Rails integration even better with Visual Studio. I''m kind of lost in the source too. Not sure which VS solutions I should build and where the output Ruby\bin kind-of-directory would then be, neither how to get the MSI file for VS tools. Will be great if there is some explanation to this (forgive me if it''s some readme already in the source), or else, then another release will be much easier to deal with. Thanks a lot. Regards, *Mohamed Meligy *Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [image: Description: Description: Description: Description: rss_16] [image: Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [image: Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> <http://www.greatplacetowork.com.au/best/best-companies-australia.php><http://www.readify.net/AboutUs/NewsItem.aspx?id=10> On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg < albertjan at curit.com> wrote:> Hey, > > > > I looked into this also and read_nonblock will still return 0 bytes > sometimes. I made a small hack in SocketStream.cs that forces the socket to > return more than 0 bytes. > > > > *if* (bytesToRead > 0) { > > while(oldPos == _pos) { > > _pos += _socket.Receive(readBuffer, bytesToRead, > SocketFlags.None); > > } > > } > > > > I know this is absolutely not the way to fix it but it does specify the > source of the exception maybe a bit better. > > > > Regards, > > > > Albert-Jan > > > > *Van:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *Namens *Tomas Matousek > *Verzonden:* vrijdag 17 december 2010 9:14 > *Aan:* ironruby-core at rubyforge.org > *Onderwerp:* Re: [Ironruby-core] Any coming IronRuby releases fixing igem > this year? > > > > I believe I fixed this in main. So if you download the sources and build it > should work. > > Let me know if it works for you. Maybe we should do a 1.1.2 release soon - > it should be pretty easy - it might ease adoption of 1.1. > > > > Tomas > > > ------------------------------ > > *From:* ironruby-core-bounces at rubyforge.org [ > ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ > eng.meligy at gmail.com] > *Sent:* Thursday, December 16, 2010 4:29 PM > *To:* ironruby-core at rubyforge.org > *Subject:* [Ironruby-core] Any coming IronRuby releases fixing igem this > year? > > Hello all, > > I noticed IronRuby 1.1.1 has problems in igem where it fails to installs > gems due to some conversion issue from nil to string. IronRuby 1.0 is > compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. > > > > I''m interested in learning Rails 3.0 on IronRuby and see how I can > integrate .NET stuff with that. > > > > > > So, is there any coming patch release or even git code push that solves the > igem issues? > > > > > > Will be great if I get something to play with in Christmas holidays, but > this might be very unrealistic anyway. > > > > > > Thanks a lot. > > > > Regards, > > > > *Mohamed Meligy > *Readify | Senior Developer > > M:+61 451 835006 | W: www.readify.net > > [image: Beschrijving: Description: Description: Description: Description: > rss_16] [image: Beschrijving: Description: Description: Description: > Description: cid:image003.png at 01CAF81D.6A076510]<http://www.linkedin.com/in/meligy> > [image: Beschrijving: Description: Description: Description: > Description: cid:image005.png at 01CAF81D.6A076510]<http://twitter.com/meligy> > [image: Beschrijving: > http://gurustop.net/mail/signature/readify-50best.jpg]<http://www.greatplacetowork.com.au/best/best-companies-australia.php>[image: > Beschrijving: http://gurustop.net/mail/signature/readify-partner2010.png]<http://www.readify.net/AboutUs/NewsItem.aspx?id=10> > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101218/c9a4dbf9/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 1319 bytes Desc: not available URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101218/c9a4dbf9/attachment-0004.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 1292 bytes Desc: not available URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101218/c9a4dbf9/attachment-0005.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 1326 bytes Desc: not available URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101218/c9a4dbf9/attachment-0006.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 6309 bytes Desc: not available URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101218/c9a4dbf9/attachment-0001.jpe> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 22003 bytes Desc: not available URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101218/c9a4dbf9/attachment-0007.png>
Tomas Matousek
2010-Dec-17 17:32 UTC
[Ironruby-core] Any coming IronRuby releases fixing igem this year?
The fix is already checked into the main. So if there is still any problem it''s another bug. Build instructions are here: http://github.com/IronLanguages/main/wiki/Building let me know if anything there is not clear or doesn''t work. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [eng.meligy at gmail.com] Sent: Friday, December 17, 2010 6:05 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? @Tomas, if it works on your local machine, maybe it''s worth checking it out and having a 1.1.2 release. If your local repository is in sync already, then maybe there is some other issues that needs to be fixed. If this is easy as repositories sync issue of existing working fix or so, would really appreciate a 1.1.2 update. I''m new to Ruby and Rails and would love to try the IronRuby Rails integration even better with Visual Studio. I''m kind of lost in the source too. Not sure which VS solutions I should build and where the output Ruby\bin kind-of-directory would then be, neither how to get the MSI file for VS tools. Will be great if there is some explanation to this (forgive me if it''s some readme already in the source), or else, then another release will be much easier to deal with. Thanks a lot. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net<http://www.readify.net/> [Description: Description: Description: Description: rss_16] [Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> [http://gurustop.net/mail/signature/readify-50best.jpg]<http://www.greatplacetowork.com.au/best/best-companies-australia.php>[http://gurustop.net/mail/signature/readify-partner2010.png]<http://www.readify.net/AboutUs/NewsItem.aspx?id=10> On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg <albertjan at curit.com<mailto:albertjan at curit.com>> wrote: Hey, I looked into this also and read_nonblock will still return 0 bytes sometimes. I made a small hack in SocketStream.cs that forces the socket to return more than 0 bytes. if (bytesToRead > 0) { while(oldPos == _pos) { _pos += _socket.Receive(readBuffer, bytesToRead, SocketFlags.None); } } I know this is absolutely not the way to fix it but it does specify the source of the exception maybe a bit better. Regards, Albert-Jan Van: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] Namens Tomas Matousek Verzonden: vrijdag 17 december 2010 9:14 Aan: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Onderwerp: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? I believe I fixed this in main. So if you download the sources and build it should work. Let me know if it works for you. Maybe we should do a 1.1.2 release soon - it should be pretty easy - it might ease adoption of 1.1. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] on behalf of Mohamed Meligy [eng.meligy at gmail.com<mailto:eng.meligy at gmail.com>] Sent: Thursday, December 16, 2010 4:29 PM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? Hello all, I noticed IronRuby 1.1.1 has problems in igem where it fails to installs gems due to some conversion issue from nil to string. IronRuby 1.0 is compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. I''m interested in learning Rails 3.0 on IronRuby and see how I can integrate .NET stuff with that. So, is there any coming patch release or even git code push that solves the igem issues? Will be great if I get something to play with in Christmas holidays, but this might be very unrealistic anyway. Thanks a lot. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net<http://www.readify.net/> [Beschrijving: Description: Description: Description: Description: rss_16] [Beschrijving: Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [Beschrijving: Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> [Beschrijving: http://gurustop.net/mail/signature/readify-50best.jpg]<http://www.greatplacetowork.com.au/best/best-companies-australia.php>[Beschrijving: http://gurustop.net/mail/signature/readify-partner2010.png]<http://www.readify.net/AboutUs/NewsItem.aspx?id=10> _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101217/3134122c/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 1319 bytes Desc: image003.png URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101217/3134122c/attachment-0004.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 1292 bytes Desc: image001.png URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101217/3134122c/attachment-0005.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 1326 bytes Desc: image002.png URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101217/3134122c/attachment-0006.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 6309 bytes Desc: image004.jpg URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101217/3134122c/attachment-0001.jpg> -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.png Type: image/png Size: 22003 bytes Desc: image005.png URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101217/3134122c/attachment-0007.png>
Mohamed Meligy
2010-Dec-18 10:09 UTC
[Ironruby-core] Any coming IronRuby releases fixing igem this year?
@Tomas, Thanks a lot. I''m checking that now. @Shay Can you please confirm your repo is in sync and see if the problem is still the same for you? I''ll be checking too, but if I get issues, will not be sure it''s code issue not me missing an instruction or so. Thanks a lot everyone. Regards, *Mohamed Meligy *Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [image: Description: Description: Description: Description: rss_16] [image: Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [image: Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> <http://www.greatplacetowork.com.au/best/best-companies-australia.php><http://www.readify.net/AboutUs/NewsItem.aspx?id=10> On Sat, Dec 18, 2010 at 4:32 AM, Tomas Matousek < Tomas.Matousek at microsoft.com> wrote:> The fix is already checked into the main. So if there is still any > problem it''s another bug. > > > > Build instructions are here: > > > > http://github.com/IronLanguages/main/wiki/Building > > > > let me know if anything there is not clear or doesn''t work. > > > > Tomas > > > ------------------------------ > *From:* ironruby-core-bounces at rubyforge.org [ > ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ > eng.meligy at gmail.com] > *Sent:* Friday, December 17, 2010 6:05 AM > > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] Any coming IronRuby releases fixing igem > this year? > > @Tomas, if it works on your local machine, maybe it''s worth checking it > out and having a 1.1.2 release. > If your local repository is in sync already, then maybe there is some other > issues that needs to be fixed. > > If this is easy as repositories sync issue of existing working fix or so, > would really appreciate a 1.1.2 update. I''m new to Ruby and Rails and would > love to try the IronRuby Rails integration even better with Visual Studio. > > I''m kind of lost in the source too. Not sure which VS solutions I should > build and where the output Ruby\bin kind-of-directory would then be, neither > how to get the MSI file for VS tools. > Will be great if there is some explanation to this (forgive me if it''s some > readme already in the source), or else, then another release will be much > easier to deal with. > > > Thanks a lot. > > > Regards, > > > > *Mohamed Meligy > *Readify | Senior Developer > > M:+61 451 835006 | W: www.readify.net > [image: Description: Description: Description: Description: rss_16] [image: > Description: Description: Description: Description: > cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [image: > Description: Description: Description: Description: > cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> > <http://www.greatplacetowork.com.au/best/best-companies-australia.php><http://www.readify.net/AboutUs/NewsItem.aspx?id=10> > > > > On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg < > albertjan at curit.com> wrote: > >> Hey, >> >> >> >> I looked into this also and read_nonblock will still return 0 bytes >> sometimes. I made a small hack in SocketStream.cs that forces the socket to >> return more than 0 bytes. >> >> >> >> *if* (bytesToRead > 0) { >> >> while(oldPos == _pos) { >> >> _pos += _socket.Receive(readBuffer, bytesToRead, >> SocketFlags.None); >> >> } >> >> } >> >> >> >> I know this is absolutely not the way to fix it but it does specify the >> source of the exception maybe a bit better. >> >> >> >> Regards, >> >> >> >> Albert-Jan >> >> >> >> *Van:* ironruby-core-bounces at rubyforge.org [mailto: >> ironruby-core-bounces at rubyforge.org] *Namens *Tomas Matousek >> *Verzonden:* vrijdag 17 december 2010 9:14 >> *Aan:* ironruby-core at rubyforge.org >> *Onderwerp:* Re: [Ironruby-core] Any coming IronRuby releases fixing igem >> this year? >> >> >> >> I believe I fixed this in main. So if you download the sources and build >> it should work. >> >> Let me know if it works for you. Maybe we should do a 1.1.2 release soon - >> it should be pretty easy - it might ease adoption of 1.1. >> >> >> >> Tomas >> >> >> ------------------------------ >> >> *From:* ironruby-core-bounces at rubyforge.org [ >> ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ >> eng.meligy at gmail.com] >> *Sent:* Thursday, December 16, 2010 4:29 PM >> *To:* ironruby-core at rubyforge.org >> *Subject:* [Ironruby-core] Any coming IronRuby releases fixing igem this >> year? >> >> Hello all, >> >> I noticed IronRuby 1.1.1 has problems in igem where it fails to installs >> gems due to some conversion issue from nil to string. IronRuby 1.0 is >> compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. >> >> >> >> I''m interested in learning Rails 3.0 on IronRuby and see how I can >> integrate .NET stuff with that. >> >> >> >> >> >> So, is there any coming patch release or even git code push that solves >> the igem issues? >> >> >> >> >> >> Will be great if I get something to play with in Christmas holidays, but >> this might be very unrealistic anyway. >> >> >> >> >> >> Thanks a lot. >> >> >> >> Regards, >> >> >> >> *Mohamed Meligy >> *Readify | Senior Developer >> >> M:+61 451 835006 | W: www.readify.net >> >> [image: Beschrijving: Description: Description: Description: Description: >> rss_16] [image: Beschrijving: Description: Description: Description: >> Description: cid:image003.png at 01CAF81D.6A076510]<http://www.linkedin.com/in/meligy> >> [image: Beschrijving: Description: Description: Description: >> Description: cid:image005.png at 01CAF81D.6A076510]<http://twitter.com/meligy> >> [image: Beschrijving: >> http://gurustop.net/mail/signature/readify-50best.jpg]<http://www.greatplacetowork.com.au/best/best-companies-australia.php>[image: >> Beschrijving: http://gurustop.net/mail/signature/readify-partner2010.png]<http://www.readify.net/AboutUs/NewsItem.aspx?id=10> >> >> >> >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101218/22e00e21/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 1326 bytes Desc: not available URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101218/22e00e21/attachment-0004.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 22003 bytes Desc: not available URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101218/22e00e21/attachment-0005.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 6309 bytes Desc: not available URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101218/22e00e21/attachment-0001.jpe> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 1292 bytes Desc: not available URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101218/22e00e21/attachment-0006.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 1319 bytes Desc: not available URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101218/22e00e21/attachment-0007.png>
Shay Friedman
2010-Dec-18 14:18 UTC
[Ironruby-core] Any coming IronRuby releases fixing igem this year?
My repo is synced with the recent changes and I still get the same error (which originates from a different one as I stated above)... Shay. On Sat, Dec 18, 2010 at 12:09 PM, Mohamed Meligy <eng.meligy at gmail.com>wrote:> @Tomas, > Thanks a lot. I''m checking that now. > > @Shay > Can you please confirm your repo is in sync and see if the problem is still > the same for you? > I''ll be checking too, but if I get issues, will not be sure it''s code issue > not me missing an instruction or so. > > Thanks a lot everyone. > > Regards, > > > > *Mohamed Meligy > *Readify | Senior Developer > > M:+61 451 835006 | W: www.readify.net > [image: Description: Description: Description: Description: rss_16] [image: > Description: Description: Description: Description: > cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [image: > Description: Description: Description: Description: > cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> > <http://www.greatplacetowork.com.au/best/best-companies-australia.php><http://www.readify.net/AboutUs/NewsItem.aspx?id=10> > > > > On Sat, Dec 18, 2010 at 4:32 AM, Tomas Matousek < > Tomas.Matousek at microsoft.com> wrote: > >> The fix is already checked into the main. So if there is still any >> problem it''s another bug. >> >> >> >> Build instructions are here: >> >> >> >> http://github.com/IronLanguages/main/wiki/Building >> >> >> >> let me know if anything there is not clear or doesn''t work. >> >> >> >> Tomas >> >> >> ------------------------------ >> *From:* ironruby-core-bounces at rubyforge.org [ >> ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ >> eng.meligy at gmail.com] >> *Sent:* Friday, December 17, 2010 6:05 AM >> >> *To:* ironruby-core at rubyforge.org >> *Subject:* Re: [Ironruby-core] Any coming IronRuby releases fixing igem >> this year? >> >> @Tomas, if it works on your local machine, maybe it''s worth checking it >> out and having a 1.1.2 release. >> If your local repository is in sync already, then maybe there is some >> other issues that needs to be fixed. >> >> If this is easy as repositories sync issue of existing working fix or >> so, would really appreciate a 1.1.2 update. I''m new to Ruby and Rails and >> would love to try the IronRuby Rails integration even better with Visual >> Studio. >> >> I''m kind of lost in the source too. Not sure which VS solutions I should >> build and where the output Ruby\bin kind-of-directory would then be, neither >> how to get the MSI file for VS tools. >> Will be great if there is some explanation to this (forgive me if it''s >> some readme already in the source), or else, then another release will be >> much easier to deal with. >> >> >> Thanks a lot. >> >> >> Regards, >> >> >> >> *Mohamed Meligy >> *Readify | Senior Developer >> >> M:+61 451 835006 | W: www.readify.net >> [image: Description: Description: Description: Description: rss_16] [image: >> Description: Description: Description: Description: >> cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [image: >> Description: Description: Description: Description: >> cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> >> <http://www.greatplacetowork.com.au/best/best-companies-australia.php><http://www.readify.net/AboutUs/NewsItem.aspx?id=10> >> >> >> >> On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg < >> albertjan at curit.com> wrote: >> >>> Hey, >>> >>> >>> >>> I looked into this also and read_nonblock will still return 0 bytes >>> sometimes. I made a small hack in SocketStream.cs that forces the socket to >>> return more than 0 bytes. >>> >>> >>> >>> *if* (bytesToRead > 0) { >>> >>> while(oldPos == _pos) { >>> >>> _pos += _socket.Receive(readBuffer, bytesToRead, >>> SocketFlags.None); >>> >>> } >>> >>> } >>> >>> >>> >>> I know this is absolutely not the way to fix it but it does specify the >>> source of the exception maybe a bit better. >>> >>> >>> >>> Regards, >>> >>> >>> >>> Albert-Jan >>> >>> >>> >>> *Van:* ironruby-core-bounces at rubyforge.org [mailto: >>> ironruby-core-bounces at rubyforge.org] *Namens *Tomas Matousek >>> *Verzonden:* vrijdag 17 december 2010 9:14 >>> *Aan:* ironruby-core at rubyforge.org >>> *Onderwerp:* Re: [Ironruby-core] Any coming IronRuby releases fixing >>> igem this year? >>> >>> >>> >>> I believe I fixed this in main. So if you download the sources and build >>> it should work. >>> >>> Let me know if it works for you. Maybe we should do a 1.1.2 release >>> soon - it should be pretty easy - it might ease adoption of 1.1. >>> >>> >>> >>> Tomas >>> >>> >>> ------------------------------ >>> >>> *From:* ironruby-core-bounces at rubyforge.org [ >>> ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ >>> eng.meligy at gmail.com] >>> *Sent:* Thursday, December 16, 2010 4:29 PM >>> *To:* ironruby-core at rubyforge.org >>> *Subject:* [Ironruby-core] Any coming IronRuby releases fixing igem this >>> year? >>> >>> Hello all, >>> >>> I noticed IronRuby 1.1.1 has problems in igem where it fails to installs >>> gems due to some conversion issue from nil to string. IronRuby 1.0 is >>> compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. >>> >>> >>> >>> I''m interested in learning Rails 3.0 on IronRuby and see how I can >>> integrate .NET stuff with that. >>> >>> >>> >>> >>> >>> So, is there any coming patch release or even git code push that solves >>> the igem issues? >>> >>> >>> >>> >>> >>> Will be great if I get something to play with in Christmas holidays, but >>> this might be very unrealistic anyway. >>> >>> >>> >>> >>> >>> Thanks a lot. >>> >>> >>> >>> Regards, >>> >>> >>> >>> *Mohamed Meligy >>> *Readify | Senior Developer >>> >>> M:+61 451 835006 | W: www.readify.net >>> >>> [image: Beschrijving: Description: Description: Description: Description: >>> rss_16] [image: Beschrijving: Description: Description: Description: >>> Description: cid:image003.png at 01CAF81D.6A076510]<http://www.linkedin.com/in/meligy> >>> [image: Beschrijving: Description: Description: Description: >>> Description: cid:image005.png at 01CAF81D.6A076510]<http://twitter.com/meligy> >>> [image: Beschrijving: >>> http://gurustop.net/mail/signature/readify-50best.jpg]<http://www.greatplacetowork.com.au/best/best-companies-australia.php>[image: >>> Beschrijving: http://gurustop.net/mail/signature/readify-partner2010.png]<http://www.readify.net/AboutUs/NewsItem.aspx?id=10> >>> >>> >>> >>> _______________________________________________ >>> Ironruby-core mailing list >>> Ironruby-core at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/ironruby-core >>> >>> >> >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101218/f5686354/attachment.html>
Tomas Matousek
2010-Dec-18 17:26 UTC
[Ironruby-core] Any coming IronRuby releases fixing igem this year?
Isn''t "no such file to load -- rubygems/defaults/operating_system" exception caught somewhere? I think this exception is common. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Shay Friedman [shay.friedman at gmail.com] Sent: Saturday, December 18, 2010 6:18 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? My repo is synced with the recent changes and I still get the same error (which originates from a different one as I stated above)... Shay. On Sat, Dec 18, 2010 at 12:09 PM, Mohamed Meligy <eng.meligy at gmail.com<mailto:eng.meligy at gmail.com>> wrote: @Tomas, Thanks a lot. I''m checking that now. @Shay Can you please confirm your repo is in sync and see if the problem is still the same for you? I''ll be checking too, but if I get issues, will not be sure it''s code issue not me missing an instruction or so. Thanks a lot everyone. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net<http://www.readify.net/> [Description: Description: Description: Description: rss_16] [Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> [X]<http://www.greatplacetowork.com.au/best/best-companies-australia.php>[X]<http://www.readify.net/AboutUs/NewsItem.aspx?id=10> On Sat, Dec 18, 2010 at 4:32 AM, Tomas Matousek <Tomas.Matousek at microsoft.com<mailto:Tomas.Matousek at microsoft.com>> wrote: The fix is already checked into the main. So if there is still any problem it''s another bug. Build instructions are here: http://github.com/IronLanguages/main/wiki/Building let me know if anything there is not clear or doesn''t work. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] on behalf of Mohamed Meligy [eng.meligy at gmail.com<mailto:eng.meligy at gmail.com>] Sent: Friday, December 17, 2010 6:05 AM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? @Tomas, if it works on your local machine, maybe it''s worth checking it out and having a 1.1.2 release. If your local repository is in sync already, then maybe there is some other issues that needs to be fixed. If this is easy as repositories sync issue of existing working fix or so, would really appreciate a 1.1.2 update. I''m new to Ruby and Rails and would love to try the IronRuby Rails integration even better with Visual Studio. I''m kind of lost in the source too. Not sure which VS solutions I should build and where the output Ruby\bin kind-of-directory would then be, neither how to get the MSI file for VS tools. Will be great if there is some explanation to this (forgive me if it''s some readme already in the source), or else, then another release will be much easier to deal with. Thanks a lot. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net<http://www.readify.net/> [Description: Description: Description: Description: rss_16] [Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> [X]<http://www.greatplacetowork.com.au/best/best-companies-australia.php>[X]<http://www.readify.net/AboutUs/NewsItem.aspx?id=10> On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg <albertjan at curit.com<mailto:albertjan at curit.com>> wrote: Hey, I looked into this also and read_nonblock will still return 0 bytes sometimes. I made a small hack in SocketStream.cs that forces the socket to return more than 0 bytes. if (bytesToRead > 0) { while(oldPos == _pos) { _pos += _socket.Receive(readBuffer, bytesToRead, SocketFlags.None); } } I know this is absolutely not the way to fix it but it does specify the source of the exception maybe a bit better. Regards, Albert-Jan Van: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] Namens Tomas Matousek Verzonden: vrijdag 17 december 2010 9:14 Aan: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Onderwerp: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? I believe I fixed this in main. So if you download the sources and build it should work. Let me know if it works for you. Maybe we should do a 1.1.2 release soon - it should be pretty easy - it might ease adoption of 1.1. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] on behalf of Mohamed Meligy [eng.meligy at gmail.com<mailto:eng.meligy at gmail.com>] Sent: Thursday, December 16, 2010 4:29 PM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? Hello all, I noticed IronRuby 1.1.1 has problems in igem where it fails to installs gems due to some conversion issue from nil to string. IronRuby 1.0 is compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. I''m interested in learning Rails 3.0 on IronRuby and see how I can integrate .NET stuff with that. So, is there any coming patch release or even git code push that solves the igem issues? Will be great if I get something to play with in Christmas holidays, but this might be very unrealistic anyway. Thanks a lot. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net<http://www.readify.net/> [Beschrijving: Description: Description: Description: Description: rss_16] [Beschrijving: Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [Beschrijving: Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> [Beschrijving: http://gurustop.net/mail/signature/readify-50best.jpg]<http://www.greatplacetowork.com.au/best/best-companies-australia.php>[Beschrijving: http://gurustop.net/mail/signature/readify-partner2010.png]<http://www.readify.net/AboutUs/NewsItem.aspx?id=10> _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101218/29654bf5/attachment-0001.html>
Shay Friedman
2010-Dec-19 09:19 UTC
[Ironruby-core] Any coming IronRuby releases fixing igem this year?
You''re right, there''re more exceptions afterwards. The exception I suspect that causes the problems is on SocketStream, line 90: "A non-blocking socket operation could not be completed immediately". What do you think? Shay. On Sat, Dec 18, 2010 at 7:26 PM, Tomas Matousek < Tomas.Matousek at microsoft.com> wrote:> Isn''t "no such file to load -- rubygems/defaults/operating_system" > exception caught somewhere? > > I think this exception is common. > > > > Tomas > > > ------------------------------ > *From:* ironruby-core-bounces at rubyforge.org [ > ironruby-core-bounces at rubyforge.org] on behalf of Shay Friedman [ > shay.friedman at gmail.com] > *Sent:* Saturday, December 18, 2010 6:18 AM > > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] Any coming IronRuby releases fixing igem > this year? > > My repo is synced with the recent changes and I still get the same error > (which originates from a different one as I stated above)... > > Shay. > > > > On Sat, Dec 18, 2010 at 12:09 PM, Mohamed Meligy <eng.meligy at gmail.com>wrote: > >> @Tomas, >> Thanks a lot. I''m checking that now. >> >> @Shay >> Can you please confirm your repo is in sync and see if the problem is >> still the same for you? >> I''ll be checking too, but if I get issues, will not be sure it''s code >> issue not me missing an instruction or so. >> >> Thanks a lot everyone. >> >> Regards, >> >> >> >> *Mohamed Meligy >> *Readify | Senior Developer >> >> M:+61 451 835006 | W: www.readify.net >> [image: Description: Description: Description: Description: rss_16] [image: >> Description: Description: Description: Description: >> cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [image: >> Description: Description: Description: Description: >> cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> >> <http://www.greatplacetowork.com.au/best/best-companies-australia.php><http://www.readify.net/AboutUs/NewsItem.aspx?id=10> >> >> >> >> On Sat, Dec 18, 2010 at 4:32 AM, Tomas Matousek < >> Tomas.Matousek at microsoft.com> wrote: >> >>> The fix is already checked into the main. So if there is still any >>> problem it''s another bug. >>> >>> >>> >>> Build instructions are here: >>> >>> >>> >>> http://github.com/IronLanguages/main/wiki/Building >>> >>> >>> >>> let me know if anything there is not clear or doesn''t work. >>> >>> >>> >>> Tomas >>> >>> >>> ------------------------------ >>> *From:* ironruby-core-bounces at rubyforge.org [ >>> ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ >>> eng.meligy at gmail.com] >>> *Sent:* Friday, December 17, 2010 6:05 AM >>> >>> *To:* ironruby-core at rubyforge.org >>> *Subject:* Re: [Ironruby-core] Any coming IronRuby releases fixing igem >>> this year? >>> >>> @Tomas, if it works on your local machine, maybe it''s worth checking >>> it out and having a 1.1.2 release. >>> If your local repository is in sync already, then maybe there is some >>> other issues that needs to be fixed. >>> >>> If this is easy as repositories sync issue of existing working fix or >>> so, would really appreciate a 1.1.2 update. I''m new to Ruby and Rails and >>> would love to try the IronRuby Rails integration even better with Visual >>> Studio. >>> >>> I''m kind of lost in the source too. Not sure which VS solutions I >>> should build and where the output Ruby\bin kind-of-directory would then be, >>> neither how to get the MSI file for VS tools. >>> Will be great if there is some explanation to this (forgive me if it''s >>> some readme already in the source), or else, then another release will be >>> much easier to deal with. >>> >>> >>> Thanks a lot. >>> >>> >>> Regards, >>> >>> >>> >>> *Mohamed Meligy >>> *Readify | Senior Developer >>> >>> M:+61 451 835006 | W: www.readify.net >>> [image: Description: Description: Description: Description: rss_16] [image: >>> Description: Description: Description: Description: >>> cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> >>> [image: Description: Description: Description: Description: >>> cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> >>> <http://www.greatplacetowork.com.au/best/best-companies-australia.php><http://www.readify.net/AboutUs/NewsItem.aspx?id=10> >>> >>> >>> >>> On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg < >>> albertjan at curit.com> wrote: >>> >>>> Hey, >>>> >>>> >>>> >>>> I looked into this also and read_nonblock will still return 0 bytes >>>> sometimes. I made a small hack in SocketStream.cs that forces the socket to >>>> return more than 0 bytes. >>>> >>>> >>>> >>>> *if* (bytesToRead > 0) { >>>> >>>> while(oldPos == _pos) { >>>> >>>> _pos += _socket.Receive(readBuffer, bytesToRead, >>>> SocketFlags.None); >>>> >>>> } >>>> >>>> } >>>> >>>> >>>> >>>> I know this is absolutely not the way to fix it but it does specify the >>>> source of the exception maybe a bit better. >>>> >>>> >>>> >>>> Regards, >>>> >>>> >>>> >>>> Albert-Jan >>>> >>>> >>>> >>>> *Van:* ironruby-core-bounces at rubyforge.org [mailto: >>>> ironruby-core-bounces at rubyforge.org] *Namens *Tomas Matousek >>>> *Verzonden:* vrijdag 17 december 2010 9:14 >>>> *Aan:* ironruby-core at rubyforge.org >>>> *Onderwerp:* Re: [Ironruby-core] Any coming IronRuby releases fixing >>>> igem this year? >>>> >>>> >>>> >>>> I believe I fixed this in main. So if you download the sources and build >>>> it should work. >>>> >>>> Let me know if it works for you. Maybe we should do a 1.1.2 release >>>> soon - it should be pretty easy - it might ease adoption of 1.1. >>>> >>>> >>>> >>>> Tomas >>>> >>>> >>>> ------------------------------ >>>> >>>> *From:* ironruby-core-bounces at rubyforge.org [ >>>> ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ >>>> eng.meligy at gmail.com] >>>> *Sent:* Thursday, December 16, 2010 4:29 PM >>>> *To:* ironruby-core at rubyforge.org >>>> *Subject:* [Ironruby-core] Any coming IronRuby releases fixing igem >>>> this year? >>>> >>>> Hello all, >>>> >>>> I noticed IronRuby 1.1.1 has problems in igem where it fails to installs >>>> gems due to some conversion issue from nil to string. IronRuby 1.0 is >>>> compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. >>>> >>>> >>>> >>>> I''m interested in learning Rails 3.0 on IronRuby and see how I can >>>> integrate .NET stuff with that. >>>> >>>> >>>> >>>> >>>> >>>> So, is there any coming patch release or even git code push that solves >>>> the igem issues? >>>> >>>> >>>> >>>> >>>> >>>> Will be great if I get something to play with in Christmas holidays, but >>>> this might be very unrealistic anyway. >>>> >>>> >>>> >>>> >>>> >>>> Thanks a lot. >>>> >>>> >>>> >>>> Regards, >>>> >>>> >>>> >>>> *Mohamed Meligy >>>> *Readify | Senior Developer >>>> >>>> M:+61 451 835006 | W: www.readify.net >>>> >>>> [image: Beschrijving: Description: Description: Description: >>>> Description: rss_16] [image: Beschrijving: Description: Description: >>>> Description: Description: cid:image003.png at 01CAF81D.6A076510]<http://www.linkedin.com/in/meligy> >>>> [image: Beschrijving: Description: Description: Description: >>>> Description: cid:image005.png at 01CAF81D.6A076510]<http://twitter.com/meligy> >>>> [image: Beschrijving: >>>> http://gurustop.net/mail/signature/readify-50best.jpg]<http://www.greatplacetowork.com.au/best/best-companies-australia.php>[image: >>>> Beschrijving: http://gurustop.net/mail/signature/readify-partner2010.png]<http://www.readify.net/AboutUs/NewsItem.aspx?id=10> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Ironruby-core mailing list >>>> Ironruby-core at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/ironruby-core >>>> >>>> >>> >>> _______________________________________________ >>> Ironruby-core mailing list >>> Ironruby-core at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/ironruby-core >>> >>> >> >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101219/6f5f3129/attachment-0001.html>
Tomas Matousek
2010-Dec-20 07:36 UTC
[Ironruby-core] Any coming IronRuby releases fixing igem this year?
That should still be ok, I think :). If the problem is here (Languages\Ruby\StdLib\ruby\1.9.1\net\protocol.rb): def rbuf_fill begin @rbuf << @io.read_nonblock(BUFSIZE) rescue IO::WaitReadable if IO.select([@io], nil, nil, @read_timeout) retry else raise Timeout::Error end rescue IO::WaitWritable # OpenSSL::Buffering#read_nonblock may fail with IO::WaitWritable. # http://www.openssl.org/support/faq.html#PROG10 if IO.select(nil, [@io], nil, @read_timeout) retry else raise Timeout::Error end end end Then such an exception should be caught as IO::WaitReadable. The problem would be if the method returned nil instead of throwing an exception. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Shay Friedman [shay.friedman at gmail.com] Sent: Sunday, December 19, 2010 1:19 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? You''re right, there''re more exceptions afterwards. The exception I suspect that causes the problems is on SocketStream, line 90: "A non-blocking socket operation could not be completed immediately". What do you think? Shay. On Sat, Dec 18, 2010 at 7:26 PM, Tomas Matousek <Tomas.Matousek at microsoft.com<mailto:Tomas.Matousek at microsoft.com>> wrote: Isn''t "no such file to load -- rubygems/defaults/operating_system" exception caught somewhere? I think this exception is common. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] on behalf of Shay Friedman [shay.friedman at gmail.com<mailto:shay.friedman at gmail.com>] Sent: Saturday, December 18, 2010 6:18 AM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? My repo is synced with the recent changes and I still get the same error (which originates from a different one as I stated above)... Shay. On Sat, Dec 18, 2010 at 12:09 PM, Mohamed Meligy <eng.meligy at gmail.com<mailto:eng.meligy at gmail.com>> wrote: @Tomas, Thanks a lot. I''m checking that now. @Shay Can you please confirm your repo is in sync and see if the problem is still the same for you? I''ll be checking too, but if I get issues, will not be sure it''s code issue not me missing an instruction or so. Thanks a lot everyone. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net<http://www.readify.net/> [Description: Description: Description: Description: rss_16] [Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> [X]<http://www.greatplacetowork.com.au/best/best-companies-australia.php>[X]<http://www.readify.net/AboutUs/NewsItem.aspx?id=10> On Sat, Dec 18, 2010 at 4:32 AM, Tomas Matousek <Tomas.Matousek at microsoft.com<mailto:Tomas.Matousek at microsoft.com>> wrote: The fix is already checked into the main. So if there is still any problem it''s another bug. Build instructions are here: http://github.com/IronLanguages/main/wiki/Building let me know if anything there is not clear or doesn''t work. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] on behalf of Mohamed Meligy [eng.meligy at gmail.com<mailto:eng.meligy at gmail.com>] Sent: Friday, December 17, 2010 6:05 AM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? @Tomas, if it works on your local machine, maybe it''s worth checking it out and having a 1.1.2 release. If your local repository is in sync already, then maybe there is some other issues that needs to be fixed. If this is easy as repositories sync issue of existing working fix or so, would really appreciate a 1.1.2 update. I''m new to Ruby and Rails and would love to try the IronRuby Rails integration even better with Visual Studio. I''m kind of lost in the source too. Not sure which VS solutions I should build and where the output Ruby\bin kind-of-directory would then be, neither how to get the MSI file for VS tools. Will be great if there is some explanation to this (forgive me if it''s some readme already in the source), or else, then another release will be much easier to deal with. Thanks a lot. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net<http://www.readify.net/> [Description: Description: Description: Description: rss_16] [Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> [X]<http://www.greatplacetowork.com.au/best/best-companies-australia.php>[X]<http://www.readify.net/AboutUs/NewsItem.aspx?id=10> On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg <albertjan at curit.com<mailto:albertjan at curit.com>> wrote: Hey, I looked into this also and read_nonblock will still return 0 bytes sometimes. I made a small hack in SocketStream.cs that forces the socket to return more than 0 bytes. if (bytesToRead > 0) { while(oldPos == _pos) { _pos += _socket.Receive(readBuffer, bytesToRead, SocketFlags.None); } } I know this is absolutely not the way to fix it but it does specify the source of the exception maybe a bit better. Regards, Albert-Jan Van: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] Namens Tomas Matousek Verzonden: vrijdag 17 december 2010 9:14 Aan: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Onderwerp: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? I believe I fixed this in main. So if you download the sources and build it should work. Let me know if it works for you. Maybe we should do a 1.1.2 release soon - it should be pretty easy - it might ease adoption of 1.1. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] on behalf of Mohamed Meligy [eng.meligy at gmail.com<mailto:eng.meligy at gmail.com>] Sent: Thursday, December 16, 2010 4:29 PM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? Hello all, I noticed IronRuby 1.1.1 has problems in igem where it fails to installs gems due to some conversion issue from nil to string. IronRuby 1.0 is compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. I''m interested in learning Rails 3.0 on IronRuby and see how I can integrate .NET stuff with that. So, is there any coming patch release or even git code push that solves the igem issues? Will be great if I get something to play with in Christmas holidays, but this might be very unrealistic anyway. Thanks a lot. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net<http://www.readify.net/> [Beschrijving: Description: Description: Description: Description: rss_16] [Beschrijving: Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [Beschrijving: Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> [Beschrijving: http://gurustop.net/mail/signature/readify-50best.jpg]<http://www.greatplacetowork.com.au/best/best-companies-australia.php>[Beschrijving: http://gurustop.net/mail/signature/readify-partner2010.png]<http://www.readify.net/AboutUs/NewsItem.aspx?id=10> _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101220/5ac681d0/attachment-0001.html>
Mohamed Meligy
2010-Dec-20 17:37 UTC
[Ironruby-core] Any coming IronRuby releases fixing igem this year?
Tried to sync my local copy again, and building from source. There is updated code, but the same error 1. I tried building every solution in the "\Solutions" folder. 2. Copied "\Languages\Ruby\Scripts\bin" *.bat files to "\bin\debug". 3. Started a console window in "\bin\debug". 4. Entered "igem install rails". Error: ERROR: While executing gem ... (TypeError) can''t convert NilClass into String *Mohamed Meligy *Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [image: Description: Description: Description: Description: rss_16] [image: Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [image: Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> <http://www.greatplacetowork.com.au/best/best-companies-australia.php><http://www.readify.net/AboutUs/NewsItem.aspx?id=10> On Mon, Dec 20, 2010 at 6:36 PM, Tomas Matousek < Tomas.Matousek at microsoft.com> wrote:> That should still be ok, I think :). If the problem is here > (Languages\Ruby\StdLib\ruby\1.9.1\net\protocol.rb): > > > > def rbuf_fill > > begin > > @rbuf << @io.read_nonblock(BUFSIZE) > > rescue IO::WaitReadable > > if IO.select([@io], nil, nil, @read_timeout) > > retry > > else > > raise Timeout::Error > > end > > rescue IO::WaitWritable > > # OpenSSL::Buffering#read_nonblock may fail with IO::WaitWritable. > > # http://www.openssl.org/support/faq.html#PROG10 > > if IO.select(nil, [@io], nil, @read_timeout) > > retry > > else > > raise Timeout::Error > > end > > end > > end > > > > Then such an exception should be caught as IO::WaitReadable. The problem > would be if the method returned nil instead of throwing an exception. > > > > Tomas > > > ------------------------------ > *From:* ironruby-core-bounces at rubyforge.org [ > ironruby-core-bounces at rubyforge.org] on behalf of Shay Friedman [ > shay.friedman at gmail.com] > *Sent:* Sunday, December 19, 2010 1:19 AM > > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] Any coming IronRuby releases fixing igem > this year? > > You''re right, there''re more exceptions afterwards. > > The exception I suspect that causes the problems is on SocketStream, line > 90: > "A non-blocking socket operation could not be completed immediately". > > What do you think? > > Shay. > > > > On Sat, Dec 18, 2010 at 7:26 PM, Tomas Matousek < > Tomas.Matousek at microsoft.com> wrote: > >> Isn''t "no such file to load -- rubygems/defaults/operating_system" >> exception caught somewhere? >> >> I think this exception is common. >> >> >> >> Tomas >> >> >> ------------------------------ >> *From:* ironruby-core-bounces at rubyforge.org [ >> ironruby-core-bounces at rubyforge.org] on behalf of Shay Friedman [ >> shay.friedman at gmail.com] >> *Sent:* Saturday, December 18, 2010 6:18 AM >> >> *To:* ironruby-core at rubyforge.org >> *Subject:* Re: [Ironruby-core] Any coming IronRuby releases fixing igem >> this year? >> >> My repo is synced with the recent changes and I still get the same >> error (which originates from a different one as I stated above)... >> >> Shay. >> >> >> >> On Sat, Dec 18, 2010 at 12:09 PM, Mohamed Meligy <eng.meligy at gmail.com>wrote: >> >>> @Tomas, >>> Thanks a lot. I''m checking that now. >>> >>> @Shay >>> Can you please confirm your repo is in sync and see if the problem is >>> still the same for you? >>> I''ll be checking too, but if I get issues, will not be sure it''s code >>> issue not me missing an instruction or so. >>> >>> Thanks a lot everyone. >>> >>> Regards, >>> >>> >>> >>> *Mohamed Meligy >>> *Readify | Senior Developer >>> >>> M:+61 451 835006 | W: www.readify.net >>> [image: Description: Description: Description: Description: rss_16] [image: >>> Description: Description: Description: Description: >>> cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> >>> [image: Description: Description: Description: Description: >>> cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> >>> <http://www.greatplacetowork.com.au/best/best-companies-australia.php><http://www.readify.net/AboutUs/NewsItem.aspx?id=10> >>> >>> >>> >>> On Sat, Dec 18, 2010 at 4:32 AM, Tomas Matousek < >>> Tomas.Matousek at microsoft.com> wrote: >>> >>>> The fix is already checked into the main. So if there is still any >>>> problem it''s another bug. >>>> >>>> >>>> >>>> Build instructions are here: >>>> >>>> >>>> >>>> http://github.com/IronLanguages/main/wiki/Building >>>> >>>> >>>> >>>> let me know if anything there is not clear or doesn''t work. >>>> >>>> >>>> >>>> Tomas >>>> >>>> >>>> ------------------------------ >>>> *From:* ironruby-core-bounces at rubyforge.org [ >>>> ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ >>>> eng.meligy at gmail.com] >>>> *Sent:* Friday, December 17, 2010 6:05 AM >>>> >>>> *To:* ironruby-core at rubyforge.org >>>> *Subject:* Re: [Ironruby-core] Any coming IronRuby releases fixing >>>> igem this year? >>>> >>>> @Tomas, if it works on your local machine, maybe it''s worth checking >>>> it out and having a 1.1.2 release. >>>> If your local repository is in sync already, then maybe there is some >>>> other issues that needs to be fixed. >>>> >>>> If this is easy as repositories sync issue of existing working fix or >>>> so, would really appreciate a 1.1.2 update. I''m new to Ruby and Rails and >>>> would love to try the IronRuby Rails integration even better with Visual >>>> Studio. >>>> >>>> I''m kind of lost in the source too. Not sure which VS solutions I >>>> should build and where the output Ruby\bin kind-of-directory would then be, >>>> neither how to get the MSI file for VS tools. >>>> Will be great if there is some explanation to this (forgive me if it''s >>>> some readme already in the source), or else, then another release will be >>>> much easier to deal with. >>>> >>>> >>>> Thanks a lot. >>>> >>>> >>>> Regards, >>>> >>>> >>>> >>>> *Mohamed Meligy >>>> *Readify | Senior Developer >>>> >>>> M:+61 451 835006 | W: www.readify.net >>>> [image: Description: Description: Description: Description: rss_16] [image: >>>> Description: Description: Description: Description: >>>> cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> >>>> [image: Description: Description: Description: Description: >>>> cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> >>>> <http://www.greatplacetowork.com.au/best/best-companies-australia.php><http://www.readify.net/AboutUs/NewsItem.aspx?id=10> >>>> >>>> >>>> >>>> On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg < >>>> albertjan at curit.com> wrote: >>>> >>>>> Hey, >>>>> >>>>> >>>>> >>>>> I looked into this also and read_nonblock will still return 0 bytes >>>>> sometimes. I made a small hack in SocketStream.cs that forces the socket to >>>>> return more than 0 bytes. >>>>> >>>>> >>>>> >>>>> *if* (bytesToRead > 0) { >>>>> >>>>> while(oldPos == _pos) { >>>>> >>>>> _pos += _socket.Receive(readBuffer, bytesToRead, >>>>> SocketFlags.None); >>>>> >>>>> } >>>>> >>>>> } >>>>> >>>>> >>>>> >>>>> I know this is absolutely not the way to fix it but it does specify the >>>>> source of the exception maybe a bit better. >>>>> >>>>> >>>>> >>>>> Regards, >>>>> >>>>> >>>>> >>>>> Albert-Jan >>>>> >>>>> >>>>> >>>>> *Van:* ironruby-core-bounces at rubyforge.org [mailto: >>>>> ironruby-core-bounces at rubyforge.org] *Namens *Tomas Matousek >>>>> *Verzonden:* vrijdag 17 december 2010 9:14 >>>>> *Aan:* ironruby-core at rubyforge.org >>>>> *Onderwerp:* Re: [Ironruby-core] Any coming IronRuby releases fixing >>>>> igem this year? >>>>> >>>>> >>>>> >>>>> I believe I fixed this in main. So if you download the sources and >>>>> build it should work. >>>>> >>>>> Let me know if it works for you. Maybe we should do a 1.1.2 release >>>>> soon - it should be pretty easy - it might ease adoption of 1.1. >>>>> >>>>> >>>>> >>>>> Tomas >>>>> >>>>> >>>>> ------------------------------ >>>>> >>>>> *From:* ironruby-core-bounces at rubyforge.org [ >>>>> ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ >>>>> eng.meligy at gmail.com] >>>>> *Sent:* Thursday, December 16, 2010 4:29 PM >>>>> *To:* ironruby-core at rubyforge.org >>>>> *Subject:* [Ironruby-core] Any coming IronRuby releases fixing igem >>>>> this year? >>>>> >>>>> Hello all, >>>>> >>>>> I noticed IronRuby 1.1.1 has problems in igem where it fails to >>>>> installs gems due to some conversion issue from nil to string. IronRuby 1.0 >>>>> is compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. >>>>> >>>>> >>>>> >>>>> I''m interested in learning Rails 3.0 on IronRuby and see how I can >>>>> integrate .NET stuff with that. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> So, is there any coming patch release or even git code push that solves >>>>> the igem issues? >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Will be great if I get something to play with in Christmas holidays, >>>>> but this might be very unrealistic anyway. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Thanks a lot. >>>>> >>>>> >>>>> >>>>> Regards, >>>>> >>>>> >>>>> >>>>> *Mohamed Meligy >>>>> *Readify | Senior Developer >>>>> >>>>> M:+61 451 835006 | W: www.readify.net >>>>> >>>>> [image: Beschrijving: Description: Description: Description: >>>>> Description: rss_16] [image: Beschrijving: Description: Description: >>>>> Description: Description: cid:image003.png at 01CAF81D.6A076510]<http://www.linkedin.com/in/meligy> >>>>> [image: Beschrijving: Description: Description: Description: >>>>> Description: cid:image005.png at 01CAF81D.6A076510]<http://twitter.com/meligy> >>>>> [image: Beschrijving: >>>>> http://gurustop.net/mail/signature/readify-50best.jpg]<http://www.greatplacetowork.com.au/best/best-companies-australia.php>[image: >>>>> Beschrijving: http://gurustop.net/mail/signature/readify-partner2010.png]<http://www.readify.net/AboutUs/NewsItem.aspx?id=10> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Ironruby-core mailing list >>>>> Ironruby-core at rubyforge.org >>>>> http://rubyforge.org/mailman/listinfo/ironruby-core >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Ironruby-core mailing list >>>> Ironruby-core at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/ironruby-core >>>> >>>> >>> >>> _______________________________________________ >>> Ironruby-core mailing list >>> Ironruby-core at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/ironruby-core >>> >>> >> >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101221/dc85ad9d/attachment-0001.html>
Mohamed Meligy
2010-Dec-20 17:39 UTC
[Ironruby-core] Any coming IronRuby releases fixing igem this year?
Also, there are build errors when trying DLR.sln: Error 8 The best overloaded method match for ''IronRuby.Builtins.IListOps.Join(IronRuby.Runtime.JoinConversionStorage, System.Collections.IList, IronRuby.Builtins.MutableString)'' has some invalid arguments ....\Hosts\IronRuby.Rack\Src\Utils.cs 120 20 IronRuby.Rack (Hosts\IronRuby.Rack\IronRuby.Rack) Error 9 Argument 1: cannot convert from ''IronRuby.Runtime.ConversionStorage<IronRuby.Builtins.MutableString>'' to ''IronRuby.Runtime.JoinConversionStorage'' ...\Hosts\IronRuby.Rack\Src\Utils.cs 121 17 IronRuby.Rack (Hosts\IronRuby.Rack\IronRuby.Rack) *Mohamed Meligy *Readify | Senior Developer M:+61 451 835006 | W: www.readify.net [image: Description: Description: Description: Description: rss_16] [image: Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [image: Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> <http://www.greatplacetowork.com.au/best/best-companies-australia.php><http://www.readify.net/AboutUs/NewsItem.aspx?id=10> On Tue, Dec 21, 2010 at 4:37 AM, Mohamed Meligy <eng.meligy at gmail.com>wrote:> Tried to sync my local copy again, and building from source. There is > updated code, but the same error > > 1. I tried building every solution in the "\Solutions" folder. > 2. Copied "\Languages\Ruby\Scripts\bin" *.bat files to "\bin\debug". > 3. Started a console window in "\bin\debug". > 4. Entered "igem install rails". > > > Error: > > ERROR: While executing gem ... (TypeError) > > can''t convert NilClass into String > > > > *Mohamed Meligy > *Readify | Senior Developer > > M:+61 451 835006 | W: www.readify.net > [image: Description: Description: Description: Description: rss_16] [image: > Description: Description: Description: Description: > cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [image: > Description: Description: Description: Description: > cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> > <http://www.greatplacetowork.com.au/best/best-companies-australia.php><http://www.readify.net/AboutUs/NewsItem.aspx?id=10> > > > > On Mon, Dec 20, 2010 at 6:36 PM, Tomas Matousek < > Tomas.Matousek at microsoft.com> wrote: > >> That should still be ok, I think :). If the problem is here >> (Languages\Ruby\StdLib\ruby\1.9.1\net\protocol.rb): >> >> >> >> def rbuf_fill >> >> begin >> >> @rbuf << @io.read_nonblock(BUFSIZE) >> >> rescue IO::WaitReadable >> >> if IO.select([@io], nil, nil, @read_timeout) >> >> retry >> >> else >> >> raise Timeout::Error >> >> end >> >> rescue IO::WaitWritable >> >> # OpenSSL::Buffering#read_nonblock may fail with IO::WaitWritable. >> >> # http://www.openssl.org/support/faq.html#PROG10 >> >> if IO.select(nil, [@io], nil, @read_timeout) >> >> retry >> >> else >> >> raise Timeout::Error >> >> end >> >> end >> >> end >> >> >> >> Then such an exception should be caught as IO::WaitReadable. The problem >> would be if the method returned nil instead of throwing an exception. >> >> >> >> Tomas >> >> >> ------------------------------ >> *From:* ironruby-core-bounces at rubyforge.org [ >> ironruby-core-bounces at rubyforge.org] on behalf of Shay Friedman [ >> shay.friedman at gmail.com] >> *Sent:* Sunday, December 19, 2010 1:19 AM >> >> *To:* ironruby-core at rubyforge.org >> *Subject:* Re: [Ironruby-core] Any coming IronRuby releases fixing igem >> this year? >> >> You''re right, there''re more exceptions afterwards. >> >> The exception I suspect that causes the problems is on SocketStream, >> line 90: >> "A non-blocking socket operation could not be completed immediately". >> >> What do you think? >> >> Shay. >> >> >> >> On Sat, Dec 18, 2010 at 7:26 PM, Tomas Matousek < >> Tomas.Matousek at microsoft.com> wrote: >> >>> Isn''t "no such file to load -- rubygems/defaults/operating_system" >>> exception caught somewhere? >>> >>> I think this exception is common. >>> >>> >>> >>> Tomas >>> >>> >>> ------------------------------ >>> *From:* ironruby-core-bounces at rubyforge.org [ >>> ironruby-core-bounces at rubyforge.org] on behalf of Shay Friedman [ >>> shay.friedman at gmail.com] >>> *Sent:* Saturday, December 18, 2010 6:18 AM >>> >>> *To:* ironruby-core at rubyforge.org >>> *Subject:* Re: [Ironruby-core] Any coming IronRuby releases fixing igem >>> this year? >>> >>> My repo is synced with the recent changes and I still get the same >>> error (which originates from a different one as I stated above)... >>> >>> Shay. >>> >>> >>> >>> On Sat, Dec 18, 2010 at 12:09 PM, Mohamed Meligy <eng.meligy at gmail.com>wrote: >>> >>>> @Tomas, >>>> Thanks a lot. I''m checking that now. >>>> >>>> @Shay >>>> Can you please confirm your repo is in sync and see if the problem is >>>> still the same for you? >>>> I''ll be checking too, but if I get issues, will not be sure it''s code >>>> issue not me missing an instruction or so. >>>> >>>> Thanks a lot everyone. >>>> >>>> Regards, >>>> >>>> >>>> >>>> *Mohamed Meligy >>>> *Readify | Senior Developer >>>> >>>> M:+61 451 835006 | W: www.readify.net >>>> [image: Description: Description: Description: Description: rss_16] [image: >>>> Description: Description: Description: Description: >>>> cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> >>>> [image: Description: Description: Description: Description: >>>> cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> >>>> <http://www.greatplacetowork.com.au/best/best-companies-australia.php><http://www.readify.net/AboutUs/NewsItem.aspx?id=10> >>>> >>>> >>>> >>>> On Sat, Dec 18, 2010 at 4:32 AM, Tomas Matousek < >>>> Tomas.Matousek at microsoft.com> wrote: >>>> >>>>> The fix is already checked into the main. So if there is still any >>>>> problem it''s another bug. >>>>> >>>>> >>>>> >>>>> Build instructions are here: >>>>> >>>>> >>>>> >>>>> http://github.com/IronLanguages/main/wiki/Building >>>>> >>>>> >>>>> >>>>> let me know if anything there is not clear or doesn''t work. >>>>> >>>>> >>>>> >>>>> Tomas >>>>> >>>>> >>>>> ------------------------------ >>>>> *From:* ironruby-core-bounces at rubyforge.org [ >>>>> ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ >>>>> eng.meligy at gmail.com] >>>>> *Sent:* Friday, December 17, 2010 6:05 AM >>>>> >>>>> *To:* ironruby-core at rubyforge.org >>>>> *Subject:* Re: [Ironruby-core] Any coming IronRuby releases fixing >>>>> igem this year? >>>>> >>>>> @Tomas, if it works on your local machine, maybe it''s worth >>>>> checking it out and having a 1.1.2 release. >>>>> If your local repository is in sync already, then maybe there is some >>>>> other issues that needs to be fixed. >>>>> >>>>> If this is easy as repositories sync issue of existing working fix or >>>>> so, would really appreciate a 1.1.2 update. I''m new to Ruby and Rails and >>>>> would love to try the IronRuby Rails integration even better with Visual >>>>> Studio. >>>>> >>>>> I''m kind of lost in the source too. Not sure which VS solutions I >>>>> should build and where the output Ruby\bin kind-of-directory would then be, >>>>> neither how to get the MSI file for VS tools. >>>>> Will be great if there is some explanation to this (forgive me if it''s >>>>> some readme already in the source), or else, then another release will be >>>>> much easier to deal with. >>>>> >>>>> >>>>> Thanks a lot. >>>>> >>>>> >>>>> Regards, >>>>> >>>>> >>>>> >>>>> *Mohamed Meligy >>>>> *Readify | Senior Developer >>>>> >>>>> M:+61 451 835006 | W: www.readify.net >>>>> [image: Description: Description: Description: Description: rss_16] [image: >>>>> Description: Description: Description: Description: >>>>> cid:image003.png at 01CAF81D.6A076510]<http://www.linkedin.com/in/meligy> >>>>> [image: Description: Description: Description: Description: >>>>> cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> >>>>> <http://www.greatplacetowork.com.au/best/best-companies-australia.php><http://www.readify.net/AboutUs/NewsItem.aspx?id=10> >>>>> >>>>> >>>>> >>>>> On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg < >>>>> albertjan at curit.com> wrote: >>>>> >>>>>> Hey, >>>>>> >>>>>> >>>>>> >>>>>> I looked into this also and read_nonblock will still return 0 bytes >>>>>> sometimes. I made a small hack in SocketStream.cs that forces the socket to >>>>>> return more than 0 bytes. >>>>>> >>>>>> >>>>>> >>>>>> *if* (bytesToRead > 0) { >>>>>> >>>>>> while(oldPos == _pos) { >>>>>> >>>>>> _pos += _socket.Receive(readBuffer, bytesToRead, >>>>>> SocketFlags.None); >>>>>> >>>>>> } >>>>>> >>>>>> } >>>>>> >>>>>> >>>>>> >>>>>> I know this is absolutely not the way to fix it but it does specify >>>>>> the source of the exception maybe a bit better. >>>>>> >>>>>> >>>>>> >>>>>> Regards, >>>>>> >>>>>> >>>>>> >>>>>> Albert-Jan >>>>>> >>>>>> >>>>>> >>>>>> *Van:* ironruby-core-bounces at rubyforge.org [mailto: >>>>>> ironruby-core-bounces at rubyforge.org] *Namens *Tomas Matousek >>>>>> *Verzonden:* vrijdag 17 december 2010 9:14 >>>>>> *Aan:* ironruby-core at rubyforge.org >>>>>> *Onderwerp:* Re: [Ironruby-core] Any coming IronRuby releases fixing >>>>>> igem this year? >>>>>> >>>>>> >>>>>> >>>>>> I believe I fixed this in main. So if you download the sources and >>>>>> build it should work. >>>>>> >>>>>> Let me know if it works for you. Maybe we should do a 1.1.2 release >>>>>> soon - it should be pretty easy - it might ease adoption of 1.1. >>>>>> >>>>>> >>>>>> >>>>>> Tomas >>>>>> >>>>>> >>>>>> ------------------------------ >>>>>> >>>>>> *From:* ironruby-core-bounces at rubyforge.org [ >>>>>> ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [ >>>>>> eng.meligy at gmail.com] >>>>>> *Sent:* Thursday, December 16, 2010 4:29 PM >>>>>> *To:* ironruby-core at rubyforge.org >>>>>> *Subject:* [Ironruby-core] Any coming IronRuby releases fixing igem >>>>>> this year? >>>>>> >>>>>> Hello all, >>>>>> >>>>>> I noticed IronRuby 1.1.1 has problems in igem where it fails to >>>>>> installs gems due to some conversion issue from nil to string. IronRuby 1.0 >>>>>> is compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. >>>>>> >>>>>> >>>>>> >>>>>> I''m interested in learning Rails 3.0 on IronRuby and see how I can >>>>>> integrate .NET stuff with that. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> So, is there any coming patch release or even git code push that >>>>>> solves the igem issues? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Will be great if I get something to play with in Christmas holidays, >>>>>> but this might be very unrealistic anyway. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Thanks a lot. >>>>>> >>>>>> >>>>>> >>>>>> Regards, >>>>>> >>>>>> >>>>>> >>>>>> *Mohamed Meligy >>>>>> *Readify | Senior Developer >>>>>> >>>>>> M:+61 451 835006 | W: www.readify.net >>>>>> >>>>>> [image: Beschrijving: Description: Description: Description: >>>>>> Description: rss_16] [image: Beschrijving: Description: Description: >>>>>> Description: Description: cid:image003.png at 01CAF81D.6A076510]<http://www.linkedin.com/in/meligy> >>>>>> [image: Beschrijving: Description: Description: Description: >>>>>> Description: cid:image005.png at 01CAF81D.6A076510]<http://twitter.com/meligy> >>>>>> [image: Beschrijving: >>>>>> http://gurustop.net/mail/signature/readify-50best.jpg]<http://www.greatplacetowork.com.au/best/best-companies-australia.php>[image: >>>>>> Beschrijving: http://gurustop.net/mail/signature/readify-partner2010.png]<http://www.readify.net/AboutUs/NewsItem.aspx?id=10> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Ironruby-core mailing list >>>>>> Ironruby-core at rubyforge.org >>>>>> http://rubyforge.org/mailman/listinfo/ironruby-core >>>>>> >>>>>> >>>>> >>>>> _______________________________________________ >>>>> Ironruby-core mailing list >>>>> Ironruby-core at rubyforge.org >>>>> http://rubyforge.org/mailman/listinfo/ironruby-core >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Ironruby-core mailing list >>>> Ironruby-core at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/ironruby-core >>>> >>>> >>> >>> _______________________________________________ >>> Ironruby-core mailing list >>> Ironruby-core at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/ironruby-core >>> >>> >> >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101221/9c67cb0a/attachment-0001.html>
Tomas Matousek
2010-Dec-22 23:03 UTC
[Ironruby-core] Any coming IronRuby releases fixing igem this year?
I was able to repro this issue on my laptop and will check in a fix soon. Albert-Jan was right, the problem was in SocketStream.cs though the solution is to remove most of the code there rather then add any. I have no idea what was it supposed to achieve but it seems the class is a bit overengineered. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Mohamed Meligy [eng.meligy at gmail.com] Sent: Monday, December 20, 2010 9:37 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? Tried to sync my local copy again, and building from source. There is updated code, but the same error 1. I tried building every solution in the "\Solutions" folder. 2. Copied "\Languages\Ruby\Scripts\bin" *.bat files to "\bin\debug". 3. Started a console window in "\bin\debug". 4. Entered "igem install rails". Error: ERROR: While executing gem ... (TypeError) can''t convert NilClass into String Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net<http://www.readify.net/> [Description: Description: Description: Description: rss_16] [Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> [http://gurustop.net/mail/signature/readify-50best.jpg]<http://www.greatplacetowork.com.au/best/best-companies-australia.php>[http://gurustop.net/mail/signature/readify-partner2010.png]<http://www.readify.net/AboutUs/NewsItem.aspx?id=10> On Mon, Dec 20, 2010 at 6:36 PM, Tomas Matousek <Tomas.Matousek at microsoft.com<mailto:Tomas.Matousek at microsoft.com>> wrote: That should still be ok, I think :). If the problem is here (Languages\Ruby\StdLib\ruby\1.9.1\net\protocol.rb): def rbuf_fill begin @rbuf << @io.read_nonblock(BUFSIZE) rescue IO::WaitReadable if IO.select([@io], nil, nil, @read_timeout) retry else raise Timeout::Error end rescue IO::WaitWritable # OpenSSL::Buffering#read_nonblock may fail with IO::WaitWritable. # http://www.openssl.org/support/faq.html#PROG10 if IO.select(nil, [@io], nil, @read_timeout) retry else raise Timeout::Error end end end Then such an exception should be caught as IO::WaitReadable. The problem would be if the method returned nil instead of throwing an exception. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] on behalf of Shay Friedman [shay.friedman at gmail.com<mailto:shay.friedman at gmail.com>] Sent: Sunday, December 19, 2010 1:19 AM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? You''re right, there''re more exceptions afterwards. The exception I suspect that causes the problems is on SocketStream, line 90: "A non-blocking socket operation could not be completed immediately". What do you think? Shay. On Sat, Dec 18, 2010 at 7:26 PM, Tomas Matousek <Tomas.Matousek at microsoft.com<mailto:Tomas.Matousek at microsoft.com>> wrote: Isn''t "no such file to load -- rubygems/defaults/operating_system" exception caught somewhere? I think this exception is common. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] on behalf of Shay Friedman [shay.friedman at gmail.com<mailto:shay.friedman at gmail.com>] Sent: Saturday, December 18, 2010 6:18 AM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? My repo is synced with the recent changes and I still get the same error (which originates from a different one as I stated above)... Shay. On Sat, Dec 18, 2010 at 12:09 PM, Mohamed Meligy <eng.meligy at gmail.com<mailto:eng.meligy at gmail.com>> wrote: @Tomas, Thanks a lot. I''m checking that now. @Shay Can you please confirm your repo is in sync and see if the problem is still the same for you? I''ll be checking too, but if I get issues, will not be sure it''s code issue not me missing an instruction or so. Thanks a lot everyone. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net<http://www.readify.net/> [Description: Description: Description: Description: rss_16] [Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> [X]<http://www.greatplacetowork.com.au/best/best-companies-australia.php>[X]<http://www.readify.net/AboutUs/NewsItem.aspx?id=10> On Sat, Dec 18, 2010 at 4:32 AM, Tomas Matousek <Tomas.Matousek at microsoft.com<mailto:Tomas.Matousek at microsoft.com>> wrote: The fix is already checked into the main. So if there is still any problem it''s another bug. Build instructions are here: http://github.com/IronLanguages/main/wiki/Building let me know if anything there is not clear or doesn''t work. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] on behalf of Mohamed Meligy [eng.meligy at gmail.com<mailto:eng.meligy at gmail.com>] Sent: Friday, December 17, 2010 6:05 AM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? @Tomas, if it works on your local machine, maybe it''s worth checking it out and having a 1.1.2 release. If your local repository is in sync already, then maybe there is some other issues that needs to be fixed. If this is easy as repositories sync issue of existing working fix or so, would really appreciate a 1.1.2 update. I''m new to Ruby and Rails and would love to try the IronRuby Rails integration even better with Visual Studio. I''m kind of lost in the source too. Not sure which VS solutions I should build and where the output Ruby\bin kind-of-directory would then be, neither how to get the MSI file for VS tools. Will be great if there is some explanation to this (forgive me if it''s some readme already in the source), or else, then another release will be much easier to deal with. Thanks a lot. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net<http://www.readify.net/> [Description: Description: Description: Description: rss_16] [Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> [X]<http://www.greatplacetowork.com.au/best/best-companies-australia.php>[X]<http://www.readify.net/AboutUs/NewsItem.aspx?id=10> On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg <albertjan at curit.com<mailto:albertjan at curit.com>> wrote: Hey, I looked into this also and read_nonblock will still return 0 bytes sometimes. I made a small hack in SocketStream.cs that forces the socket to return more than 0 bytes. if (bytesToRead > 0) { while(oldPos == _pos) { _pos += _socket.Receive(readBuffer, bytesToRead, SocketFlags.None); } } I know this is absolutely not the way to fix it but it does specify the source of the exception maybe a bit better. Regards, Albert-Jan Van: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] Namens Tomas Matousek Verzonden: vrijdag 17 december 2010 9:14 Aan: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Onderwerp: Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year? I believe I fixed this in main. So if you download the sources and build it should work. Let me know if it works for you. Maybe we should do a 1.1.2 release soon - it should be pretty easy - it might ease adoption of 1.1. Tomas ________________________________ From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] on behalf of Mohamed Meligy [eng.meligy at gmail.com<mailto:eng.meligy at gmail.com>] Sent: Thursday, December 16, 2010 4:29 PM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: [Ironruby-core] Any coming IronRuby releases fixing igem this year? Hello all, I noticed IronRuby 1.1.1 has problems in igem where it fails to installs gems due to some conversion issue from nil to string. IronRuby 1.0 is compatible with Ruby 1.8.x which can run Rails 2.x not Rails 3.0. I''m interested in learning Rails 3.0 on IronRuby and see how I can integrate .NET stuff with that. So, is there any coming patch release or even git code push that solves the igem issues? Will be great if I get something to play with in Christmas holidays, but this might be very unrealistic anyway. Thanks a lot. Regards, Mohamed Meligy Readify | Senior Developer M:+61 451 835006 | W: www.readify.net<http://www.readify.net/> [Beschrijving: Description: Description: Description: Description: rss_16] [Beschrijving: Description: Description: Description: Description: cid:image003.png at 01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> [Beschrijving: Description: Description: Description: Description: cid:image005.png at 01CAF81D.6A076510] <http://twitter.com/meligy> [Beschrijving: http://gurustop.net/mail/signature/readify-50best.jpg]<http://www.greatplacetowork.com.au/best/best-companies-australia.php>[Beschrijving: http://gurustop.net/mail/signature/readify-partner2010.png]<http://www.readify.net/AboutUs/NewsItem.aspx?id=10> _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101222/106c5f8b/attachment-0001.html>
Eduardo Blumenfeld
2011-Jan-01 18:01 UTC
[Ironruby-core] Any coming IronRuby releases fixing igem this year?
Hope the holiday was relaxing to all. Is there any news about the fix for the gems? Maybe a 1.1.2 version? Regards to all... Eduardo Tomas Matousek wrote in post #970167:> I was able to repro this issue on my laptop and will check in a fix > soon. > > Albert-Jan was right, the problem was in SocketStream.cs though the > solution is to remove most of the code there rather then add any. I have > no idea what was it supposed to achieve but it seems the class is a bit > overengineered. > > > > Tomas >-- Posted via http://www.ruby-forum.com/.