question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Please log in to "conan-center" to perform this action." for several packages

See original GitHub issue

To help us debug your issue please explain:

  • [x ] I’ve read the CONTRIBUTING guide.
  • [x ] I’ve specified the Conan version, operating system version and any tool that can be relevant.
  • [x ] I’ve explained the steps to reproduce the error or the motivation/use case of the question/suggestion.

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 extracted libpq/11.4 from https://github.com/bincrafters/conan-libpq.

My env:

>echo %CONAN%
C:\Users\Vincas\code\cpp\branches\upgrade\\3rdparty\Conan\_python_3.7.4_venv_conan_1.18.4\Scripts\conan.exe
>%CONAN% --version
Conan version 1.18.4

I have conan_profile_windows.txt like this (for building libpq on Windows using CMake):

include(default)
[build_requires]
cmake_installer/3.15.3@conan/stable

I run development flow commands:

>%CONAN% source . -sf src
>%CONAN% install . -if install -s "compiler=Visual Studio" -s compiler.version=14 -s arch=x86 -s arch_build=x86 --build=missing -p conan_profile_windows.txt

But since I’ve added conan_installer as build depends, I get this output:

>%CONAN% install . -if install -s "compiler=Visual Studio" -s compiler.version=14 -s arch=x86 -s arch_build=x86 --build=missing -p conan_profile_windows.txt
Configuration:
[settings]
arch=x86
arch_build=x86
build_type=Release
compiler=Visual Studio
compiler.runtime=MD
compiler.version=14
os=Windows
os_build=Windows
[options]
[build_requires]
*: cmake_installer/3.15.3@conan/stable
[env]

cmake_installer/3.15.3@conan/stable: WARN: Package is corrupted, removing folder: C:\Users\Vincas\.conan\data\cmake_installer\3.15.3\conan\stable\package\60b04a80ac4dd5c23f1acffacc679e9902e636e5
conanfile.py (libpq/11.4): Installing package
Requirements
    zlib/1.2.11@conan/stable from 'conan-center' - Cache
Packages
    zlib/1.2.11@conan/stable:1299b26cefc5e04411a3481abe1c8b63227e2896 - Cache
Build requirements
    cmake_installer/3.15.3@conan/stable from 'conan-center' - Cache
Build requirements packages
    cmake_installer/3.15.3@conan/stable:60b04a80ac4dd5c23f1acffacc679e9902e636e5 - Download

cmake_installer/3.15.3@conan/stable: Retrieving package 60b04a80ac4dd5c23f1acffacc679e9902e636e5 from remote 'conan-center'
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:

I assume it should work without accounts for fetching recipes…?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:63 (29 by maintainers)

github_iconTop GitHub Comments

18reactions
lasotecommented, Sep 24, 2019

Conan 1.18.5 has been released limiting urllib3 < 1.25.4

12reactions
lasotecommented, Sep 24, 2019

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
  • We are going to release a Conan 1.18.5 fixing the transitive requirement.
Read more comments on GitHub >

github_iconTop Results From Across the Web

conan user — conan 1.53.0 documentation
You can have one user for each remote. Changing the user, or introducing the password is only necessary to perform changes in remote...
Read more >
Conan package registry suddenly not working on gitlab.com
$ conan user --remote localhost-test None $ conan search --remote localhost-test Please log in to "localhost-test" to perform this action.
Read more >
Unable to install conan package eigen - c++ - Stack Overflow
... 407kB/s] Please log in to "conan-center" to perform this action. Execute "conan user" command. If you don't have an account sign up ......
Read more >
Discover the New ConanCenter for C++ Packages - JFrog
Note that every configuration possible for a package may not be immediately available, but as package authors add more to the conan-center-index ...
Read more >
Conan Package Manager for C++ in Practice - YouTube
Join the Conan team to see it in action, with a simple demo using OSS libraries and tools from ConanCenter, and a more...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found