Неопределенный символ: TF_Version при сборке плагина Appium test-ai-классификатор - PullRequest
0 голосов
/ 17 февраля 2020

Я пытаюсь запустить плагин test.ai для appium (https://github.com/testdotai/appium-classifier-plugin).

Я успешно установил appium-classifier-plugin на linux (ubuntu 19.04 ) в следующем варианте 3:

Install it globally (npm install -g test-ai-classifier) and make sure your NODE_PATH is set to the global node_modules dir.

npm@6.13.4

node@v12.14.1

Аппиум 1.16.0

Но у меня проблема с TF_Version при выполнении демонстрации приложения сборки.

[HTTP] <-- POST /wd/hub/session 200 11314 ms - 1126 [HTTP] [HTTP] --> POST /wd/hub/session/a1118df1- 
8cc2-4372-8839-99a9b59df666/element [HTTP] {"using":"-custom","value":"ai:cart"} [debug] [W3C 
(a1118df1)] Calling AppiumDriver.findElement() with args: ["-custom","ai:cart","a1118df1-8cc2-4372- 
8839-99a9b59df666"] [debug] [BaseDriver] Find plugin 'ai' requested; will attempt to use it from 
'test-ai-classifier' 2020-02-10 14:43:55.354898: I tensorflow/core/platform/cpu_feature_guard.cc:142] 
Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2020-02- 
10 14:43:55.387822: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 
2592000000 Hz 2020-02-10 14:43:55.388720: I tensorflow/compiler/xla/service/service.cc:168] XLA 
service 0x4ea8260 initialized for platform Host (this does not guarantee that XLA will be used). 
Devices: 2020-02-10 14:43:55.388736: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor 
device (0): Host, Default Version node: symbol lookup error: 
/home/s1mple/.nvm/versions/node/v12.14.1/lib/node_modules/test-ai-classifier/build/Release/test-ai- 
classifier.node: undefined symbol: TF_Version

Ошибка сборки демонстрации изображения

Может кто-нибудь сказать мне, что я делаю неправильно? При переписывании этого теста, чтобы не использовать плагин, все работает нормально, поэтому Appium настроен правильно.

Я посмотрел на этот do c, но все еще не вижу, что мне не хватает: http://appium.io/docs/en/advanced-concepts/element-finding-plugins/

Заранее благодарю за помощь!

...