|
发表于 2024-5-20 20:17:06
|
显示全部楼层
最新的固件已刷上,配网也是正常的,但就是编译出以下错误,请问是什么问题,刚刚玩esphome
INFO ESPHome 2024.5.1
INFO Reading configuration /config/powerboard-test.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing powerboard-test (board: esp12e; framework: arduino; platform: platformio/[email protected])
--------------------------------------------------------------------------------
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
Dependency Graph
|-- ESP8266WiFi @ 1.0
|-- ESP8266mDNS @ 1.2
RAM: [===== ] 45.2% (used 37044 bytes from 81920 bytes)
Flash: [==== ] 44.5% (used 464415 bytes from 1044464 bytes)
========================= [SUCCESS] Took 2.02 seconds =========================
INFO Successfully compiled program.
INFO Resolving IP address of powerboard-test.local
ERROR Error resolving IP address of powerboard-test.local. Is it connected to WiFi?
ERROR (If this error persists, please set a static IP address: https://esphome.io/components/wifi.html#manual-ips)
ERROR Error resolving IP address: Error resolving address with mDNS: Did not respond. Maybe the device is offline., [Errno -2] Name or service not known
Exception ignored in: <function BaseEventLoop.__del__ at 0x7f93d6f67d80>
Traceback (most recent call last):
File "/usr/lib/python3.11/asyncio/base_events.py", line 694, in __del__
self.close()
File "/usr/lib/python3.11/asyncio/unix_events.py", line 68, in close
super().close()
File "/usr/lib/python3.11/asyncio/selector_events.py", line 91, in close
self._close_self_pipe()
File "/usr/lib/python3.11/asyncio/selector_events.py", line 98, in _close_self_pipe
self._remove_reader(self._ssock.fileno())
File "/usr/lib/python3.11/asyncio/selector_events.py", line 281, in _remove_reader
key = self._selector.get_key(fd)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/selectors.py", line 190, in get_key
return mapping[fileobj]
~~~~~~~^^^^^^^^^
File "/usr/lib/python3.11/selectors.py", line 71, in __getitem__
fd = self._selector._fileobj_lookup(fileobj)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/selectors.py", line 225, in _fileobj_lookup
return _fileobj_to_fd(fileobj)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/selectors.py", line 42, in _fileobj_to_fd
raise ValueError("Invalid file descriptor: {}".format(fd))
ValueError: Invalid file descriptor: -1 |
|