[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

Assigned QA: Matan Katz

 Description   

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-127.0.0.1-8019-exec-9] [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 Sun Oct 20 11:10:33 UTC 2019 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.