Comments (15)
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.
Hi,
Please, use Login bypass to connect with Degoo.
from degoo_drive.
I have uploaded a fix because the data was not being obtained.
from degoo_drive.
thanks for your support I will try it and get back with the result
from degoo_drive.
still not working
from degoo_drive.
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.
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/degoo_drive# python3 fuse_degoo.py
Login failed.
root@localhost:
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.
Clone again the repository, I uploaded a fix 3 days ago.
BTW: Login (degoo_login
) does not work
from degoo_drive.
i was clone your update before i writing this to you.
root@localhost:/degoo_drive# python3 degoo_login/degoo_drive# cd -
degoo_login: Extra data: line 1 column 11 (char 10)
for help use --help
root@localhost:
/root/.config/degoo
root@localhost:/.config/degoo# vi credentials.json/.config/degoo# cd -
root@localhost:
/root/degoo_drive
root@localhost:/degoo_drive# python3 degoo_login/degoo_drive# python3 degoo_login
degoo_login: Extra data: line 1 column 11 (char 10)
for help use --help
root@localhost:
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.
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.
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/degoo_drive#
Login failed.
root@localhost:
from degoo_drive.
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.
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.
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.
thanks for you support and help
from degoo_drive.
Related Issues (20)
- Signature has expired on Ubuntu HOT 4
- Is it possible to use Goofys instead of Fuse ? HOT 6
- Question - Is this read and write or only read. HOT 11
- Failed to establish a new connection & Max retries exceeded with url HOT 4
- Keep waiting after comman HOT 1
- Sync File or Copy not work anymore? HOT 8
- Login Issue (New to This) HOT 7
- user and pass in credentials.json HOT 5
- Support for Shared Folders/Files? HOT 2
- Docker application fails with error even when authenticating using tokens HOT 2
- Can't mount HOT 11
- The license HOT 5
- python int too large to convert to C HOT 1
- [Bug] Can't read a.txt file HOT 4
- OverflowError: Python int too large to convert to C int HOT 1
- Fail to copy files to and from Degoo volume HOT 10
- No token issued from degoo, only refresh token HOT 3
- Mount fuse from docker to host HOT 1
- no README.rst HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from degoo_drive.