easyrpm is checking wrong filename
Invoking easyrpm is downloading a file but checks the wrong filename
easyrpm is downloading pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_53.snap?token=1635069600_a2e88d8e6b2484118c57c2af149d65de7df53d7a but is checking for pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_53.snap
@Stig124
Not sure I understand the issue? It is the same file, except the download you mention includes the token id after the file
Yes, exactly, so it fails because it is looking for a tokenless filename
I cannot replicate this issue. Please can you post the output
I cannot replicate this issue. Please can you post the output
Version: 3.0.2
Spotify RPM tool for openSUSE / SLE
SUPPORT: https://github.com/megamaced/spotify-easyrpm/issues
MODE: prompt
CHANNEL: stable
Creating build dirs in /home/stig124/rpmbuild
find: ‘/var/cache/spotify-easyrpm’: No such file or directory
Comparing snapcraft.io repo version to installed or local machine repo version (if any)
Downloading the latest Spotify snap
--2021-10-27 11:46:49-- https://api.snapcraft.io/api/v1/snaps/download/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_53.snap
Resolving api.snapcraft.io (api.snapcraft.io)... 91.189.92.40, 91.189.92.19, 91.189.92.41, ...
Connecting to api.snapcraft.io (api.snapcraft.io)|91.189.92.40|:443... connected.
HTTP request sent, awaiting response...
HTTP/1.1 302 FOUND
server: gunicorn
date: Wed, 27 Oct 2021 09:46:50 GMT
content-type: text/html; charset=utf-8
content-length: 565
location: https://canonical-lgw01.cdn.snapcraftcontent.com/download-origin/canonical-lgw01/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_53.snap?token=1635339600_879d79f998b0b3de4a85531a5b12f8a613683790
snap-store-version: 44
x-view-name: snapdevicegw.webapi_download.snap_download
x-vcs-revision: d1a77292
x-request-id: 500EC745D8340A325C3701BB6179200995AED7
Location: https://canonical-lgw01.cdn.snapcraftcontent.com/download-origin/canonical-lgw01/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_53.snap?token=1635339600_879d79f998b0b3de4a85531a5b12f8a613683790 [following]
--2021-10-27 11:46:50-- https://canonical-lgw01.cdn.snapcraftcontent.com/download-origin/canonical-lgw01/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_53.snap?token=1635339600_879d79f998b0b3de4a85531a5b12f8a613683790
Resolving canonical-lgw01.cdn.snapcraftcontent.com (canonical-lgw01.cdn.snapcraftcontent.com)... 185.125.190.28, 185.125.190.27, 185.125.190.26
Connecting to canonical-lgw01.cdn.snapcraftcontent.com (canonical-lgw01.cdn.snapcraftcontent.com)|185.125.190.28|:443... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Server: nginx/1.14.0 (Ubuntu)
Date: Wed, 27 Oct 2021 09:46:50 GMT
Content-Type: application/octet-stream
Content-Length: 169922560
cache-control: max-age=86400
content-disposition: attachment; filename="pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_53.snap"
etag: 7e4eabac-52cb-4192-8cac-53ff84b8d99c
last-modified: Mon, 20 Sep 2021 20:06:49 GMT
vary: Origin
x-cache-status: MISS from content-cache/4
x-request-id: 0A8322AFC7600A0FAE7301BB614D32348AC5
x-vcs-revision: 932e30e0c34f4386ea22948678e1aaa9cfec77a0
X-Cache-Status: HIT from content-cache-il3/2
Accept-Ranges: bytes
Length: 169922560 (162M) [application/octet-stream]
Saving to: ‘/home/stig124/rpmbuild/SOURCES/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_53.snap?token=1635339600_879d79f998b0b3de4a85531a5b12f8a613683790’
pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_53.snap?token=1635339600_8 100%[===========================================================================================================================================>] 162.05M 56.2MB/s in 2.9s
2021-10-27 11:46:53 (56.2 MB/s) - ‘/home/stig124/rpmbuild/SOURCES/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_53.snap?token=1635339600_879d79f998b0b3de4a85531a5b12f8a613683790’ saved [169922560/169922560]
Extracting snap and preparing
Could not open /home/stig124/rpmbuild/SOURCES/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_53.snap, because No such file or directory
Failed to extract snap
Please submit bug report to https://github.com/megamaced/spotify-easyrpm/issues
@Stig124 seems your wget prints out extended or debug info, which is not a default thing
what is your version of wget?
closing as no further info