GithubHelp home page GithubHelp logo

Can't login about degoo_drive HOT 15 CLOSED

mdkpredator avatar mdkpredator commented on July 20, 2024
Can't login

from degoo_drive.

Comments (15)

mo0on15 avatar mo0on15 commented on July 20, 2024

Hi MDKPredator,
First of all, I would like to thank you for this project and more than wonderful effort.
The same thing happened to me and I reviewed the steps more than once and tried them in more than one different environment and the same result

from degoo_drive.

MDKPredator avatar MDKPredator commented on July 20, 2024

Hi,

Please, use Login bypass to connect with Degoo.

from degoo_drive.

MDKPredator avatar MDKPredator commented on July 20, 2024

I have uploaded a fix because the data was not being obtained.

from degoo_drive.

mo0on15 avatar mo0on15 commented on July 20, 2024

thanks for your support I will try it and get back with the result

from degoo_drive.

mo0on15 avatar mo0on15 commented on July 20, 2024

still not working

from degoo_drive.

MDKPredator avatar MDKPredator commented on July 20, 2024

I would need more information to be able to help, such as the command executed, the log or how you have filled in the login data.

from degoo_drive.

mo0on15 avatar mo0on15 commented on July 20, 2024

Hi Mr.Alberto
thanks for your support
I'm using Ubuntu server 20.04.4 LTS the command executed:
root@localhost:/degoo_drive# python3 degoo_login
Login failed.
root@localhost:
/degoo_drive# python3 fuse_degoo.py
Token and/or refresh token does not found. Login with Degoo
Token expired. Refreshing
Traceback (most recent call last):
File "fuse_degoo.py", line 856, in
main()
File "fuse_degoo.py", line 822, in main
operations.load_degoo_content()
File "fuse_degoo.py", line 696, in load_degoo_content
degoo_tree_content = degoo.tree_cache(mode=self._mode)
File "/root/degoo_drive/degoo/init.py", line 2023, in tree_cache
tree(dir_id, show_times, _done, mode=mode)
File "/root/degoo_drive/degoo/init.py", line 1979, in tree
kids = get_children(dir_id)
File "/root/degoo_drive/degoo/init.py", line 1445, in get_children
CACHE_CONTENTS[dir_id] = api.getFileChildren5(dir_id)
File "/root/degoo_drive/degoo/init.py", line 767, in getFileChildren5
raise DegooError(f"getFileChildren5 failed with: {message}")
degoo.DegooError: getFileChildren5 failed with: Not Authorized to access getFileChildren5 on type Query
And for your information, I am not a professional. If the steps are incorrect, please explain them to me.
Once again thanks for your help

from degoo_drive.

MDKPredator avatar MDKPredator commented on July 20, 2024

Clone again the repository, I uploaded a fix 3 days ago.
BTW: Login (degoo_login) does not work

from degoo_drive.

mo0on15 avatar mo0on15 commented on July 20, 2024

i was clone your update before i writing this to you.

root@localhost:/degoo_drive# python3 degoo_login
degoo_login: Extra data: line 1 column 11 (char 10)
for help use --help
root@localhost:
/degoo_drive# cd -
/root/.config/degoo
root@localhost:/.config/degoo# vi credentials.json
root@localhost:
/.config/degoo# cd -
/root/degoo_drive
root@localhost:/degoo_drive# python3 degoo_login
degoo_login: Extra data: line 1 column 11 (char 10)
for help use --help
root@localhost:
/degoo_drive# python3 degoo_login
degoo_login: Extra data: line 1 column 11 (char 10)
for help use --help
root@localhost:~/degoo_drive# python3 fuse_degoo.py
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/jwt/api_jws.py", line 180, in _load
signing_input, crypto_segment = jwt.rsplit(b'.', 1)
ValueError: not enough values to unpack (expected 2, got 1)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "fuse_degoo.py", line 856, in
main()
File "fuse_degoo.py", line 822, in main
operations.load_degoo_content()
File "fuse_degoo.py", line 696, in load_degoo_content
degoo_tree_content = degoo.tree_cache(mode=self._mode)
File "/root/degoo_drive/degoo/init.py", line 2023, in tree_cache
tree(dir_id, show_times, _done, mode=mode)
File "/root/degoo_drive/degoo/init.py", line 1979, in tree
kids = get_children(dir_id)
File "/root/degoo_drive/degoo/init.py", line 1445, in get_children
CACHE_CONTENTS[dir_id] = api.getFileChildren5(dir_id)
File "/root/degoo_drive/degoo/init.py", line 742, in getFileChildren5
"Token": self._get_token(),
File "/root/degoo_drive/degoo/init.py", line 450, in _get_token
deserialized = jwt.decode(
File "/usr/lib/python3/dist-packages/jwt/api_jwt.py", line 84, in decode
payload, _, _, _ = self._load(jwt)
File "/usr/lib/python3/dist-packages/jwt/api_jws.py", line 183, in _load
raise DecodeError('Not enough segments')
jwt.exceptions.DecodeError: Not enough segments

from degoo_drive.

MDKPredator avatar MDKPredator commented on July 20, 2024

You need to modify the file keys.json or pass the token and refreshToken by parameters: python3 fuse_degoo.py --degoo-token myLoginToken --degoo-refresh-token myRefreshToken for login bypass

from degoo_drive.

mo0on15 avatar mo0on15 commented on July 20, 2024

i did the login to app.degoo.com and i copy the token and i but in to file keys.josn and i run

root@localhost:~/degoo_drive# python3 fuse_degoo.py --degoo-token myLoginToken --degoo-refresh-token myRefreshToken
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/jwt/api_jws.py", line 180, in _load
signing_input, crypto_segment = jwt.rsplit(b'.', 1)
ValueError: not enough values to unpack (expected 2, got 1)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "fuse_degoo.py", line 856, in
main()
File "fuse_degoo.py", line 822, in main
operations.load_degoo_content()
File "fuse_degoo.py", line 696, in load_degoo_content
degoo_tree_content = degoo.tree_cache(mode=self._mode)
File "/root/degoo_drive/degoo/init.py", line 2023, in tree_cache
tree(dir_id, show_times, _done, mode=mode)
File "/root/degoo_drive/degoo/init.py", line 1979, in tree
kids = get_children(dir_id)
File "/root/degoo_drive/degoo/init.py", line 1445, in get_children
CACHE_CONTENTS[dir_id] = api.getFileChildren5(dir_id)
File "/root/degoo_drive/degoo/init.py", line 742, in getFileChildren5
"Token": self._get_token(),
File "/root/degoo_drive/degoo/init.py", line 450, in _get_token
deserialized = jwt.decode(
File "/usr/lib/python3/dist-packages/jwt/api_jwt.py", line 84, in decode
payload, _, _, _ = self._load(jwt)
File "/usr/lib/python3/dist-packages/jwt/api_jws.py", line 183, in _load
raise DecodeError('Not enough segments')
jwt.exceptions.DecodeError: Not enough segments
root@localhost:/degoo_drive# python3 degoo_login
Login failed.
root@localhost:
/degoo_drive#

from degoo_drive.

MDKPredator avatar MDKPredator commented on July 20, 2024

If you modify the keys.json file, it is not necessary to use the --degoo-token --degoo-refresh-token parameters. Either modify the file or use the arguments, but not both (the arguments will replace whatever is in the file).

Plseas, use this page to check if the token is correct: https://jwt.io/

from degoo_drive.

mo0on15 avatar mo0on15 commented on July 20, 2024

I followed all instructions all yesterday, when I try to run:

python3 degoo_login
Login failed.
but i did copy the token as you inform me and run:
python3 fuse_degoo.py
Token expired. Refreshing
^CUnexpected error: <class 'KeyboardInterrupt'>
Traceback (most recent call last):
File "fuse_degoo.py", line 856, in
main()
File "fuse_degoo.py", line 843, in main
trio.run(pyfuse3.main)
File "/usr/local/lib/python3.8/dist-packages/trio/_core/_run.py", line 1946, in run
raise runner.main_task_outcome.error
File "/usr/local/lib/python3.8/dist-packages/_pyfuse3.py", line 43, in wrapper
await fn(*args, **kwargs)
File "src/pyfuse3.pyx", line 781, in main
_notify_queue.put(None)
File "/usr/local/lib/python3.8/dist-packages/trio/_core/_run.py", line 813, in aexit
raise combined_error_from_nursery
File "/usr/local/lib/python3.8/dist-packages/trio/_core/_run.py", line 1184, in raise_cancel
raise KeyboardInterrupt
KeyboardInterrupt

The strange thing is, when you run, it works and munt the file, and after a while it stops working and the added file disappears.

from degoo_drive.

MDKPredator avatar MDKPredator commented on July 20, 2024

You are stopping the application, so it is logical that the virtual drive disappears. To keep it mounted you have to run it in background: python3 fuse_degoo.py &

from degoo_drive.

mo0on15 avatar mo0on15 commented on July 20, 2024

thanks for you support and help

from degoo_drive.

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.