You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Trejkaz (JIRA)" <ji...@apache.org> on 2014/06/23 14:11:24 UTC

[jira] [Commented] (BUILDR-694) "buildr upload" fails: wrong number of arguments in progress bar read()

    [ https://issues.apache.org/jira/browse/BUILDR-694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14040668#comment-14040668 ] 

Trejkaz commented on BUILDR-694:
--------------------------------

Still occurs on 1.4.17. Patch still works to fix the issue.


> "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
>         Attachments: 0001-Support-the-two-argument-form-of-StringIO-read-i.e.-.patch
>
>
> 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.2#6252)