Code Monkey home page Code Monkey logo

Comments (12)

codeskyblue avatar codeskyblue commented on May 20, 2024

actually atx will raise exception in some condition.. you should use try. ... catch

from atx.

 avatar commented on May 20, 2024

I checked but It's not raise any exception and I used click by text

from atx.

codeskyblue avatar codeskyblue commented on May 20, 2024

Exceptions will be ignored in python theading. you must add try except manually if you want see some exceptions

from atx.

 avatar commented on May 20, 2024

Where should I add it ? How to do it? Line of code in theading. ?
Ex:

def run_test()
   while true:
      try:
          u = atx.connect()
      except Exception as e:
           # to do
      try:
          u.click(text="ABC")
      except Exception as e:
         # to do
``

from atx.

codeskyblue avatar codeskyblue commented on May 20, 2024

yeah it should works this way

from atx.

codeskyblue avatar codeskyblue commented on May 20, 2024

@thehung12a3 resolved?

from atx.

 avatar commented on May 20, 2024

@codeskyblue No.

from atx.

codeskyblue avatar codeskyblue commented on May 20, 2024

from atx.

codeskyblue avatar codeskyblue commented on May 20, 2024

Too long time, closed for now, you got any progress, please reopen it.

from atx.

 avatar commented on May 20, 2024

error

Hi @codeskyblue
It stop's at that positions. I think. It's problem with RPC.
How to fix it to make sure that app don't stop?

from atx.

wuxc avatar wuxc commented on May 20, 2024

@henryhoang92

  1. what do you mean by 'stop', exit or hung?
  2. is all rpcs fail or just some special ones?
  3. is it phone related? have you tried on another phone?

from atx.

 avatar commented on May 20, 2024

After execute command log.debug("TA_1") then It isn't return anything. Stop at command return _method_obj(*args, **kwargs)

  • No return any exceptions. Just stop at that and don't execute any command line. I think It's problem with RPC server.

+I want to return an exception for this problem . how to do it?

from atx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.