iheanyi / bandcamp-dl

Simple python script to download Bandcamp albums
The Unlicense
968 stars 109 forks source link

Download crashes `'bandcamp_dl.config' has no attribute 'init_config'` #232

Closed jneidel closed 1 month ago

jneidel commented 2 months ago

Describe the bug Crashes on download.

To Reproduce Downloading anything throws this error.

bandcamp-dl "https://jpegmafia.bandcamp.com/album/i-lay-down-my-life-for-you"

Expected behavior Don't crash :joy:

Logs

Traceback (most recent call last):
  File "/bin/bandcamp-dl", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3.12/site-packages/bandcamp_dl/__main__.py", line 89, in main
    arguments = config.init_config(parser)
                ^^^^^^^^^^^^^^^^^^
AttributeError: module 'bandcamp_dl.config' has no attribute 'init_config'

Desktop:

kjake commented 2 months ago

From my testing, this line isn't needed, and I deleted it from my PR: https://github.com/iheanyi/bandcamp-dl/pull/234

ghost commented 1 month ago

Having this issue as well, has there been any fix..?

kjake commented 1 month ago

The PR has merged, so I think this can be closed @Evolution0