My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2086: buck mvn helper: error in exception handling
1 person starred this issue and may be notified of changes. Back to list
Status:  Submitted
Owner:  sop@google.com
Closed:  Aug 2013


Sign in to add a comment
 
Reported by icee...@googlemail.com, Aug 26, 2013

Affected Version: v2.7-rc4-1337-g2621551

What steps will reproduce the problem?
1. run buck build api_install with no mvn in path

What is the expected output? What do you see instead?

Traceback (most recent call last):
  File "/home/resi/pedersen/tmp/gerrit/tools/maven/mvn.py", line 60, in <module>
    print('%s command failed: %s' % (action, e), file=stderr)
NameError: name 'action' is not defined
BUILD FAILED: //tools/maven:install failed on step "genrule" with exit code 1

Reason: action is never defined, correct would be args.a

Please provide any additional information below.

Even with a patched version the error is not very helpful:

install command failed: [Errno 2] No such file or directory
BUILD FAILED: //tools/maven:install failed on step "genrule" with exit code 1
Aug 26, 2013
#1 sop@google.com
(No comment was entered for this change.)
Status: Accepted
Owner: sop@google.com
Aug 26, 2013
#2 sop@google.com
https://gerrit-review.googlesource.com/49210 should fix this. Thanks for the very clear bug report.
Status: ChangeUnderReview
Aug 26, 2013
#3 sop@google.com
(No comment was entered for this change.)
Status: Submitted
Sign in to add a comment

Powered by Google Project Hosting