[
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.