appium-desktop icon indicating copy to clipboard operation
appium-desktop copied to clipboard

Start session crashes desktop app (Appium Desktop 1.15.0 (1.15.0.20191002.3))

Open DaInament opened this issue 6 years ago • 12 comments

Appium or Appium Desktop?

Appium Desktop

The problem

After today update to version 1.15, when I click Start session with automatic server and this desired capabilities { "platformName": "iOS", "platformVersion": "12.4", "deviceName": "iPhone X", "automationName": "XCUITest", "app": "...(hidden way).app", "useNewWDA": true, "language": "en", "noReset": false } after some loading app crashes

Environment

  • I am running Appium Desktop version 1.15.0 (1.15.0.20191002.3.
  • I am on (pick one):
    • [ ] Mac

DaInament avatar Oct 02 '19 14:10 DaInament

In ...Library/Logs/appium-desktop/log.log I see this: [2019-10-02 17:10:17.958] [info] Retrieving session for window with id: 2 [2019-10-02 17:10:17.963] [error] Could not find session with window id '2'. Availalable sessions are: '[]' [2019-10-02 17:10:17.969] [info] Creating method handler for session with window id: 2 [2019-10-02 17:10:17.970] [info] The following session window ID's have active sessions: '["2"]'

DaInament avatar Oct 02 '19 14:10 DaInament

Appium v1.15.0 shouldn't have been published. Unpublished it now until it's resolved.

dpgraham avatar Oct 02 '19 15:10 dpgraham

hm... I tested only on safari before publishing it... (And that worked.) Let me check a bit with appium sample app.

KazuCocoa avatar Oct 03 '19 00:10 KazuCocoa

@KazuCocoa Okay, but do you know how can I revert to 1.14? Is there a command in terminal that magically revert it, or do I need to uninstall and install 1.14?

UPD: I opened 1.15 and now I see an update window to 1.13, is it correct??? https://imgur.com/rP8f7bL

DaInament avatar Oct 03 '19 09:10 DaInament

Yes, since 'latest published' is 1.13.0 > correct? https://github.com/appium/appium-desktop/releases

Yes, the downgrade is re-install the app.

KazuCocoa avatar Oct 03 '19 12:10 KazuCocoa

hm.. Appium's sample app was able to launch.

KazuCocoa avatar Oct 03 '19 13:10 KazuCocoa

btw, do you have a good example to reproduce the crash? @DaInament For example, an official app launch with bundleId.

I wonder if the crash is not common case, we can publish the 1.15.0 and continue to investigate the crash.

KazuCocoa avatar Oct 04 '19 00:10 KazuCocoa

btw, do you have a good example to reproduce the crash? @DaInament For example, an official app launch with bundleId.

I wonder if the crash is not common case, we can publish the 1.15.0 and continue to investigate the crash.

@KazuCocoa I would love to help, but I downgraded to 1.13, how can I help now?

DaInament avatar Oct 04 '19 08:10 DaInament

@DaInament can you try with 1.15.0-1?

dpgraham avatar Oct 05 '19 11:10 dpgraham

@DaInament can you try with 1.15.0-1?

@dpgraham I tried, It still crashes. With 1.13 it was working normally.

DaInament avatar Oct 07 '19 12:10 DaInament

Same issue... When can it be resolved?

coonyien avatar Oct 10 '19 19:10 coonyien

Sorry for the late response.

Could you try with Appium CLI 1.15.0 to launch the app with showXcodeLog and showIOSLog? http://appium.io/docs/en/about-appium/getting-started/

I'd like to clarify the issue is Appium or the desktop side first. @DaInament

KazuCocoa avatar Oct 11 '19 03:10 KazuCocoa