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

BUCK python3 parser unable to build dist-upgrader/pleskdistup:config #24

Open
SandakovMM opened this issue Apr 2, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@SandakovMM
Copy link
Contributor

Describe the bug

Unable to build converter/distupgrader by buck when parser in .buckconfig is python3 or not set.
In this case build fails with:

Buck wasn't able to parse /home/builder/msandakov/ubuntu18to20/ubuntu18to20/BUCK:
TypeError: keys must be a string
Call stack:
  File "/usr/lib64/python3.6/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib64/python3.6/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)

STR

  1. Take ubuntu18to20
  2. Change .buckconfig python_interpreter to /usr/bin/python3
  3. buck build :ubuntu18to20

Additional information

It looks like the problem is in the format call. Removing it helps to avoid the problem.

@SandakovMM SandakovMM added the bug Something isn't working label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant