andygrove commented on pull request #7220: URL: https://github.com/apache/arrow/pull/7220#issuecomment-630821367
At first glance it looks like you are just in the wrong directory. You need to run archery from the root of the repo. Then it would look for java/pom.xml and find it. On Tue, May 19, 2020 at 7:30 AM Wakahisa <[email protected]> wrote: > I keep getting the below on Windows. I'll try with Linux > > Traceback (most recent call last): > File "C:\ProgramData\Anaconda3\Scripts\archery-script.py", line 11, in <module> > load_entry_point('archery', 'console_scripts', 'archery')() > File "c:\programdata\anaconda3\lib\site-packages\click\core.py", line 764, in __call__ > return self.main(*args, **kwargs) > File "c:\programdata\anaconda3\lib\site-packages\click\core.py", line 717, in main > rv = self.invoke(ctx) > File "c:\programdata\anaconda3\lib\site-packages\click\core.py", line 1137, in invoke > return _process_result(sub_ctx.command.invoke(sub_ctx)) > File "c:\programdata\anaconda3\lib\site-packages\click\core.py", line 956, in invoke > return ctx.invoke(self.callback, **ctx.params) > File "c:\programdata\anaconda3\lib\site-packages\click\core.py", line 555, in invoke > return callback(*args, **kwargs) > File "d:\projects\arrow\dev\archery\archery\cli.py", line 607, in integration > from .integration.runner import write_js_test_json, run_all_tests > File "d:\projects\arrow\dev\archery\archery\integration\runner.py", line 33, in <module> > from .tester_java import JavaTester > File "d:\projects\arrow\dev\archery\archery\integration\tester_java.py", line 34, in <module> > class JavaTester(Tester): > File "d:\projects\arrow\dev\archery\archery\integration\tester_java.py", line 42, in JavaTester > _arrow_version = load_version_from_pom() > File "d:\projects\arrow\dev\archery\archery\integration\tester_java.py", line 28, in load_version_from_pom > tree = ET.parse(os.path.join(ARROW_ROOT_DEFAULT, 'java', 'pom.xml')) > File "c:\programdata\anaconda3\lib\xml\etree\ElementTree.py", line 1196, in parse > tree.parse(source, parser) > File "c:\programdata\anaconda3\lib\xml\etree\ElementTree.py", line 586, in parse > source = open(source, "rb")FileNotFoundError: [Errno 2] No such file or directory: 'd:\\projects\\arrow\\dev\\archery\\archery\\integration\\util.py\\java\\pom.xml' > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/apache/arrow/pull/7220#issuecomment-630819383>, or > unsubscribe > <https://github.com/notifications/unsubscribe-auth/AAHEBRAZRAC2BNUFEGFUXVDRSKCWPANCNFSM4NESABCA> > . > ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
