Gems fetching failed

View: New views
7 Messages — Rating Filter:   Alert me  

Gems fetching failed

by Chris Kutler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am having a problem with the RC releases. When I open the Ruby Gems manager I get an Error dialog box that says:

Gems fetching failed

See troubleshooting section in http://wiki.netbeans.org/RubyGems for help.

Follows output of the gem tool:

*** REMOTE GEMS ***

Error: While executing gem ... (EOFError)
End of file reached

The following works from the command line withou error

jruby -S gem list -r

Should I file a bug? Is there something I can do to stop this from happening

Re: Gems fetching failed

by Martin Krauskopf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chris Kutler wrote:

> Hi,
>
> I am having a problem with the RC releases. When I open the Ruby Gems
> manager I get an Error dialog box that says:
>
>     Gems fetching failed
>
>     See troubleshooting section in http://wiki.netbeans.org/RubyGems for
>     help.
>
>     Follows output of the gem tool:
>
>     *** REMOTE GEMS ***
>
>     Error: While executing gem ... (EOFError)
>     End of file reached
>
> The following works from the command line withou error
>
>     jruby -S gem list -r

Hi Chris,

does this work as well (at the same time when it does not work from
NetBeans):

   jruby -S gem list -r -d

? This is actually what NetBeans uses:

http://wiki.netbeans.org/RubyGems#section-RubyGems-GemsFetchingFailed

You might try to uncheck checkboxes in the Settings tab in the Gem Manager.

        m.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Gems fetching failed

by Chris Kutler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ah ha!

When I use jruby -S gem list -r -d  from the command line I get the
error message.

I also see that I get a similar error for C Ruby ("marshall data too short")

Unchecking the -d checkbox works.

I will try to create a FAQ and update the RubyGems wiki page later today.

Unfortunately, first time users probably won't find this info and get
frustrated. Sigh.



Martin Krauskopf wrote:

> Chris Kutler wrote:
>> Hi,
>>
>> I am having a problem with the RC releases. When I open the Ruby Gems
>> manager I get an Error dialog box that says:
>>
>>     Gems fetching failed
>>
>>     See troubleshooting section in http://wiki.netbeans.org/RubyGems for
>>     help.
>>
>>     Follows output of the gem tool:
>>
>>     *** REMOTE GEMS ***
>>
>>     Error: While executing gem ... (EOFError)
>>     End of file reached
>>
>> The following works from the command line withou error
>>
>>     jruby -S gem list -r
>
> Hi Chris,
>
> does this work as well (at the same time when it does not work from
> NetBeans):
>
>   jruby -S gem list -r -d
>
> ? This is actually what NetBeans uses:
>
> http://wiki.netbeans.org/RubyGems#section-RubyGems-GemsFetchingFailed
>
> You might try to uncheck checkboxes in the Settings tab in the Gem
> Manager.
>
>     m.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Gems fetching failed

by Martin Krauskopf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chris Kutler wrote:

> ah ha!
>
> When I use jruby -S gem list -r -d  from the command line I get the
> error message.
>
> I also see that I get a similar error for C Ruby ("marshall data too
> short")
>
> Unchecking the -d checkbox works.
>
> I will try to create a FAQ and update the RubyGems wiki page later today.

Probably best will be to tweak the "Gems fetching fails in the Gem
Manager" at:

http://wiki.netbeans.org/RubyFAQ#section-RubyFAQ-RubyGems

It actually points to:

http://wiki.netbeans.org/RubyGems#section-RubyGems-GemsFetchingFailed

So updating that Troubleshooting section. I'll do this if you will not.
After I fix in-progress P1.

> Unfortunately, first time users probably won't find this info and get
> frustrated. Sigh.

This is "bug" in the RubyGems or rubyforge.org site. Should get better
as the tool/site evolves. If you have any idea what we can do better,
they are welcomed, as always.

I'm planning to make the first fetch without descriptions and then later
fetch descriptions lazily for 7.0. So Gem Manager is usable almost
immediately then.

        m.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Gems fetching failed

by Martin Krauskopf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Martin Krauskopf wrote:

> Chris Kutler wrote:
>> ah ha!
>>
>> When I use jruby -S gem list -r -d  from the command line I get the
>> error message.
>>
>> I also see that I get a similar error for C Ruby ("marshall data too
>> short")
>>
>> Unchecking the -d checkbox works.
>>
>> I will try to create a FAQ and update the RubyGems wiki page later today.
>
> Probably best will be to tweak the "Gems fetching fails in the Gem
> Manager" at:
>
> http://wiki.netbeans.org/RubyFAQ#section-RubyFAQ-RubyGems
>
> It actually points to:
>
> http://wiki.netbeans.org/RubyGems#section-RubyGems-GemsFetchingFailed
>
> So updating that Troubleshooting section. I'll do this if you will not.

Actually there is already section:

http://wiki.netbeans.org/RubyGems#section-RubyGems-TweakingGemManagerBehaviour

So it should be enough to just getting/linking it together in better way.

        m.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Gems fetching failed

by Chris Kutler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Martin,

I have to leave for awhile. If you don't get around to making the
changes, I can do it when I return.

Thanks

C

Martin Krauskopf wrote:

> Chris Kutler wrote:
>> ah ha!
>>
>> When I use jruby -S gem list -r -d  from the command line I get the
>> error message.
>>
>> I also see that I get a similar error for C Ruby ("marshall data too
>> short")
>>
>> Unchecking the -d checkbox works.
>>
>> I will try to create a FAQ and update the RubyGems wiki page later
>> today.
>
> Probably best will be to tweak the "Gems fetching fails in the Gem
> Manager" at:
>
> http://wiki.netbeans.org/RubyFAQ#section-RubyFAQ-RubyGems
>
> It actually points to:
>
> http://wiki.netbeans.org/RubyGems#section-RubyGems-GemsFetchingFailed
>
> So updating that Troubleshooting section. I'll do this if you will
> not. After I fix in-progress P1.
>
>> Unfortunately, first time users probably won't find this info and get
>> frustrated. Sigh.
>
> This is "bug" in the RubyGems or rubyforge.org site. Should get better
> as the tool/site evolves. If you have any idea what we can do better,
> they are welcomed, as always.
>
> I'm planning to make the first fetch without descriptions and then
> later fetch descriptions lazily for 7.0. So Gem Manager is usable
> almost immediately then.
>
>     m.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Gems fetching failed

by Martin Krauskopf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chris Kutler wrote:
> Hi Martin,
>
> I have to leave for awhile. If you don't get around to making the
> changes, I can do it when I return.

I've updated the troubleshooting section:

http://wiki.netbeans.org/RubyGems#section-RubyGems-GemsFetchingFailed

        m.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...