Git Product home page Git Product logo

Comments (6)

alexal1 avatar alexal1 commented on June 7, 2024 1

I will create post about using uiautomatorviewer soon.
As I understood, updating Instagram solved the problem?

from insomniac.

lucianoshl avatar lucianoshl commented on June 7, 2024

same here

from insomniac.

alexal1 avatar alexal1 commented on June 7, 2024

@quintendewilde @lucianoshl thanks for reporting, check on this branch please https://github.com/alexal1/Insomniac/tree/fix_no_such_file_or_directory

from insomniac.

quintendewilde avatar quintendewilde commented on June 7, 2024

How do I combine this with my code?
@alexal1

`-------- START: 2020-07-25 18:07:17.627523 --------
[07/25 18:07:17] Open Instagram app
[07/25 18:07:20] Sleep for 1 second
[07/25 18:07:21] Press profile
[07/25 18:08:42] Failed to get username
[07/25 18:08:42] You have 60 followers so far.
Traceback (most recent call last):
File "insomniac.py", line 335, in
main()
File "insomniac.py", line 83, in main
storage = Storage(session_state.my_username)
File "/home/pi/Insomniac/src/storage.py", line 16, in init
if not os.path.exists(my_username):
File "/usr/lib/python3.7/genericpath.py", line 19, in exists
os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

from insomniac.

alexal1 avatar alexal1 commented on June 7, 2024

@quintendewilde seems that the script cannot read your username from the profile screen. Probably you have different UI in your app. Are you sure that you've got the latest Instagram version? If yes, could you do a uiautomatorviewer screenshot and attach it here?

How do I combine this with my code?

Please don't mix the code with yours while we're debugging: I can't debug the code I don't see.

from insomniac.

quintendewilde avatar quintendewilde commented on June 7, 2024

How do I achieve this uiautomatorviewer screenshot on raspberry pi or mac?
Because I have no windows available.

from insomniac.

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.