Skip to content
New issue

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

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

Already on GitHub? # to your account

Xcode11 error: module importing failed: Missing parentheses in call to 'print' #272

Closed
ceekay1991 opened this issue Sep 29, 2019 · 14 comments

Comments

@ceekay1991
Copy link

ceekay1991 commented Sep 29, 2019

error: 'pviews' is not a valid command.
error: module importing failed: Missing parentheses in call to 'print'. Did you mean print('Whoops! You are missing the <' + arg.argName + '> argument.')? (fblldb.py, line 98)
File "temp.py", line 1, in

@ceekay1991 ceekay1991 changed the title error: module importing failed: Missing parentheses in call to 'print' Xcode11 error: module importing failed: Missing parentheses in call to 'print' Sep 29, 2019
@danielpetroianu
Copy link

danielpetroianu commented Sep 29, 2019

I experience the same error message when running with Xcode 11.
This is a duplicate of #262 - Xcode 11 uses Python 3 - that's way we see that Python error.

@spnkr
Copy link

spnkr commented Oct 3, 2019

you're using python 3, which doesn't work with chisel. the python binary xcode 11 uses is here fwiw: /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework

to fix it do 2 things:

  1. use python2 (Supports Xcode 11 with Python3 instead of Python2 #262)
defaults write com.apple.dt.lldb DefaultPythonVersion 2
  1. then check out this branch https://github.com/facebook/chisel/tree/FBPrintCoreAnimationTree-cleanup - there were errors w/ xcode 11 and python2 and FBPrintCoreAnimationTree

I still get a few error messages, but most of the chisel commands now work.

@TomLongJoy
Copy link

cd ~/Downloads && git clone https://github.com/chenjiangchuan/chisel.git && cd chisel &&cp -f -R -v libexec /usr/local/Cellar/chisel/1.8.1
I use this , my chisel work.

@kolinkrewinkel
Copy link
Contributor

Should be fixed with #266!

@monologue555
Copy link

Use brew install chisel (1.8.1) not work, because merge #266! not update to brew repo. So I download master code to fix this issue.

@mattjankowiak
Copy link

Still seeing this issue with Chisel 1.8.1. Any chance we can get the brew repo updated with the changes from #266 ? Been using Chisel for many years and I love it. Thanks for all your hard work!

@raytso
Copy link

raytso commented Nov 13, 2019

Still seeing this with 1.8.1.

@hvsw
Copy link

hvsw commented Nov 14, 2019

Same issue here

@Ronaldoh1
Copy link

same

@nikunjinexture
Copy link

Same issue

@kolinkrewinkel
Copy link
Contributor

Sorry folks, I've been a neglectful maintainer!

@kolinkrewinkel
Copy link
Contributor

Should be good to go now with a brew upgrade. Let us know if there are any issues!

@yayang
Copy link

yayang commented Apr 9, 2020

cd ~/Downloads && git clone https://github.com/chenjiangchuan/chisel.git && cd chisel &&cp -f -R -v libexec /usr/local/Cellar/chisel/1.8.1
I use this , my chisel work.

worked for me, thanks

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

13 participants