Skip to content

ddiskit is not working with python3 #16

Description

@velezd

The example command works in python2 but not in python3 - there may be more issues.

HOME=/root/driverdisk/ python3 ddiskit/bin/ddiskit -v -p testing -C defaults.git_dir=kernel_src/.git -C spec_file.module_name=virtio_blk -C spec_file.module_version=1.0.1_dup7.4a -C spec_file.rpm_dist=el8 -C spec_file.module_version=5.14.0-4 -C spec_file.kernel_arch=x86_64 -C res_dir=ddiskit/ prepare_sources -d "drivers/block drivers/ata"
Traceback (most recent call last):
  File "ddiskit/bin/ddiskit", line 2825, in <module>
    sys.exit(main())
  File "ddiskit/bin/ddiskit", line 2800, in main
    DDiskitConfig(default_config))
  File "ddiskit/bin/ddiskit", line 2053, in parse_config
    _, discarded_args = configs.apply_args(args)
  File "ddiskit/bin/ddiskit", line 402, in apply_args
    arg = unicode(arg, encoding=encoding)
TypeError: decoding str is not supported

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions