Export to GitHub

btstack - issue #393

compile-gatt.py does not run on Python 3.x.


Posted on May 15, 2014 by Swift Giraffe

What steps will reproduce the problem? 1. Running compile-gatt.py from Python 3.x on a system such as ArchLinux, where system 'python' runs Python 3.

What is the expected output? What do you see instead? Expected output is usage information. Actual output is a syntax error at line 33 of the Python file. This appears to be due to it using a print statement rather than a print() command.

What version of the product are you using? On what operating system? SVN rev 2551 on ArchLinux, x86_64.

I have attached a patch which updates the Python code to be usable on both Python 2.7 and 3.x.

Attachments

Comment #1

Posted on May 15, 2014 by Swift Ox

thanks! already applied to the trunk.

Status: Fixed

Labels:
Type-Defect Priority-Medium