Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while extracting downloaded file #20731

Closed
nesc1 opened this issue Aug 9, 2022 · 3 comments
Closed

Error while extracting downloaded file #20731

nesc1 opened this issue Aug 9, 2022 · 3 comments
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail topic/packages type/bug

Comments

@nesc1
Copy link

nesc1 commented Aug 9, 2022

Description

Using gitea as a conan package remote server I'm having some problem with some packages after building them on the local machine upload the package id to the gitea server (conan upload) and then after i remove everything on local machine when trying to download the same package with the same settings for example for boost and icu I'm getting always the following problems:

icu/71.1: Retrieving package 09db9ef54d82f0b6035e5bb063b220fd3ba58442 from remote 'gitea'
Downloading conanmanifest.txt completed [12.58k]
Downloading conaninfo.txt completed [0.71k]
Downloading conan_package.tgz completed [0.00k]
Decompressing conan_package.tgz: 0.00B [00:00, ?B/s]icu/71.1: ERROR: Exception while getting package: 09db9ef54d82f0b6035e5bb063b220fd3ba58442
icu/71.1: ERROR: Exception: <class 'conans.errors.ConanException'> Error while extracting downloaded file '/home/nuno/.conan/data/icu/71.1/_/_/dl/pkg/09db9ef54d82f0b6035e5bb063b220fd3ba58442/conan_package.tgz' to /home/nuno/.conan/data/icu/71.1/_/_/package/09db9ef54d82f0b6035e5bb063b220fd3ba58442
file could not be opened successfully

ERROR: Error while extracting downloaded file '/home/nuno/.conan/data/icu/71.1/_/_/dl/pkg/09db9ef54d82f0b6035e5bb063b220fd3ba58442/conan_package.tgz' to /home/nuno/.conan/data/icu/71.1/_/_/package/09db9ef54d82f0b6035e5bb063b220fd3ba58442
file could not be opened successfully

(side note file is empty)

❯ ls -al /home/nuno/.conan/data/icu/71.1/_/_/dl/pkg/09db9ef54d82f0b6035e5bb063b220fd3ba58442/
total 28
drwxr-xr-x 2 nuno nuno  4096 Aug  9 13:31 .
drwxr-xr-x 3 nuno nuno  4096 Aug  9 13:31 ..
-rw-r--r-- 1 nuno nuno   726 Aug  9 13:31 conaninfo.txt
-rw-r--r-- 1 nuno nuno 12878 Aug  9 13:31 conanmanifest.txt
-rw-r--r-- 1 nuno nuno     0 Aug  9 13:31 conan_package.tgz

boost/1.79.0 has the same problem...

can you help figure out what is the problem?

Gitea Version

1.17.0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

as a service on a raspberry pi 4

Database

MySQL

@nesc1 nesc1 added the type/bug label Aug 9, 2022
@wxiaoguang
Copy link
Contributor

According to Downloading conan_package.tgz completed [0.00k] in the log, I guess the bug is related to

That's a general bug which makes all large files can not be processed correctly.

The bug has been fixed in latest builds. You can get latest 1.17 from https://dl.gitea.io/gitea/1.17 or docker tag 1.17-dev

@wxiaoguang wxiaoguang added the issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail label Aug 9, 2022
@nesc1
Copy link
Author

nesc1 commented Aug 9, 2022

ok thank you for your fast reply... I will wait for the next release since the latest version download from here: https://dl.gitea.io/gitea
is the latest one that I'm using

@wxiaoguang
Copy link
Contributor

You can safely use the binaries from https://dl.gitea.io/gitea/1.17 , they are 1.17.1-pre-release (with many bug fixes) at the moment 😁

@nesc1 nesc1 closed this as completed Aug 11, 2022
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail topic/packages type/bug
Projects
None yet
Development

No branches or pull requests

3 participants