Skip to content

Conversation

HalimKim
Copy link
Contributor

What changes were proposed in this pull request?

  • in db_setup.py script, there's subprocess.Popen function.
  • From python 3, the stdout of Popen instance is byte by default. it means it is not str anymore
  • So if you are trying to execute this script, you will see error below
TypeError: a bytes-like object is required, not 'str'
  • To avoid this problem, simply just add text=True option in Popen()

How was this patch tested?

  • Manually Tested.

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

Successfully merging this pull request may close these issues.

1 participant