question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

building with ant fails in get-buck-info

See original GitHub issue

Over a fresh git pull of buck. Any advice?

gen-buck-info:
     [exec] Traceback (most recent call last):
     [exec]   File "programs/gen_buck_info.py", line 51, in <module>
     [exec]     sys.exit(main(sys.argv))
     [exec]   File "programs/gen_buck_info.py", line 48, in main
     [exec]     indent=2)
     [exec]   File "...../anaconda3/lib/python3.6/json/__init__.py", line 179, in dump
     [exec]     for chunk in iterable:
     [exec]   File "...../anaconda3/lib/python3.6/json/encoder.py", line 430, in _iterencode
     [exec]     yield from _iterencode_dict(o, _current_indent_level)
     [exec]   File "...../anaconda3/lib/python3.6/json/encoder.py", line 404, in _iterencode_dict
     [exec]     yield from chunks
     [exec]   File "...../anaconda3/lib/python3.6/json/encoder.py", line 437, in _iterencode
     [exec]     o = _default(o)
     [exec]   File "...../anaconda3/lib/python3.6/json/encoder.py", line 180, in default
     [exec]     o.__class__.__name__)
     [exec] TypeError: Object of type 'bytes' is not JSON serializable

Any quick advice?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ttsugriycommented, Mar 27, 2018

@matanster, there is no such thing as Buck for Nuclide - there is just Buck. Nuclide can use it underneath for some of its plugins, but it’s the same binary and the same set of steps to install.

As to why Facebook and all other companies with huge internal repositories use Buck-like build tools instead of Make/Maven/Gradle-like ones, you can read on our main page https://buckbuild.com/ In short - those tools are slow and not scalable, but Buck is fast and scales to huge projects that are built from source.

0reactions
styurincommented, Nov 18, 2018

Fixed in 4ba983ea268d37a301123b6b8ad6e20f843d1aef

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ant failed to build - java - Stack Overflow
I have build a Java appliction which is using ant.jar (ant 1.8.2) classes for building android application from it's build.xml file with release...
Read more >
Fail Task - Apache Ant
Fail. Description. Exits the current build (just throwing a BuildException), optionally printing additional information. The message of the Exception can be ...
Read more >
Way to keep Ant "test" target from failing build if a test fails
I would like the Ant build to continue and report all test failures, just like unit testing if there is a test failure....
Read more >
Apache Ant Tasks - Fail - Tutorialspoint
Apache Ant Tasks - Fail, Fail task is used to exit the current build by throwing a BuildException, optionally printing additional information.
Read more >
Using Ant from Gradle
xml directly into a Gradle project. You can then use the targets of your Ant build as if they were Gradle tasks. The...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found