Conan info prints a debug line on Windows
See original GitHub issueHi, I am trying use conan info . -j in a script so that I can parse json output. However, in windows it prints this additional line which makes my json parser fail. Could you please look into this?
conan info .
<conans.model.options.Options object at 0x0479DFB0>
Thanks
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Logging — conan 1.56.0 documentation
You can use the CONAN_TRACE_FILE environment variable to log and debug several Conan command execution. Set the CONAN_TRACE_FILE environment variable pointing ...
Read more >Do Conan Debug and Release Build_Types have Different ...
Every conan install with different configuration (settings, options) depends on different packages. As Conan has conditional dependencies, ...
Read more >Conan and resolving dependencies in a C++ project
Managing 3rd-party dependencies in a C++ project with Conan: ... _dependencies/glfw/src/CMakeFiles/glfw.dir/window. ... conan info .
Read more >Introduction to Conan package manager - Kuba Sejdak
Manual installation from command line; Automatic installation with conanfile.txt; Automatic installation with CMake wrapper. Conan cache ...
Read more >A step-by-step crash course in C++ debugging without IDE
You may have already noticed that program prints to screen can possibly mess up the display of our debugging session, so to clean...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi @czoido
Sorry for the delayed reponse. It turns out to be a debug log from one of the custom conan modudles. You can close this ticket. Thanks for your support
Hi @asanka424, I have checked the code for 1.33.1 and I did not find any lines that could print that output. I think that what is most likely is that the conanfile.py has a
print(self.options)anywhere in the code, probably in any of these methods:config_options,configure,requirements,package_id,validate,build_requirementsorbuild_id. Could you please check?