GithubHelp home page GithubHelp logo

Comments (5)

7x11x13 avatar 7x11x13 commented on June 4, 2024 5

Fixed in v2.7.5

from scdl.

ALegitCookie avatar ALegitCookie commented on June 4, 2024 1

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.

adithayyil avatar adithayyil commented on June 4, 2024

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.

adithayyil avatar adithayyil commented on June 4, 2024

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.

s3raph7 avatar s3raph7 commented on June 4, 2024

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.

After a little bit of tweaking thanks to your advice, it works fine once again.

from scdl.

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.