Package: ftp.debian.org
Severity: normal
Usertags: dak

Hi,

This morning I was playing with dak check-archive, and see these two issues :

dak@christian ~ % dak check-archive validate-indices
Traceback (most recent call last):
  File "/usr/bin/dak", line 252, in <module>
    main()
  File "/usr/bin/dak", line 231, in main
    module.main()
  File "/usr/lib/python3/dist-packages/dak/check_archive.py", line 591, in main
    check_indices_files_exist()
  File "/usr/lib/python3/dist-packages/dak/check_archive.py", line 456, in 
check_indices_files_exist
    validate_packages(suite, component, arch)
  File "/usr/lib/python3/dist-packages/dak/check_archive.py", line 431, in 
validate_packages
    % (Cnf["Dir::Root"], suite, component, architecture)
NameError: name 'Cnf' is not defined


dak@christian ~ % dak check-archive validate-builddeps
Traceback (most recent call last):
  File "/usr/bin/dak", line 252, in <module>
    main()
  File "/usr/bin/dak", line 231, in main
    module.main()
  File "/usr/lib/python3/dist-packages/dak/check_archive.py", line 595, in main
    check_build_depends()
  File "/usr/lib/python3/dist-packages/dak/check_archive.py", line 501, in 
check_build_depends
    os.path.walk(cnf["Dir::Root"], chk_bd_process_dir, None)
AttributeError: module 'posixpath' has no attribute 'walk'

Chirstian

Reply via email to