[RTFACT-16409] conan package info fails to display conan package info when setting is empty Created: 13/Apr/18  Updated: 13/Jun/18  Resolved: 13/Jun/18

Status: Resolved
Project: Artifactory Binary Repository
Component/s: Conan
Affects Version/s: 5.10.0
Fix Version/s: 6.1.0

Type: Bug Priority: Normal
Reporter: Mark Galpin Assignee: Luis Martínez de Bartolomé
Resolution: Fixed Votes: 0
Labels: None


When selecting a package in Artifactory from the tree view, on the right side a tab "Conan Package Info" is displayed. However, if one of the settings in that package is empty (as was caused by my package_id()) Artifactory fails to read the setting and is unable to display anything on that tab. An exception is added to the logs:

2018-02-15 15:43:58,173 [ajp-nio-] [ERROR] (o.j.r.c.r.u.LocalUpDownConanHandler:82) - Error parsing file autobuilder/clang/7.0.0/master/package/d9a7d7ca2e0f15147b89a3048045be452a1aeb3a/conaninfo.txt:[settings] arch=x86_64 arch_build=None arch_target=x86_64 build_type=Debug compiler=SELF os=Windows os_build=Windows os_target= [requires] [options] EnableCXX1Y=True EnableCXX1Z=True Z3=False assertions=False libclang.static=False shared=False [full_settings] arch=x86_64 arch_build=x86_64 arch_target=x86_64 build_type=Debug compiler=Visual Studio compiler.version=15 os_build=Windows os_target=Windows [full_requires] [full_options] EnableCXX1Y=True EnableCXX1Z=True Z3=False assertions=False generateDocumentation=False libclang.static=False shared=False [recipe_hash] 38277c67e97d01e20721b1570b8f5c54 [env] Exception: org.jfrog.repomd.conan.ConanInfoException: Invalid conaninfo.txt format: os_target=

 Also shown at: https://github.com/conan-io/conan/issues/2484 

Generated at Mon Jun 01 19:10:42 UTC 2020 using Jira 8.5.3#805003-sha1:b4933e02eaff29a49114274fe59e1f99d9d963d7.