Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3364

Python 3 compatibility issues in the zypper module

    XMLWordPrintable

    Details

    • Story Points:
      1

      Description

      Traceback (most recent call last):
        File "/var/cfengine/modules/packages/zypper", line 454, in <module>
          sys.exit(main())
        File "/var/cfengine/modules/packages/zypper", line 442, in main
          return repo_install()
        File "/var/cfengine/modules/packages/zypper", line 335, in repo_install
          single_cmd_args, multi_cmd_args = package_arguments_builder(True)
        File "/var/cfengine/modules/packages/zypper", line 276, in package_arguments_builder
          single_list, multi_list = one_package_argument(name, arch, version, is_zypper_install)
        File "/var/cfengine/modules/packages/zypper", line 219, in one_package_argument
          args += [name + "." + arch + version_suffix  for arch in archs]
        File "/var/cfengine/modules/packages/zypper", line 219, in <listcomp>
          args += [name + "." + arch + version_suffix  for arch in archs]
      TypeError: Can't convert 'bytes' object to str implicitly
      

        Attachments

          Activity

            People

            • Assignee:
              vpodzime Vratislav Podzimek
              Reporter:
              vpodzime Vratislav Podzimek
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel