Closed Talkless closed 5 years ago
@Thiesius what version of conan is working for you? I just tried with pip3 installed 1.18.4 and it doesn't work for me, on ubuntu 18.04.
Downloading conan_package.tgz
Please log in to "conan-center" to perform this action. Execute "conan user" command.
If you don't have an account sign up here: https://bintray.com/signup/oss
Remote 'conan-center' username: eigen/3.3.5@conan/stable: ERROR: Exception while getting package: 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
eigen/3.3.5@conan/stable: ERROR: Exception: <class 'conans.errors.ConanException'> EOF when reading a line. [Remote: conan-center]
eigen/3.3.5@conan/stable: WARN: Trying to remove package folder: /root/.conan/data/eigen/3.3.5/conan/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
ERROR: EOF when reading a line. [Remote: conan-center]
CMake Error at cmake/conan.cmake:351 (message):
Conan install failed='1'
Call Stack (most recent call first):
cmake/conan.cmake:429 (conan_cmake_install)
CMakeLists.txt:60 (conan_cmake_run)
-- Configuring incomplete, errors occurred!
Conan version 1.18.4 Python 3.6.8 (default, Aug 20 2019, 17:12:48) pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6) All default installed. Ubuntu 18 on WSL though.
Then by executing
conan install /mnt/e/test/conanfile.txt -pr /mnt/e/test/conan_profiles/x86_64/GNU-7 -g=cmake --build=missing
I got standard:
eigen/3.3.5@conan/stable: WARN: Package is corrupted, removing folder: /home/thiesius/.conan/data/eigen/3.3.5/conan/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
conanfile.txt: Installing package
Requirements
eigen/3.3.5@conan/stable from 'conan-center' - Cache
gtest/1.8.0@bincrafters/stable from 'conan-center' - Cache
msgpack/3.1.1@bincrafters/stable from 'conan-center' - Cache
Packages
eigen/3.3.5@conan/stable:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
gtest/1.8.0@bincrafters/stable:a4062ec0208a59375ac653551e662b6cc469fe58 - Download
msgpack/3.1.1@bincrafters/stable:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
eigen/3.3.5@conan/stable: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center'
Downloading conanmanifest.txt: 100%|##########| 42.5k/42.5k [00:00<00:00, 5.79MB/s]
Downloading conaninfo.txt: 100%|##########| 324/324 [00:00<00:00, 144kB/s]
Downloading conan_package.tgz: 100%|##########| 1.10M/1.10M [00:00<00:00, 11.5MB/s]
Decompressing conan_package.tgz: 100%|##########| 1.10M/1.10M [00:00<00:00, 2.59MB/s]
Maybe consider deleting conan cache completely? I didn't have to though.
I'm in docker, so there is no conan cache. Odd.
I've found the cause: https://github.com/urllib3/urllib3/blob/master/CHANGES.rst#1254-2019-09-19
Something has changed in urllib3
(transitive requirement of requests
) at version 1.25.4
released on Thursday, if I upgrade my local installation I reproduce the error.
~We will keep investigating and opening an issue to urllib3
~ See here but in the meantime, run:
pip install urllib3==1.25.3
after your pip install conan
Conan 1.18.5
has been released limiting urllib3
< 1.25.4
Awesome, thanks for the quick turnaround :)
(Redirected from 3046)
Updated to conan version 1.18.5 but getting ERROR: Wrong user or password. [Remote: conan-center]
.
Is this related?
Env:
Conan version 1.18.5
Python 3.5.1
urllib3 1.24.3
Artifactory plugin log:
{"_action": "COMMAND", "name": "get_remote_by_name", "parameters": {}, "time": 1569336077.8784244}
{"_action": "REST_API_CALL", "duration": 1.0339999198913574, "headers": {"Authorization": "**********", "User-Agent": "Conan/1.18.5 (Python 3.5.1) python-requests/2.21.0", "X-Client-Anonymous-Id": "**********"}, "method": "GET", "time": 1569336078.9194243, "url": "https://conan.bintray.com/v1/users/authenticate"}
{"_action": "COMMAND", "name": "get_remote_by_name", "parameters": {}, "time": 1569336997.7774243}
{"_action": "REST_API_CALL", "duration": 1.1110000610351562, "headers": {"Authorization": "**********", "User-Agent": "Conan/1.18.5 (Python 3.5.1) python-requests/2.21.0", "X-Client-Anonymous-Id": "**********"}, "method": "GET", "time": 1569336998.8964243, "url": "https://conan.bintray.com/v1/users/authenticate"}
I would need more context (commands you are running). Try to clean the user config with conan user --clean
and try again but probably it shouldn't be firing that.
The new version appears to work for me. Thanks!
@lasote, I also like to report that using the new version has resolved the issue in my environment. Thank you again for working on this.
Yep, it works for me too. Can we close this now?
Yes. Thanks all for your help and support.
@lasote I think we can unpin this issue now.
To help us debug your issue please explain:
Windows 10 amd64, Python 3.7.4, Conan 1.18.4 from pip within virtualenv
I am working within
conan-libpq-stable-11.4
directory, which is extractedlibpq/11.4
fromhttps://github.com/bincrafters/conan-libpq
.My env:
I have
conan_profile_windows.txt
like this (for building libpq on Windows using CMake):I run development flow commands:
But since I've added
conan_installer
as build depends, I get this output:I assume it should work without accounts for fetching recipes..?