Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app login issue #74

Open
gsszzhh opened this issue Jan 26, 2024 · 11 comments
Open

app login issue #74

gsszzhh opened this issue Jan 26, 2024 · 11 comments

Comments

@gsszzhh
Copy link

gsszzhh commented Jan 26, 2024

Describe the bug
The login page gets stuck after go from register page. Uable to enter password. No response when click on screen any where, even on Back or Login button.

Expected behavior
Run without login maybe.

Platform Details
Android :

  • android version: Harmony Os
  • manufacturer: Huawei
  • model: Honor V20.
  • rooted ? : Not
  • using root or non-root env ? Non-root.
@Kirito0016
Copy link

Same here stuck at register/login screen.
Got error code 525.
(Unable convert value to required type: error code 525 (ai.flow.app.Http~~~~

Android 10
Sharp SHV43
Non root env android

@MankaranSingh
Copy link
Contributor

Servers are dow for maintainance.
Meanwhile, you can skip login by logging into termux env -> open python and

from common.params import Params
Params().put("UserID", "000000")

to make a fake userID. This will skip the login process next timw you launch the app

@Kirito0016
Copy link

Kirito0016 commented Mar 11, 2024

Thank you, I have succeed login, but where is python file?

Edit:
Only I can open python is setup.py
and it does not work

@wcx140331
Copy link

Servers are dow for maintainance. Meanwhile, you can skip login by logging into termux env -> open python and

from common.params import Params
Params().put("UserID", "000000")

to make a fake userID. This will skip the login process next timw you launch the app

Can you write down the specific operating procedures? thank

@Rallymen007
Copy link

I believe you need to set UserToken not UserID to skip the register prompt

@Kirito0016
Copy link

That did trick!!!

For anyone doesn't know how.

Close all apps.
Launch Termux.

For non-root user run: login-flowpilot
For Root user run: sudo login-flowpilot-root

Run/type: cd flowpilot

For non-root users run: nano setup.py
For root user run: sudo nano setup.py

Add text below last line:
from common.params import Params
Params().put("UserToken", "000000")

Save and exit. (tick on ctrl, x, y, enter)

Launch flowpilot.

@spacewear
Copy link

Same issue still

@amoghmunikote
Copy link

amoghmunikote commented Apr 23, 2024

That did trick!!!

For anyone doesn't know how.

Close all apps. Launch Termux.

For non-root user run: login-flowpilot For Root user run: sudo login-flowpilot-root

Run/type: cd flowpilot

For non-root users run: nano setup.py For root user run: sudo nano setup.py

Add text below last line: from common.params import Params Params().put("UserToken", "000000")

Save and exit. (tick on ctrl, x, y, enter)

Launch flowpilot.

How would I do this on Ubuntu 20.04?

@RaghavPrabhakar66
Copy link
Member

Add that line at the end of this file: https://github.com/flowdriveai/flowpilot/blob/master/setup.py and run normally.

@v4zha
Copy link

v4zha commented May 14, 2024

check if the UserToken parameter exists by opening a python session in flowpilot folder.Open Termux and run the following

$ login-flowpilot
$ cd flowpilot
$ python

now in the python shell run

>>> from common.params import Params
>>> p=Params()
>>> p.get("UserToken")
#if the value of UserToken  is empty
>>> p.put("UserToken", "000000")

and now run the flowpilot app

@amoghmunikote
Copy link

Ok since the issue seems to be fixed, I will put a pull request to bypass the login screen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants