Bug 415695 - 403 Forbidden when trying to download krita-appimage-deps.tar
Summary: 403 Forbidden when trying to download krita-appimage-deps.tar
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-29 22:15 UTC by rondonumbanine
Modified: 2019-12-29 22:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rondonumbanine 2019-12-29 22:15:37 UTC
SUMMARY
Building krita with Docker fails because of a missing file called krita-appimage-deps.tar. A script is supposed to download the file with the following command:
wget https://binary-factory.kde.org/job/Krita_Nightly_Appimage_Dependency_Build/lastSuccessfulBuild/artifact/krita-appimage-deps.tar

STEPS TO REPRODUCE
1. git clone git://anongit.kde.org/scratch/dkazakov/krita-docker-env.git
2. cd krita-docker-env
3. ./bin/bootstrap-deps.sh

OBSERVED RESULT
--2019-12-29 17:09:42--  https://binary-factory.kde.org/job/Krita_Nightly_Appimage_Dependency_Build/lastSuccessfulBuild/artifact/krita-appimage-deps.tar
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving binary-factory.kde.org (binary-factory.kde.org)... 46.4.53.123, 2a01:4f8:140:1285::3
Connecting to binary-factory.kde.org (binary-factory.kde.org)|46.4.53.123|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://build-artifacts.kde.org/binary-factory/Krita_Nightly_Appimage_Dependency_Build/lastSuccessfulBuild/krita-appimage-deps.tar [following]
--2019-12-29 17:09:43--  https://build-artifacts.kde.org/binary-factory/Krita_Nightly_Appimage_Dependency_Build/lastSuccessfulBuild/krita-appimage-deps.tar
Resolving build-artifacts.kde.org (build-artifacts.kde.org)... 46.4.53.123, 2a01:4f8:140:1285::3
Connecting to build-artifacts.kde.org (build-artifacts.kde.org)|46.4.53.123|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2019-12-29 17:09:43 ERROR 403: Forbidden.


EXPECTED RESULT

I expect the file to be downloaded

ADDITIONAL INFORMATION

I followed the documentation here: https://docs.krita.org/en/untranslatable_pages/build_krita_with_docker.html

Later when trying to build the image you get a no such file or directory error.
Comment 1 Rebecca Breu 2019-12-29 22:23:36 UTC
There's a workaround for this so that you continue—edit the URL in bootstrap-deps.sh to this one:

https://binary-factory.kde.org/job/Krita_Nightly_Appimage_Dependency_Build/69/artifact/krita-appimage-deps.tar
Comment 2 rondonumbanine 2019-12-29 22:41:13 UTC
Yeah that worked.

Thanks