buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Reibert (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BUILDR-694) "buildr upload" fails: wrong number of arguments in progress bar read()
Date Tue, 25 Feb 2014 20:53:19 GMT

     [ https://issues.apache.org/jira/browse/BUILDR-694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Reibert updated BUILDR-694:
--------------------------------

    Description: 
The upload task fails with the following error:

bash$ buildr upload
...
Deploying packages from <whatever>
Deploying <whatever>:pom:<version>
Buildr aborted!<whatever>-<version>:   0% |                                  
                                                                          |       0B/231B
ETA:  --:--:--
ArgumentError : wrong number of arguments (2 for 1)

It appears at some point (and I didn't track it down) the two-argument form of IO::read()
is being called during the HTTP PUT. I'll attach a patch that fixes the problem

bash$ buildr --version
Buildr 1.4.15

bash$ ruby --version
ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux]

bash$ java -version
java version "1.7.0_51"
OpenJDK Runtime Environment (fedora-2.4.5.0.fc19-x86_64 u51-b31)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)

  was:
The upload task fails with the following error:

{noformat}
bash$ buildr upload
...
Deploying packages from <whatever>
Deploying <whatever>:pom:<version>
Buildr aborted!<whatever>-<version>:   0% |                                  
                                                                          |       0B/231B
ETA:  --:--:--
ArgumentError : wrong number of arguments (2 for 1)
{noformat}

It appears at some point (and I didn't track it down) the two-argument form of IO::read()
is being called during the HTTP PUT. I'll attach a patch that fixes the problem

{noformat}
bash$ buildr --version
Buildr 1.4.15

bash$ ruby --version
ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux]

bash$ java -version
java version "1.7.0_51"
OpenJDK Runtime Environment (fedora-2.4.5.0.fc19-x86_64 u51-b31)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
{noformat}


> "buildr upload" fails: wrong number of arguments in progress bar read()
> -----------------------------------------------------------------------
>
>                 Key: BUILDR-694
>                 URL: https://issues.apache.org/jira/browse/BUILDR-694
>             Project: Buildr
>          Issue Type: Bug
>          Components: Core features
>    Affects Versions: 1.4.15
>            Reporter: Mark Reibert
>
> The upload task fails with the following error:
> bash$ buildr upload
> ...
> Deploying packages from <whatever>
> Deploying <whatever>:pom:<version>
> Buildr aborted!<whatever>-<version>:   0% |                             
                                                                               |       0B/231B
ETA:  --:--:--
> ArgumentError : wrong number of arguments (2 for 1)
> It appears at some point (and I didn't track it down) the two-argument form of IO::read()
is being called during the HTTP PUT. I'll attach a patch that fixes the problem
> bash$ buildr --version
> Buildr 1.4.15
> bash$ ruby --version
> ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux]
> bash$ java -version
> java version "1.7.0_51"
> OpenJDK Runtime Environment (fedora-2.4.5.0.fc19-x86_64 u51-b31)
> OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message