i am a beginner for developing esp32 platform, when i proceed as list on https://esp-idf.readthedocs.io/en/lates ... -a-project ,
command make monitor does not work, give me a error "AttributeError: 'Serial' object has no attribute 'is_open'"
my environment:
ubuntu 14.04 LTS
pythone: 2.7.6
does anybody else get this error too, help me to fix it, thanks
make monitor error "AttributeError: 'Serial' object has no attribute 'is_open'"
Re: make monitor error "AttributeError: 'Serial' object has no attribute 'is_open'"
Hi liuq,
Thanks for reporting this. Ubuntu 14.04 ships with pyserial 2.6, and it looks like idf_monitor uses some "new style" APIs that were only added after pyserial 3.0.
This is a bug and we'll fix it ASAP.
Angus
Thanks for reporting this. Ubuntu 14.04 ships with pyserial 2.6, and it looks like idf_monitor uses some "new style" APIs that were only added after pyserial 3.0.
This is a bug and we'll fix it ASAP.
Angus
Re: make monitor error "AttributeError: 'Serial' object has no attribute 'is_open'"
Was it possible to solve it?
Re: make monitor error "AttributeError: 'Serial' object has no attribute 'is_open'"
As Ubuntu 14.04 is End Of Life now, we decided to keep the newer API only in esp-idf.
EDIT: My mistake, 14.04 is not EOL until next year. So we will make the required change in ESP-IDF. Although please consider updating your installation to a newer Ubuntu.
If you have Ubuntu 14.04, you can make it work by running these three commands:
(This removes Ubuntu's old copy of pyserial, and installs a version from the Python package manager 'pip'.)
EDIT: My mistake, 14.04 is not EOL until next year. So we will make the required change in ESP-IDF. Although please consider updating your installation to a newer Ubuntu.
If you have Ubuntu 14.04, you can make it work by running these three commands:
Code: Select all
sudo apt-get remove python-serial
sudo apt-get install python-pip
sudo pip install pyserial
Re: make monitor error "AttributeError: 'Serial' object has no attribute 'is_open'"
Thanks Angus. What about serial trash like:
��n߂���b��b#����9O��Ă�#�n�l;|��
����H���� � � ���n߂���b��bc����9O��Ă�#�n�l{|��
� � ����� n���� ��� ��n߂���b��b#����9O��Ă�#�n�l;|��
When I do MAKE MONITOR it happends. I try to change the clock speed, but the problem continuos in every clock speed.
DO you have another solution for that problem.
Thanks
��n߂���b��b#����9O��Ă�#�n�l;|��
����H���� � � ���n߂���b��bc����9O��Ă�#�n�l{|��
� � ����� n���� ��� ��n߂���b��b#����9O��Ă�#�n�l;|��
When I do MAKE MONITOR it happends. I try to change the clock speed, but the problem continuos in every clock speed.
DO you have another solution for that problem.
Thanks
Re: make monitor error "AttributeError: 'Serial' object has no attribute 'is_open'"
If you have a 26MHz crystal, you will need to set this in menuconfig:lmayamaya wrote:Thanks Angus. What about serial trash like:
��n߂���b��b#����9O��Ă�#�n�l;|��
����H���� � � ���n߂���b��bc����9O��Ă�#�n�l{|��
� � ����� n���� ��� ��n߂���b��b#����9O��Ă�#�n�l;|��
When I do MAKE MONITOR it happends. I try to change the clock speed, but the problem continuos in every clock speed.
http://esp-idf.readthedocs.io/en/latest ... l-freq-sel
(The default is 40MHz and will result in a baud rate mismatch.)
Who is online
Users browsing this forum: Google [Bot] and 85 guests