Forum: IronRuby Re: Any coming IronRuby releases fixing igem this year?

Posted by Albert-Jan Pieter Nijburg (Guest)
on 2010-12-17 11:19
Attachment: image001.png (1,19 KB)
Attachment: image002.png (1,14 KB)
Attachment: image003.png (1,02 KB)
Attachment: image004.jpg (6,16 KB)
Attachment: image005.png (19,8 KB)
(Received via mailing list)
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
Posted by Mohamed Meligy (Guest)
on 2010-12-17 15:16
Attachment: image003.png (1,02 KB)
Attachment: image001.png (1,19 KB)
Attachment: image002.png (1,14 KB)
Attachment: image004.jpg (6,16 KB)
Attachment: image005.png (19,8 KB)
(Received via mailing list)
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
Posted by Tomas Matousek (Guest)
on 2010-12-17 18:35
Attachment: image003.png (1,02 KB)
Attachment: image001.png (1,19 KB)
Attachment: image002.png (1,14 KB)
Attachment: image004.jpg (6,16 KB)
Attachment: image005.png (19,8 KB)
(Received via mailing list)
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
Posted by Mohamed Meligy (Guest)
on 2010-12-18 12:27
Attachment: image002.png (1,14 KB)
Attachment: image005.png (19,8 KB)
Attachment: image004.jpg (6,16 KB)
Attachment: image001.png (1,19 KB)
Attachment: image003.png (1,02 KB)
(Received via mailing list)
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
Posted by Shay Friedman (shayfriedman)
on 2010-12-18 15:25
(Received via mailing list)
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.
Posted by Tomas Matousek (Guest)
on 2010-12-18 18:31
(Received via mailing list)
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@rubyforge.org 
[ironruby-core-bounces@rubyforge.org] on behalf of Shay Friedman 
[shay.friedman@gmail.com]
Sent: Saturday, December 18, 2010 6:18 AM
To: ironruby-core@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@gmail.com<mailto:eng.meligy@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@01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> 
[Description: Description: Description: Description: 
cid:image005.png@01CAF81D.6A076510] <http://twitter.com/meligy>
[X]<http://www.greatplacetowork.com.au/best/best-compa...



On Sat, Dec 18, 2010 at 4:32 AM, Tomas Matousek 
<Tomas.Matousek@microsoft.com<mailto:Tomas.Matousek@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@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org> 
[ironruby-core-bounces@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org>] 
on behalf of Mohamed Meligy 
[eng.meligy@gmail.com<mailto:eng.meligy@gmail.com>]
Sent: Friday, December 17, 2010 6:05 AM

To: ironruby-core@rubyforge.org<mailto:ironruby-core@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@01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> 
[Description: Description: Description: Description: 
cid:image005.png@01CAF81D.6A076510] <http://twitter.com/meligy>
[X]<http://www.greatplacetowork.com.au/best/best-compa...



On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg 
<albertjan@curit.com<mailto:albertjan@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@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org> 
[mailto:ironruby-core-bounces@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org>] 
Namens Tomas Matousek
Verzonden: vrijdag 17 december 2010 9:14
Aan: ironruby-core@rubyforge.org<mailto:ironruby-core@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@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org> 
[ironruby-core-bounces@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org>] 
on behalf of Mohamed Meligy 
[eng.meligy@gmail.com<mailto:eng.meligy@gmail.com>]
Sent: Thursday, December 16, 2010 4:29 PM
To: ironruby-core@rubyforge.org<mailto:ironruby-core@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@01CAF81D.6A076510] 
<http://www.linkedin.com/in/meligy>   [Beschrijving: Description: 
Description: Description: Description: 
cid:image005.png@01CAF81D.6A076510] <http://twitter.com/meligy>
[Beschrijving: 
http://gurustop.net/mail/signature/readify-50best.... 
http://gurustop.net/mail/signature/readify-partner...


_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core



_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core
Posted by Shay Friedman (shayfriedman)
on 2010-12-19 10:46
(Received via mailing list)
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 <
Posted by Tomas Matousek (Guest)
on 2010-12-20 08:45
(Received via mailing list)
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@rubyforge.org 
[ironruby-core-bounces@rubyforge.org] on behalf of Shay Friedman 
[shay.friedman@gmail.com]
Sent: Sunday, December 19, 2010 1:19 AM
To: ironruby-core@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@microsoft.com<mailto:Tomas.Matousek@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@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org> 
[ironruby-core-bounces@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org>] 
on behalf of Shay Friedman 
[shay.friedman@gmail.com<mailto:shay.friedman@gmail.com>]
Sent: Saturday, December 18, 2010 6:18 AM

To: ironruby-core@rubyforge.org<mailto:ironruby-core@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@gmail.com<mailto:eng.meligy@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@01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> 
[Description: Description: Description: Description: 
cid:image005.png@01CAF81D.6A076510] <http://twitter.com/meligy>
[X]<http://www.greatplacetowork.com.au/best/best-compa...



On Sat, Dec 18, 2010 at 4:32 AM, Tomas Matousek 
<Tomas.Matousek@microsoft.com<mailto:Tomas.Matousek@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@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org> 
[ironruby-core-bounces@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org>] 
on behalf of Mohamed Meligy 
[eng.meligy@gmail.com<mailto:eng.meligy@gmail.com>]
Sent: Friday, December 17, 2010 6:05 AM

To: ironruby-core@rubyforge.org<mailto:ironruby-core@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@01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> 
[Description: Description: Description: Description: 
cid:image005.png@01CAF81D.6A076510] <http://twitter.com/meligy>
[X]<http://www.greatplacetowork.com.au/best/best-compa...



On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg 
<albertjan@curit.com<mailto:albertjan@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@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org> 
[mailto:ironruby-core-bounces@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org>] 
Namens Tomas Matousek
Verzonden: vrijdag 17 december 2010 9:14
Aan: ironruby-core@rubyforge.org<mailto:ironruby-core@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@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org> 
[ironruby-core-bounces@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org>] 
on behalf of Mohamed Meligy 
[eng.meligy@gmail.com<mailto:eng.meligy@gmail.com>]
Sent: Thursday, December 16, 2010 4:29 PM
To: ironruby-core@rubyforge.org<mailto:ironruby-core@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@01CAF81D.6A076510] 
<http://www.linkedin.com/in/meligy>   [Beschrijving: Description: 
Description: Description: Description: 
cid:image005.png@01CAF81D.6A076510] <http://twitter.com/meligy>
[Beschrijving: 
http://gurustop.net/mail/signature/readify-50best.... 
http://gurustop.net/mail/signature/readify-partner...


_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core



_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core



_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core
Posted by Mohamed Meligy (mohamed_m)
on 2010-12-20 18:51
(Received via mailing list)
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@01CAF81D.6A076510]
<http://www.linkedin.com/in/meligy>  [image:
Description: Description: Description: Description:
cid:image005.png@01CAF81D.6A076510] <http://twitter.com/meligy>
 <http://www.greatplacetowork.com.au/best/best-compa...



On Mon, Dec 20, 2010 at 6:36 PM, Tomas Matousek <
Posted by Mohamed Meligy (mohamed_m)
on 2010-12-20 18:58
(Received via mailing list)
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@01CAF81D.6A076510]
<http://www.linkedin.com/in/meligy>  [image:
Description: Description: Description: Description:
cid:image005.png@01CAF81D.6A076510] <http://twitter.com/meligy>
 <http://www.greatplacetowork.com.au/best/best-compa...
Posted by Tomas Matousek (Guest)
on 2010-12-23 00:33
(Received via mailing list)
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@rubyforge.org 
[ironruby-core-bounces@rubyforge.org] on behalf of Mohamed Meligy 
[eng.meligy@gmail.com]
Sent: Monday, December 20, 2010 9:37 AM
To: ironruby-core@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@01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> 
[Description: Description: Description: Description: 
cid:image005.png@01CAF81D.6A076510] <http://twitter.com/meligy>
[http://gurustop.net/mail/signature/readify-50best....



On Mon, Dec 20, 2010 at 6:36 PM, Tomas Matousek 
<Tomas.Matousek@microsoft.com<mailto:Tomas.Matousek@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@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org> 
[ironruby-core-bounces@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org>] 
on behalf of Shay Friedman 
[shay.friedman@gmail.com<mailto:shay.friedman@gmail.com>]
Sent: Sunday, December 19, 2010 1:19 AM

To: ironruby-core@rubyforge.org<mailto:ironruby-core@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@microsoft.com<mailto:Tomas.Matousek@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@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org> 
[ironruby-core-bounces@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org>] 
on behalf of Shay Friedman 
[shay.friedman@gmail.com<mailto:shay.friedman@gmail.com>]
Sent: Saturday, December 18, 2010 6:18 AM

To: ironruby-core@rubyforge.org<mailto:ironruby-core@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@gmail.com<mailto:eng.meligy@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@01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> 
[Description: Description: Description: Description: 
cid:image005.png@01CAF81D.6A076510] <http://twitter.com/meligy>
[X]<http://www.greatplacetowork.com.au/best/best-compa...



On Sat, Dec 18, 2010 at 4:32 AM, Tomas Matousek 
<Tomas.Matousek@microsoft.com<mailto:Tomas.Matousek@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@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org> 
[ironruby-core-bounces@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org>] 
on behalf of Mohamed Meligy 
[eng.meligy@gmail.com<mailto:eng.meligy@gmail.com>]
Sent: Friday, December 17, 2010 6:05 AM

To: ironruby-core@rubyforge.org<mailto:ironruby-core@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@01CAF81D.6A076510] <http://www.linkedin.com/in/meligy> 
[Description: Description: Description: Description: 
cid:image005.png@01CAF81D.6A076510] <http://twitter.com/meligy>
[X]<http://www.greatplacetowork.com.au/best/best-compa...



On Fri, Dec 17, 2010 at 8:46 PM, Albert-Jan Pieter Nijburg 
<albertjan@curit.com<mailto:albertjan@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@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org> 
[mailto:ironruby-core-bounces@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org>] 
Namens Tomas Matousek
Verzonden: vrijdag 17 december 2010 9:14
Aan: ironruby-core@rubyforge.org<mailto:ironruby-core@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@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org> 
[ironruby-core-bounces@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org>] 
on behalf of Mohamed Meligy 
[eng.meligy@gmail.com<mailto:eng.meligy@gmail.com>]
Sent: Thursday, December 16, 2010 4:29 PM
To: ironruby-core@rubyforge.org<mailto:ironruby-core@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@01CAF81D.6A076510] 
<http://www.linkedin.com/in/meligy>   [Beschrijving: Description: 
Description: Description: Description: 
cid:image005.png@01CAF81D.6A076510] <http://twitter.com/meligy>
[Beschrijving: 
http://gurustop.net/mail/signature/readify-50best.... 
http://gurustop.net/mail/signature/readify-partner...


_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core



_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core



_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core



_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core
Posted by Eduardo Blumenfeld (eblumenfeld)
on 2011-01-01 19:01
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
>
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.