Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-16409

conan package info fails to display conan package info when setting is empty

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.10.0
    • Fix Version/s: 6.1.0
    • Component/s: Conan
    • Labels:
      None

      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 

        Attachments

          Activity

            People

            • Assignee:
              luism Luis Martínez de Bartolomé
              Reporter:
              markg Mark Galpin
              Assigned QA:
              Matan Katz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: