You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Travis Jensen (JIRA)" <ji...@apache.org> on 2010/08/28 00:44:54 UTC

[jira] Created: (BUILDR-498) Terminal issues can cause downloading of artifacts to fail with "negative argument"

Terminal issues can cause downloading of artifacts to fail with "negative argument"
-----------------------------------------------------------------------------------

                 Key: BUILDR-498
                 URL: https://issues.apache.org/jira/browse/BUILDR-498
             Project: Buildr
          Issue Type: Bug
          Components: Dependency management
    Affects Versions: 1.4.1
         Environment: OS X 10.6.4, Ruby 1.8.7, wget 1.12
            Reporter: Travis Jensen


When I add a new dependency that needs to be downloaded (this started with downloading ant from ibiblio and continued with jars from download.java.net), the download will fail with a "negative argument" message if I use a shell inside of emacs.  If I use Terminal.app or an Emacs term (which has full terminal capability), the download works fine.

You can see the trace of the failure at http://pastebin.com/u75s31jq

I'm fairly certain that wget is exploding for some reason when it tries to put up its progress bar and the terminal doesn't support it.  If I run wget directly from the shell, the file downloads fine, so it is related to how wget is called from buildr.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (BUILDR-498) Terminal issues can cause downloading of artifacts to fail with "negative argument"

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert reassigned BUILDR-498:
------------------------------------

    Assignee: Alex Boisvert

> Terminal issues can cause downloading of artifacts to fail with "negative argument"
> -----------------------------------------------------------------------------------
>
>                 Key: BUILDR-498
>                 URL: https://issues.apache.org/jira/browse/BUILDR-498
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.4.1
>         Environment: OS X 10.6.4, Ruby 1.8.7, wget 1.12
>            Reporter: Travis Jensen
>            Assignee: Alex Boisvert
>
> When I add a new dependency that needs to be downloaded (this started with downloading ant from ibiblio and continued with jars from download.java.net), the download will fail with a "negative argument" message if I use a shell inside of emacs.  If I use Terminal.app or an Emacs term (which has full terminal capability), the download works fine.
> You can see the trace of the failure at http://pastebin.com/u75s31jq
> I'm fairly certain that wget is exploding for some reason when it tries to put up its progress bar and the terminal doesn't support it.  If I run wget directly from the shell, the file downloads fine, so it is related to how wget is called from buildr.
> buildr runs fine in an emacs shell if it does not need to download a new dependency.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (BUILDR-498) Terminal issues can cause downloading of artifacts to fail with "negative argument"

Posted by "Travis Jensen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Travis Jensen updated BUILDR-498:
---------------------------------

    Description: 
When I add a new dependency that needs to be downloaded (this started with downloading ant from ibiblio and continued with jars from download.java.net), the download will fail with a "negative argument" message if I use a shell inside of emacs.  If I use Terminal.app or an Emacs term (which has full terminal capability), the download works fine.

You can see the trace of the failure at http://pastebin.com/u75s31jq

I'm fairly certain that wget is exploding for some reason when it tries to put up its progress bar and the terminal doesn't support it.  If I run wget directly from the shell, the file downloads fine, so it is related to how wget is called from buildr.

buildr runs fine in an emacs shell if it does not need to download a new dependency.

  was:
When I add a new dependency that needs to be downloaded (this started with downloading ant from ibiblio and continued with jars from download.java.net), the download will fail with a "negative argument" message if I use a shell inside of emacs.  If I use Terminal.app or an Emacs term (which has full terminal capability), the download works fine.

You can see the trace of the failure at http://pastebin.com/u75s31jq

I'm fairly certain that wget is exploding for some reason when it tries to put up its progress bar and the terminal doesn't support it.  If I run wget directly from the shell, the file downloads fine, so it is related to how wget is called from buildr.


> Terminal issues can cause downloading of artifacts to fail with "negative argument"
> -----------------------------------------------------------------------------------
>
>                 Key: BUILDR-498
>                 URL: https://issues.apache.org/jira/browse/BUILDR-498
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.4.1
>         Environment: OS X 10.6.4, Ruby 1.8.7, wget 1.12
>            Reporter: Travis Jensen
>
> When I add a new dependency that needs to be downloaded (this started with downloading ant from ibiblio and continued with jars from download.java.net), the download will fail with a "negative argument" message if I use a shell inside of emacs.  If I use Terminal.app or an Emacs term (which has full terminal capability), the download works fine.
> You can see the trace of the failure at http://pastebin.com/u75s31jq
> I'm fairly certain that wget is exploding for some reason when it tries to put up its progress bar and the terminal doesn't support it.  If I run wget directly from the shell, the file downloads fine, so it is related to how wget is called from buildr.
> buildr runs fine in an emacs shell if it does not need to download a new dependency.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-498) Artifact download fails with "negative argument" if terminal capabilities are undefined

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903875#action_12903875 ] 

Hudson commented on BUILDR-498:
-------------------------------

Integrated in Buildr-ci-build-1.9 #3 (See [https://hudson.apache.org/hudson/job/Buildr-ci-build-1.9/3/])
    BUILDR-498 Artifact download fails with "negative argument" if terminal capabilities are undefined


> Artifact download fails with "negative argument" if terminal capabilities are undefined
> ---------------------------------------------------------------------------------------
>
>                 Key: BUILDR-498
>                 URL: https://issues.apache.org/jira/browse/BUILDR-498
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.4.1
>         Environment: OS X 10.6.4, Ruby 1.8.7, wget 1.12
>            Reporter: Travis Jensen
>            Assignee: Alex Boisvert
>             Fix For: 1.4.2
>
>
> When I add a new dependency that needs to be downloaded (this started with downloading ant from ibiblio and continued with jars from download.java.net), the download will fail with a "negative argument" message if I use a shell inside of emacs.  If I use Terminal.app or an Emacs term (which has full terminal capability), the download works fine.
> You can see the trace of the failure at http://pastebin.com/u75s31jq
> I'm fairly certain that wget is exploding for some reason when it tries to put up its progress bar and the terminal doesn't support it.  If I run wget directly from the shell, the file downloads fine, so it is related to how wget is called from buildr.
> buildr runs fine in an emacs shell if it does not need to download a new dependency.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (BUILDR-498) Artifact download fails with "negative argument" if terminal capabilities are undefined

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert resolved BUILDR-498.
----------------------------------

    Fix Version/s: 1.4.2
       Resolution: Fixed

Fixed.

Sending        lib/buildr/core/progressbar.rb
Transmitting file data .
Committed revision 990400.


> Artifact download fails with "negative argument" if terminal capabilities are undefined
> ---------------------------------------------------------------------------------------
>
>                 Key: BUILDR-498
>                 URL: https://issues.apache.org/jira/browse/BUILDR-498
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.4.1
>         Environment: OS X 10.6.4, Ruby 1.8.7, wget 1.12
>            Reporter: Travis Jensen
>            Assignee: Alex Boisvert
>             Fix For: 1.4.2
>
>
> When I add a new dependency that needs to be downloaded (this started with downloading ant from ibiblio and continued with jars from download.java.net), the download will fail with a "negative argument" message if I use a shell inside of emacs.  If I use Terminal.app or an Emacs term (which has full terminal capability), the download works fine.
> You can see the trace of the failure at http://pastebin.com/u75s31jq
> I'm fairly certain that wget is exploding for some reason when it tries to put up its progress bar and the terminal doesn't support it.  If I run wget directly from the shell, the file downloads fine, so it is related to how wget is called from buildr.
> buildr runs fine in an emacs shell if it does not need to download a new dependency.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (BUILDR-498) Artifact download fails with "negative argument" if terminal capabilities are undefined

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert updated BUILDR-498:
---------------------------------

    Summary: Artifact download fails with "negative argument" if terminal capabilities are undefined  (was: Terminal issues can cause downloading of artifacts to fail with "negative argument")

> Artifact download fails with "negative argument" if terminal capabilities are undefined
> ---------------------------------------------------------------------------------------
>
>                 Key: BUILDR-498
>                 URL: https://issues.apache.org/jira/browse/BUILDR-498
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.4.1
>         Environment: OS X 10.6.4, Ruby 1.8.7, wget 1.12
>            Reporter: Travis Jensen
>            Assignee: Alex Boisvert
>             Fix For: 1.4.2
>
>
> When I add a new dependency that needs to be downloaded (this started with downloading ant from ibiblio and continued with jars from download.java.net), the download will fail with a "negative argument" message if I use a shell inside of emacs.  If I use Terminal.app or an Emacs term (which has full terminal capability), the download works fine.
> You can see the trace of the failure at http://pastebin.com/u75s31jq
> I'm fairly certain that wget is exploding for some reason when it tries to put up its progress bar and the terminal doesn't support it.  If I run wget directly from the shell, the file downloads fine, so it is related to how wget is called from buildr.
> buildr runs fine in an emacs shell if it does not need to download a new dependency.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-498) Artifact download fails with "negative argument" if terminal capabilities are undefined

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903876#action_12903876 ] 

Hudson commented on BUILDR-498:
-------------------------------

Integrated in Buildr-ci-build #107 (See [https://hudson.apache.org/hudson/job/Buildr-ci-build/107/])
    BUILDR-498 Artifact download fails with "negative argument" if terminal capabilities are undefined


> Artifact download fails with "negative argument" if terminal capabilities are undefined
> ---------------------------------------------------------------------------------------
>
>                 Key: BUILDR-498
>                 URL: https://issues.apache.org/jira/browse/BUILDR-498
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.4.1
>         Environment: OS X 10.6.4, Ruby 1.8.7, wget 1.12
>            Reporter: Travis Jensen
>            Assignee: Alex Boisvert
>             Fix For: 1.4.2
>
>
> When I add a new dependency that needs to be downloaded (this started with downloading ant from ibiblio and continued with jars from download.java.net), the download will fail with a "negative argument" message if I use a shell inside of emacs.  If I use Terminal.app or an Emacs term (which has full terminal capability), the download works fine.
> You can see the trace of the failure at http://pastebin.com/u75s31jq
> I'm fairly certain that wget is exploding for some reason when it tries to put up its progress bar and the terminal doesn't support it.  If I run wget directly from the shell, the file downloads fine, so it is related to how wget is called from buildr.
> buildr runs fine in an emacs shell if it does not need to download a new dependency.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.