kopia lustrzana https://github.com/espressif/esp-idf
CI: raise import error instead of exit for ble tools
rodzic
89f8e19850
commit
5d1be3bb8b
|
@ -29,7 +29,7 @@ try:
|
|||
from gi.repository import GLib
|
||||
except ImportError as e:
|
||||
if 'linux' not in sys.platform:
|
||||
sys.exit("Error: Only supported on Linux platform")
|
||||
raise e
|
||||
print(e)
|
||||
print("Install packages `libgirepository1.0-dev gir1.2-gtk-3.0 libcairo2-dev libdbus-1-dev libdbus-glib-1-dev` for resolving the issue")
|
||||
print("Run `pip install -r $IDF_PATH/tools/ble/requirements.txt` for resolving the issue")
|
||||
|
|
|
@ -25,7 +25,7 @@ try:
|
|||
import dbus.service
|
||||
except ImportError as e:
|
||||
if 'linux' not in sys.platform:
|
||||
sys.exit("Error: Only supported on Linux platform")
|
||||
raise e
|
||||
print(e)
|
||||
print("Install packages `libgirepository1.0-dev gir1.2-gtk-3.0 libcairo2-dev libdbus-1-dev libdbus-glib-1-dev` for resolving the issue")
|
||||
print("Run `pip install -r $IDF_PATH/tools/ble/requirements.txt` for resolving the issue")
|
||||
|
|
|
@ -25,7 +25,7 @@ try:
|
|||
import dbus.service
|
||||
except ImportError as e:
|
||||
if 'linux' not in sys.platform:
|
||||
sys.exit("Error: Only supported on Linux platform")
|
||||
raise e
|
||||
print(e)
|
||||
print("Install packages `libgirepository1.0-dev gir1.2-gtk-3.0 libcairo2-dev libdbus-1-dev libdbus-glib-1-dev` for resolving the issue")
|
||||
print("Run `pip install -r $IDF_PATH/tools/ble/requirements.txt` for resolving the issue")
|
||||
|
|
Ładowanie…
Reference in New Issue