Portisch / RF-Bridge-EFM8BB1

Alternative Firmware for the Sonoff RF Bridge EFM8BB1 chip
290 stars 122 forks source link

BitBucketConverter.py python3 error #166

Open alekob opened 4 years ago

alekob commented 4 years ago

Hello, running the latest version of BitBucketConverter.py on a Ubuntu 18.04 (Python 3.6.9) fails

Traceback (most recent call last): File "./BitBucketConverter.py", line 335, in strInput = getInputStr() File "./BitBucketConverter.py", line 64, in getInputStr auxStr = raw_input("Enter B1 line: ") NameError: name 'raw_input' is not defined

pgScorpio commented 4 years ago

Same here with Python 3.8.1 on Windows 10

Traceback (most recent call last): File "BitBucketConverter.py", line 335, in strInput = getInputStr() File "BitBucketConverter.py", line 64, in getInputStr auxStr = raw_input("Enter B1 line: ") NameError: name 'raw_input' is not defined

MrRimmer commented 3 years ago

I'm a complete python novice, but got it working by replacing raw_input() with input() - raw_input is deprecated in Python 3.