Comments (5)
Fixed in v2.7.5
from scdl.
yeah i'm having similar problems on mac (Ventura) when trying to download anything. It was working fine last time I used it on this computer, maybe a week ago.
Here's what it spits out:
warnings.warn(
Soundcloud Downloader
Traceback (most recent call last):
File "/Users/tennison/Library/Python/3.9/bin/scdl", line 8, in
sys.exit(main())
File "/Users/tennison/Library/Python/3.9/lib/python/site-packages/scdl/scdl.py", line 158, in main
if not client.is_client_id_valid():
File "/Users/tennison/Library/Python/3.9/lib/python/site-packages/soundcloud/soundcloud.py", line 125, in is_client_id_valid
next(
StopIteration
from scdl.
Same, but I also seem to be getting a MissingValueError
as you can see at the end when it tries to get the track.
Soundcloud Downloader
Traceback (most recent call last):
File "/Users/silicon/Library/Python/3.9/lib/python/site-packages/dacite/core.py", line 72, in from_dict
value = get_default_value_for_field(field, field_type)
File "/Users/silicon/Library/Python/3.9/lib/python/site-packages/dacite/dataclasses.py", line 21, in get_default_value_for_field
raise DefaultValueNotFoundError()
dacite.dataclasses.DefaultValueNotFoundError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/silicon/Library/Python/3.9/bin/scdl", line 8, in <module>
sys.exit(main())
File "/Users/silicon/Library/Python/3.9/lib/python/site-packages/scdl/scdl.py", line 158, in main
if not client.is_client_id_valid():
File "/Users/silicon/Library/Python/3.9/lib/python/site-packages/soundcloud/soundcloud.py", line 125, in is_client_id_valid
self.requests["track"](track_id=1032303631, use_auth=False)
File "/Users/silicon/Library/Python/3.9/lib/python/site-packages/soundcloud/soundcloud.py", line 449, in __call__
return self.convert_dict(r.json())
File "/Users/silicon/Library/Python/3.9/lib/python/site-packages/soundcloud/soundcloud.py", line 429, in convert_dict
return self.return_type.from_dict(d)
File "/Users/silicon/Library/Python/3.9/lib/python/site-packages/soundcloud/resource/base.py", line 19, in from_dict
return from_dict(cls, d, cls.dacite_config)
File "/Users/silicon/Library/Python/3.9/lib/python/site-packages/dacite/core.py", line 76, in from_dict
raise MissingValueError(field.name)
dacite.exceptions.MissingValueError: missing value for field "track_format"
from scdl.
Update:
I removed track_format
in the API wrapper and its seems to download fine now. But I am not sure what track_format
does so not sure what that will break lol.
from scdl.
Update:
I removed
track_format
in the API wrapper and its seems to download fine now. But I am not sure whattrack_format
does so not sure what that will break lol.
After a little bit of tweaking thanks to your advice, it works fine once again.
from scdl.
Related Issues (20)
- Disable color
- An error occurred downloading [Track] HOT 1
- --onlymp3 function not working HOT 2
- Any plans to publish scdl on brew?
- --flac not working and mp3s only download up to 128kpbs
- add multithreading HOT 2
- cannot download as of 18/03 > yesterday was working fine :( HOT 5
- zsh: command not found: scdl HOT 1
- QoL Request: Add all options to config file
- TCP Error
- StopIteration Exception in is_client_id_valid() HOT 8
- I believe that soundcloud changed some endpoints HOT 1
- High quality download doesn't seem to work HOT 3
- Traceback HOT 1
- How to get the auth token? HOT 1
- [FEATURE REQ] prefer opus over mp3 HOT 3
- Some specific song won't download HOT 3
- Playlist stops downloading upon reaching a track it has issues with.
- "path not found" error HOT 4
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 scdl.