Coder Social home page Coder Social logo

Comments (6)

afturner avatar afturner commented on April 19, 2024 1

@ttsugriy yikes! should have checked the commits.. did try building from source but got some compile errors so didn't pursue further lol. Thanks!

from buck.

subtleGradient avatar subtleGradient commented on April 19, 2024
cd $TMPDIR 
mkdir "path_with_no_spaces"
cd path_with_no_spaces/
touch .buckconfig
touch BUCK
buck targets

[-] PARSING BUILD FILES...FINISHED 0.0s


cd $TMPDIR 
mkdir "path with spaces"
cd path\ with\ spaces/
touch .buckconfig
touch BUCK
buck targets

mktemp: mkdtemp failed on /var/folders/z_/lntn8xtn3057vxy93lg4nq_9p_44x2/T/path: File exists
mktemp: mkdtemp failed on with: File exists

from buck.

chriskonstad avatar chriskonstad commented on April 19, 2024

I think there's been a change that causes this to be an issue again.

I ran the sample commands from @subtleGradient and got this output for the path with a space:

[chris@mbp][with spaces]$ buck targets
Using watchman.
Warning raised by BUCK file parser: Traceback (most recent call last):
Warning raised by BUCK file parser: File "/Users/chris/Desktop/buckme/with spaces/.buckd/tmp/buck_run.T3zbEu/buck_python_program1011147366125771223/main.py", line 10, in
Warning raised by BUCK file parser: from buck_parser import buck
Warning raised by BUCK file parser: ImportError: No module named buck_parser
Parse error for build file /Users/chris/Desktop/buckme/with spaces/BUCK:
No content to map due to end-of-input
at [Source: com.google.common.io.CountingInputStream@2164e11d; line: 1, column: 0]
[-] PARSING BUCK FILES...FINISHED 0.7s

The output of buck targets in the path without spaces was as normal.

from buck.

afturner avatar afturner commented on April 19, 2024

This is still an issue as of v2017.11.16.01

Gives error:

BUILD FAILED: Buck wasn't able to parse /Users/andrew/path with space/Cool/BUCK:
No content to map due to end-of-input
at [Source: com.google.common.io.CountingInputStream@24d1151a; line: 1, column: 0]

from buck.

ttsugriy avatar ttsugriy commented on April 19, 2024

The issue have been resolved by 20cea0d but we haven't published new releases since then. I'll try to do this next week.

from buck.

ttsugriy avatar ttsugriy commented on April 19, 2024

fix is now available in https://github.com/facebook/buck/releases/tag/v2018.03.26.01 I'm going to publish deb package soon too.

from buck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.