Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python SyntaxError: invalid syntax when building plugin #453

Closed
drichelson opened this issue Nov 21, 2018 · 1 comment
Closed

python SyntaxError: invalid syntax when building plugin #453

drichelson opened this issue Nov 21, 2018 · 1 comment
Labels
topic: meta / development Meta issues around plugin development

Comments

@drichelson
Copy link

drichelson commented Nov 21, 2018

I'm running Mac OS 10.13.6

bazel version output:

bazel version
WARNING: failed to raise resource limit 8 to 32768: Invalid argument
Build label: 0.18.1-homebrew
Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Fri Nov 2 11:16:56 2018 (1541157416)
Build timestamp: 1541157416
Build timestamp as int: 1541157416

I ran command: bazel build //ijwb:ijwb_bazel_zip --define=ij_product=intellij-latest
And got output:

WARNING: failed to raise resource limit 8 to 32768: Invalid argument
INFO: Analysed target //ijwb:ijwb_bazel_zip (58 packages loaded).
INFO: Found 1 target...
ERROR: /Users/drichelson/workspace/intellij/ijwb/BUILD:27:1: Executing genrule //ijwb:merged_plugin_xml_common failed (Exit 1)
  File "/private/var/tmp/_bazel_drichelson/216b61342e9110c2ce77e6949d8864b1/sandbox/darwin-sandbox/279/execroot/intellij_with_bazel/bazel-out/host/bin/build_defs/merge_xml.runfiles/intellij_with_bazel/build_defs/merge_xml.py", line 58
    print dom.toxml()
            ^
SyntaxError: invalid syntax
Target //ijwb:ijwb_bazel_zip failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 35.753s, Critical Path: 30.29s
INFO: 285 processes: 276 darwin-sandbox, 9 worker.
FAILED: Build did NOT complete successfully
@drichelson drichelson changed the title Invalid syntax when building plugin python SyntaxError: invalid syntax when building plugin Nov 21, 2018
@jin jin added the topic: meta / development Meta issues around plugin development label May 1, 2019
@alice-ks
Copy link
Collaborator

alice-ks commented Feb 4, 2021

According to the mentioned PRs, this issue should be fixed. If there's still an issue when using Python 3, please open another bug report.

@alice-ks alice-ks closed this as completed Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: meta / development Meta issues around plugin development
Projects
None yet
Development

No branches or pull requests

3 participants