Comments (5)
Fixed this with:
Should all be good now, creating the config dir when it's not there.
from degoo.
Could be a symptom of #1, but yeah it's not super user friendly at present, definitely a WIP (Work In Progress). That said run builld.py
first, and see what happens. The command tools as I use them are all the degoo__command
files.
That is I don't run:
`./commands.py ls'
but
'./degoo_ls
if you look in commands.py
:
Line 54 in 21f39c7
you'll find a clue.
After build.py
has built the local commands:
./degoo_login
will say what's needed. Currently a dirt cheap implementation, it will just create a login file for you and ask you to go edit it ....
For clues see:
Line 179 in 21f39c7
Line 133 in 21f39c7
It can use some gloss that's for sure ;-). Quick and dirty so far, as I've mostly spent time reading the network traffic to get the commands developed. And login is currently broken it seems, and needs diagnosis and fixing.
PRs always welcome, but I'll take a look at it too some time, maybe not till next year ....
from degoo.
Thanks! Led me on the right track. On running ./degoo_login
I received error:
FileNotFound(2,
'No such file or directory')`
I then manually created the directory ~/.config/degoo
and received the expected error:
No login credentials available. Please add account details to [cred_file]
Login failed.
Now the config file was created, so I could edit it back to the same spot as @jeffmikels in #1. I added the debug code and reproduced his issue:
{'Date': ...}
{"message":"Missing Authentication Token"}
from degoo.
Sorry, shouldn't have closed. Guess the issue is (1) add some usage notes and (2) handle a missing directory and create it if missing. Thanks for starting on a potentially very useful tool though!
from degoo.
Yep that's bug. It should certainly create the degoo app folder if it's not there! As ever PR welcome, or I'll fix that some time .... mean time this is a reminder and I'll rename it for that.
This line:
Line 179 in 21f39c7
needs to be prefixed with a check that the folder exists, and if not, create it.
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
- No download URL HOT 5
- 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.