Comments (5)
Firs thing I do with debugging such a thing is check whether it's doable using Degoo's web app. That sets the standard for me.
If it can't then I'm looking at a Degoo feature/bug/limitation and if worth my while I contact Degoo support. I have found such things and they have responded and fixed them.
If it can, then I watch the download in the browsers Network transaction watcher (usually press F12 in browser, click Network, clear the data and then click Download) I log the whole transaction and then in a text editor format it nicely (I use Atom and it has a lot of beautifiers, usually a JSON beautifier lays it out nicely). That's basically how degoo_get
was written ... and so I'm looking for any idiosyncrasies overlooked in the original reverse engineering.
The patch you supplied is puzzling. As it seems to do nothing. Replaces root
with relative_root
in the join but above relative_root = root
- there may be missing context of course (perhaps root
changes in the loop).
from degoo.
Patch does something when target_junk
contains a string. In this case it contains /mnt
and in the first iteration the loop incorrectly adds ID of root (full path with /mnt
). Next iteration tries to read ID of relative_root (without /mnt
), which doesn't exist in the dict.
I tried downloading the files with web browser and it fails, so perhaps it's a problem at Degoo's end or something went wrong while uploading. Details of the file in web UI shows file size correctly though. Strange thing is that even if I delete the files from Degoo and re-upload them, the same files are missing.
from degoo.
I had the same issue and was able to trace it back to the wrong "checksum" being created.
The checksum must not contain + or /.
However, I then noticed that if you use Python 3.9 as described in the readme, the checksum is apparently adjusted by the request lib?
So in case you didn't read correctly either try Python 3.9
from degoo.
ok i have to correct myself. unfortunately the error remains with python 3.9 and i have to correct the checksum manually. Then it works:
Checksum = Checksum.replace("/","_")
Checksum = Checksum.replace("+","-")
I am pretty sure the issues was gone on my first python3.9 setup but now it is there again on another machine.. maybe I should double check
from degoo.
@bernd-wechner could you maybe have another look at this issues?
from degoo.
Related Issues (20)
- Make uploads and downloads restartable
- Getting lots of <Response 504> errors. HOT 4
- Degoo uses Windows filenaming conventions and not Unix HOT 3
- Running Degoo api on Windows results in os.sep and os.path.abspath conflicts (and possibly others) HOT 46
- List of commands that can be used? HOT 4
- Possible login issue HOT 19
- How to Use degoo_put command ? HOT 2
- Downloads seem to stop at 128MB HOT 1
- 429 on login HOT 41
- Stack-trace while listing subfolder items HOT 5
- How to use? HOT 2
- FUSE? HOT 12
- Missing Dependency HOT 2
- 403 Error when trying to login HOT 38
- response 400 for all commands HOT 1
- How do I download all Degoo files at once? HOT 1
- Trying to run in python env on mac get : ModuleNotFoundError: No module named 'appdirs' HOT 1
- Any further development? HOT 4
- guide
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.