scdl-org / scdl

Soundcloud Music Downloader
GNU General Public License v2.0
3.41k stars 339 forks source link

SCDL Hangs or Gives an Error? #396

Open SarahSzabo opened 2 years ago

SarahSzabo commented 2 years ago

When trying to download a track, I usually get either an error "Failed to get item" or it just hangs forever:

scdl -l https://soundcloud.com/ranggaelectroscope2/karma-theme?si=f395f9dbf78b4001bfbdad7761f80a18&utm_source=clipboard&utm_medium=text&utm_campaign=social_sharing -f debug

image

I used pip3 to uninstall and reinstall scdl, but this didn't help. How should I approach debugging this?

System specs:

System:
  Kernel: 5.15.2-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
  parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.15-x86_64
  root=UUID=6ce26050-4dcc-47b7-a937-45467d8b8d61 rw rootflags=subvol=@
  radeon.modeset=1 nvdia-drm.modeset=1 quiet
  cryptdevice=UUID=466d5812-64c7-4a28-bcc4-a1a5adfa9450:luks-466d5812-64c7-4a28-bcc4-a1a5adfa9450
  root=/dev/mapper/luks-466d5812-64c7-4a28-bcc4-a1a5adfa9450 apparmor=1
  security=apparmor
  resume=/dev/mapper/luks-81b2dc57-06f5-4471-b484-77c3a516f307
  udev.log_priority=3
  Desktop: KDE Plasma 5.23.3 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM
  Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME X570-PRO v: Rev X.0x
  serial: <superuser required> UEFI: American Megatrends v: 4021
  date: 08/09/2021
Battery:
  Message: No system battery data found. Is one present?
Memory:
  RAM: total: 62.78 GiB used: 29 GiB (46.2%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: 16-Core model: AMD Ryzen 9 5950X bits: 64 type: MT MCP arch: Zen 3
  family: 19 (25) model-id: 21 (33) stepping: 0 microcode: A201016 cache:
  L1: 1024 KiB L2: 8 MiB L3: 64 MiB bogomips: 217688
  Speed: 3703 MHz min/max: 2200/3400 MHz boost: enabled Core speeds (MHz):
  1: 3703 2: 3991 3: 3294 4: 3651 5: 3703 6: 3229 7: 3827 8: 3575 9: 3807
  10: 3812 11: 3848 12: 3794 13: 3774 14: 3716 15: 3458 16: 4152 17: 3773
  18: 3472 19: 3720 20: 3091 21: 3638 22: 3971 23: 3014 24: 3818 25: 3705
  26: 3803 27: 3725 28: 3478 29: 4649 30: 3764 31: 3202 32: 4611
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
  bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
  constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc
  cr8_legacy cx16 cx8 de decodeassists erms extapic extd_apicid f16c
  flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs
  invpcid irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor
  movbe msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx ospke osvw
  overflow_recov pae pat pausefilter pclmulqdq pdpe1gb perfctr_core
  perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt pse pse36 rapl rdpid
  rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni skinit smap smca smep
  ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall
  tce topoext tsc tsc_scale umip v_spec_ctrl v_vmsave_vmload vaes vgif
  vmcb_clean vme vmmcall vpclmulqdq wbnoinvd wdt xgetbv1 xsave xsavec
  xsaveerptr xsaveopt xsaves
  Vulnerabilities: Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
  mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW,
  STIBP: always-on, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GA104 [GeForce RTX 3070] vendor: ASUSTeK driver: nvidia
  v: 495.44 alternate: nouveau,nvidia_drm bus-ID: 0a:00.0 chip-ID: 10de:2484
  class-ID: 0300
  Device-2: AMD Cape Verde PRO [Radeon HD 7750/8740 / R7 250E]
  vendor: VISIONTEK driver: radeon v: kernel alternate: amdgpu bus-ID: 0b:00.0
  chip-ID: 1002:683f class-ID: 0300
  Device-3: Microdia USB 2.0 Camera type: USB driver: snd-usb-audio,uvcvideo
  bus-ID: 7-2:2 chip-ID: 0c45:6367 class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org 1.21.1.1 compositor: kwin_x11 driver:
  loaded: modesetting,nvidia display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5760x2160 s-dpi: 80 s-size: 1829x686mm (72.0x27.0")
  s-diag: 1953mm (76.9")
  Monitor-1: DP-1 res: 1920x1080 dpi: 93 size: 527x296mm (20.7x11.7")
  diag: 604mm (23.8")
  Monitor-2: HDMI-0 res: 1920x1080 dpi: 93 size: 527x296mm (20.7x11.7")
  diag: 604mm (23.8")
  Monitor-3: DP-3 res: 1920x1080 dpi: 82 size: 598x336mm (23.5x13.2")
  diag: 686mm (27")
  Monitor-4: DP-4 res: 1920x1080 dpi: 82 size: 598x336mm (23.5x13.2")
  diag: 686mm (27")
  Monitor-5: DP-1-3 res: 1920x1080 dpi: 93 size: 527x296mm (20.7x11.7")
  diag: 604mm (23.8")
  Monitor-6: DP-1-4 res: 1920x1080 dpi: 82 size: 598x336mm (23.5x13.2")
  diag: 686mm (27")
  OpenGL: renderer: NVIDIA GeForce RTX 3070/PCIe/SSE2 v: 4.6.0 NVIDIA 495.44
  direct render: Yes
Audio:
  Device-1: NVIDIA GA104 High Definition Audio vendor: ASUSTeK
  driver: snd_hda_intel v: kernel bus-ID: 0a:00.1 chip-ID: 10de:228b
  class-ID: 0403
  Device-2: AMD Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000
  Series]
  vendor: VISIONTEK driver: snd_hda_intel v: kernel bus-ID: 0b:00.1
  chip-ID: 1002:aab0 class-ID: 0403
  Device-3: AMD Starship/Matisse HD Audio vendor: ASUSTeK
  driver: snd_hda_intel v: kernel bus-ID: 0d:00.4 chip-ID: 1022:1487
  class-ID: 0403
  Device-4: JMTek LLC. Plugable USB Audio Device type: USB
  driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-1:2 chip-ID: 0c76:120b
  class-ID: 0300 serial: <filter>
  Device-5: Schiit Audio Schiit Unison Universal Dac type: USB
  driver: snd-usb-audio bus-ID: 3-3:4 chip-ID: 30be:1019 class-ID: 0102
  Device-6: ASUSTek ASUS AI Noise-Cancelling Mic Adapter type: USB
  driver: hid-generic,snd-usb-audio,usbhid bus-ID: 5-5:3 chip-ID: 0b05:194e
  class-ID: 0300 serial: <filter>
  Device-7: Microdia USB 2.0 Camera type: USB driver: snd-usb-audio,uvcvideo
  bus-ID: 7-2:2 chip-ID: 0c45:6367 class-ID: 0102 serial: <filter>
  Sound Server-1: ALSA v: k5.15.2-2-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.40 running: no
Network:
  Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
  port: f000 bus-ID: 06:00.0 chip-ID: 8086:1539 class-ID: 0200
  IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
  broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Microsoft XBOX ACC type: USB driver: mt76x2u bus-ID: 1-1.4:5
  chip-ID: 045e:02fe class-ID: 0000 serial: <filter>
  IF: wlp5s0u1u4 state: down mac: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB
  driver: btusb v: 0.8 bus-ID: 3-5.3:9 chip-ID: 0a12:0001 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
  Device-1: luks-c847cf9f-c6b5-4624-a25e-4531e318851a maj-min: 254:2
  type: LUKS dm: dm-2 size: 3.64 TiB
  Components:
  p-1: sda1 maj-min: 8:1 size: 3.64 TiB
  Device-2: luks-466d5812-64c7-4a28-bcc4-a1a5adfa9450 maj-min: 254:0
  type: LUKS dm: dm-0 size: 864.75 GiB
  Components:
  p-1: nvme0n1p2 maj-min: 259:2 size: 864.75 GiB
  Device-3: luks-81b2dc57-06f5-4471-b484-77c3a516f307 maj-min: 254:1
  type: LUKS dm: dm-1 size: 66.26 GiB
  Components:
  p-1: nvme0n1p3 maj-min: 259:3 size: 66.26 GiB
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 9.23 TiB used: 2.26 TiB (24.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
  model: WDS100T3X0C-00SJG0 size: 931.51 GiB block-size: physical: 512 B
  logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
  rev: 111110WD temp: 49.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:4 vendor: Western Digital
  model: WDS100T2B0C-00PXH0 size: 931.51 GiB block-size: physical: 512 B
  logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
  rev: 211070WD temp: 43.9 C scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 vendor: Western Digital
  model: WD4005FZBX-00K5WB0 size: 3.64 TiB block-size: physical: 4096 B
  logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
  rev: 1A01 scheme: GPT
  ID-4: /dev/sdb maj-min: 8:16 vendor: Western Digital
  model: WD4005FZBX-00K5WB0 size: 3.64 TiB block-size: physical: 4096 B
  logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
  rev: 1A01 scheme: GPT
  ID-5: /dev/sdc maj-min: 8:32 type: USB vendor: Samsung
  model: Flash Drive FIT size: 119.51 GiB block-size: physical: 512 B
  logical: 512 B type: SSD serial: <filter> rev: 1100 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  ID-6: /dev/sdd maj-min: 8:48 type: USB vendor: Toshiba model: TransMemory
  size: 14.92 GiB block-size: physical: 512 B logical: 512 B type: N/A
  serial: <filter> rev: 1.00 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 864.75 GiB size: 767 GiB (88.70%) used: 551.7 GiB (71.9%)
  fs: btrfs dev: /dev/dm-0 maj-min: 254:0
  mapped: luks-466d5812-64c7-4a28-bcc4-a1a5adfa9450 label: N/A
  uuid: 6ce26050-4dcc-47b7-a937-45467d8b8d61
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
  used: 26.1 MiB (5.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
  uuid: 4B3B-683F
  ID-3: /home raw-size: 864.75 GiB size: 767 GiB (88.70%)
  used: 551.7 GiB (71.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
  mapped: luks-466d5812-64c7-4a28-bcc4-a1a5adfa9450 label: N/A
  uuid: 6ce26050-4dcc-47b7-a937-45467d8b8d61
  ID-4: /mnt/System_Root raw-size: 864.75 GiB size: 767 GiB (88.70%)
  used: 551.7 GiB (71.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
  mapped: luks-466d5812-64c7-4a28-bcc4-a1a5adfa9450 label: N/A
  uuid: 6ce26050-4dcc-47b7-a937-45467d8b8d61
  ID-5: /run/media/sarah/ConvergentRefuge raw-size: 3.64 TiB
  size: 3.64 TiB (100.00%) used: 1.3 TiB (35.7%) fs: btrfs dev: /dev/dm-2
  maj-min: 254:2 mapped: luks-c847cf9f-c6b5-4624-a25e-4531e318851a
  label: ConvergentRefuge uuid: 7d295e73-4143-4eb1-9d22-75a06b1d2984
  ID-6: /run/media/sarah/MSS_EXtended raw-size: 731.51 GiB
  size: 731.16 GiB (99.95%) used: 436.64 GiB (59.7%) fs: xfs
  dev: /dev/nvme1n1p1 maj-min: 259:5 label: MSS EXtended
  uuid: 20339e0b-8343-433e-9209-ac67e31d9d73
  ID-7: /run/user/1000/keybase/kbfs raw-size: N/A size: 250 GiB
  used: 0 KiB (0.0%) fs: fuse dev: /dev/fuse label: N/A uuid: N/A
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 64 GiB used: 156 MiB (0.2%) priority: -2
  dev: /dev/dm-1 maj-min: 254:1
  mapped: luks-81b2dc57-06f5-4471-b484-77c3a516f307 label: N/A
  uuid: c5112526-26fb-473c-b7ab-bb9ef049aa38
Unmounted:
  ID-1: /dev/nvme1n1p2 maj-min: 259:6 size: 16 MiB fs: <superuser required>
  label: N/A uuid: N/A
  ID-2: /dev/nvme1n1p3 maj-min: 259:7 size: 199.98 GiB fs: ntfs label: N/A
  uuid: E658FD3258FD025B
  ID-3: /dev/sdb1 maj-min: 8:17 size: 3.64 TiB fs: ntfs label: JerichoVariance
  uuid: 1AB22D5664889CBD
  ID-4: /dev/sdc1 maj-min: 8:33 size: 3.22 GiB fs: iso9660
  ID-5: /dev/sdc2 maj-min: 8:34 size: 4 MiB fs: vfat label: MISO_EFI
  uuid: E363-7F8B
  ID-6: /dev/sdd1 maj-min: 8:49 size: 2.97 GiB fs: iso9660
  ID-7: /dev/sdd2 maj-min: 8:50 size: 4 MiB fs: vfat label: MISO_EFI
  uuid: 97EE-3EF6
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 1 rev: 2.0
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 1-1:2 info: VIA Labs Hub ports: 4 rev: 2.1 speed: 480 Mb/s
  power: 100mA chip-ID: 2109:3431 class-ID: 0900
  Hub-3: 1-1.2:3 info: VIA Labs VL813 Hub ports: 4 rev: 2.1 speed: 480 Mb/s
  chip-ID: 2109:2813 class-ID: 0900
  Device-1: 1-1.3:4 info: Microsoft Xbox One Controller (Firmware 2015)
  type: <vendor specific> driver: xpad interfaces: 3 rev: 2.0 speed: 12 Mb/s
  power: 500mA chip-ID: 045e:02dd class-ID: ff00 serial: <filter>
  Device-2: 1-1.4:5 info: Microsoft XBOX ACC type: Network driver: mt76x2u
  interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 045e:02fe
  class-ID: 0000 serial: <filter>
  Hub-4: 2-0:1 info: Super-speed hub ports: 4 rev: 3.0 speed: 5 Gb/s
  chip-ID: 1d6b:0003 class-ID: 0900
  Hub-5: 2-2:2 info: VIA Labs VL813 Hub ports: 4 rev: 3.0 speed: 5 Gb/s
  chip-ID: 2109:0813 class-ID: 0900
  Hub-6: 3-0:1 info: Hi-speed hub with single TT ports: 6 rev: 2.0
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-1:2 info: JMTek LLC. Plugable USB Audio Device type: Audio,HID
  driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 1.1
  speed: 12 Mb/s power: 100mA chip-ID: 0c76:120b class-ID: 0300
  serial: <filter>
  Hub-7: 3-2:3 info: Terminus FE 2.1 7-port Hub ports: 7 rev: 2.0
  speed: 480 Mb/s power: 100mA chip-ID: 1a40:0201 class-ID: 0900
  Device-1: 3-2.1:5 info: Sunplus Innovation Gaming mouse [Philips SPK9304]
  type: Mouse driver: hid-generic,usbhid interfaces: 1 rev: 2.0
  speed: 1.5 Mb/s power: 98mA chip-ID: 1bcf:08a0 class-ID: 0301
  Device-2: 3-2.4:7
  info: Toshiba TransMemory-Mini / Kingston DataTraveler 2.0 Stick
  type: Mass Storage driver: usb-storage interfaces: 1 rev: 2.0
  speed: 480 Mb/s power: 100mA chip-ID: 0930:6544 class-ID: 0806
  serial: <filter>
  Device-3: 3-2.5:10 info: Microdia Backlit Gaming Keyboard
  type: Keyboard,Mouse driver: hid-generic,usbhid interfaces: 2 rev: 2.0
  speed: 12 Mb/s power: 400mA chip-ID: 0c45:652f class-ID: 0301
  Device-4: 3-2.6:11 info: HUION H420 type: Mouse,HID driver: uclogic,usbhid
  interfaces: 3 rev: 1.1 speed: 12 Mb/s power: 100mA chip-ID: 256c:006e
  class-ID: 0300
  Hub-8: 3-2.7:12 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s
  power: 100mA chip-ID: 1a40:0101 class-ID: 0900
  Device-1: 3-2.7.4:13 info: Texas Instruments TI-Nspire Calculator
  type: <vendor specific> driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s
  power: 500mA chip-ID: 0451:e012 class-ID: 0000
  Device-2: 3-3:4 info: Schiit Audio Schiit Unison Universal Dac type: Audio
  driver: snd-usb-audio interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
  chip-ID: 30be:1019 class-ID: 0102
  Hub-9: 3-5:6 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s
  power: 100mA chip-ID: 05e3:0608 class-ID: 0900
  Device-1: 3-5.3:9 info: Cambridge Silicon Radio Bluetooth Dongle (HCI mode)
  type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s
  power: 100mA chip-ID: 0a12:0001 class-ID: e001
  Hub-10: 3-6:8 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s
  power: 100mA chip-ID: 05e3:0608 class-ID: 0900
  Hub-11: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
  chip-ID: 1d6b:0003 class-ID: 0900
  Hub-12: 5-0:1 info: Hi-speed hub with single TT ports: 6 rev: 2.0
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 5-4:2 info: ASUSTek AURA LED Controller type: HID
  driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 16mA
  chip-ID: 0b05:18f3 class-ID: 0300 serial: <filter>
  Device-2: 5-5:3 info: ASUSTek ASUS AI Noise-Cancelling Mic Adapter
  type: Audio,HID driver: hid-generic,snd-usb-audio,usbhid interfaces: 4
  rev: 1.1 speed: 12 Mb/s power: 100mA chip-ID: 0b05:194e class-ID: 0300
  serial: <filter>
  Hub-13: 6-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
  chip-ID: 1d6b:0003 class-ID: 0900
  Device-1: 6-2:2 info: Silicon Motion - Taiwan (formerly Feiya ) Flash Drive
  type: Mass Storage driver: usb-storage interfaces: 1 rev: 3.1 speed: 5 Gb/s
  power: 304mA chip-ID: 090c:1000 class-ID: 0806 serial: <filter>
  Hub-14: 7-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 7-2:2 info: Microdia USB 2.0 Camera type: Video,Audio
  driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s
  power: 500mA chip-ID: 0c45:6367 class-ID: 0102 serial: <filter>
  Hub-15: 8-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
  chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  Message: No sensor data found. Is lm-sensors configured?
Info:
  Processes: 900 Uptime: 1d 16h 16m wakeups: 0 Init: systemd v: 249
  tool: systemctl Compilers: gcc: 11.1.0 alt: 10 clang: 13.0.0 Packages: 2238
  pacman: 2219 lib: 493 flatpak: 3 snap: 16 Shell: Bash v: 5.1.8
  running-in: yakuake inxi: 3.3.09
7x11x13 commented 2 years ago

If you remove the query string I believe it should work properly (so the command should be scdl -l https://soundcloud.com/ranggaelectroscope2/karma-theme). I'll add logic to automatically remove the query string on input

SarahSzabo commented 2 years ago

Wow, I didn't even think that was a factor. Thanks for the post!