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

Wes McKinney updated ARROW-3579:
--------------------------------
    Fix Version/s:     (was: 0.13.0)
                   0.14.0

> [Crossbow] Unintuitive error message when remote branch has not been pushed
> ---------------------------------------------------------------------------
>
>                 Key: ARROW-3579
>                 URL: https://issues.apache.org/jira/browse/ARROW-3579
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Developer Tools
>            Reporter: Wes McKinney
>            Assignee: Krisztian Szucs
>            Priority: Major
>             Fix For: 0.14.0
>
>
> {code}
> $ python dev/tasks/crossbow.py submit -g linux --arrow-version 0.11.1-rc0
> Traceback (most recent call last):
>   File "dev/tasks/crossbow.py", line 796, in <module>
>     crossbow(obj={}, auto_envvar_prefix='CROSSBOW')
>   File 
> "/home/wesm/miniconda/envs/arrow-release/lib/python3.6/site-packages/click/core.py",
>  line 764, in __call__
>     return self.main(*args, **kwargs)
>   File 
> "/home/wesm/miniconda/envs/arrow-release/lib/python3.6/site-packages/click/core.py",
>  line 717, in main
>     rv = self.invoke(ctx)
>   File 
> "/home/wesm/miniconda/envs/arrow-release/lib/python3.6/site-packages/click/core.py",
>  line 1137, in invoke
>     return _process_result(sub_ctx.command.invoke(sub_ctx))
>   File 
> "/home/wesm/miniconda/envs/arrow-release/lib/python3.6/site-packages/click/core.py",
>  line 956, in invoke
>     return ctx.invoke(self.callback, **ctx.params)
>   File 
> "/home/wesm/miniconda/envs/arrow-release/lib/python3.6/site-packages/click/core.py",
>  line 555, in invoke
>     return callback(*args, **kwargs)
>   File 
> "/home/wesm/miniconda/envs/arrow-release/lib/python3.6/site-packages/click/decorators.py",
>  line 17, in new_func
>     return f(get_current_context(), *args, **kwargs)
>   File "dev/tasks/crossbow.py", line 596, in submit
>     target = Target.from_repo(arrow)
>   File "dev/tasks/crossbow.py", line 407, in from_repo
>     remote=repo.remote_url,
>   File "dev/tasks/crossbow.py", line 235, in remote_url
>     return self.remote.url.replace(
>   File "dev/tasks/crossbow.py", line 225, in remote
>     return self.repo.remotes[self.branch.upstream.remote_name]
> AttributeError: 'NoneType' object has no attribute 'remote_name'
> {code}
> The fix was to make sure the local branch and the reference branch for the 
> build in my fork wesm/arrow was the same



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to