Skip to content

Can not extract archive file in pipline by extract_archives: worker-1 | INFO [error] normalize() argument 2 must be str, not bytes #1577

Description

@tpang-ameame

Describe the bug
Scancode.io is deployed following documentation via docker compose.
Project can not extract archives from upload, cause empty result returned.
Error message indicates errors in extract_archives steps.
No error throw for whole pipline:

Image

System configuration

  • Which version of ScanCode.io are you running?
    v34.9.4
  • Are you running the app using Docker?
    Yes
    Docker Compose version v2.24.5
    Docker version 24.0.2, build cb74dfc
  • On which OS?
    Linux (centos 7.9.2009) 3.10.0-1160.92.1.el7.x86_64 x86_64 GNU/Linux
  • What inputs are you using?
    .zip, .tar.gz
  • Which pipeline are you running?
    scan_codebase, scan_single_package

To Reproduce
Steps to reproduce the behavior:

  1. Create project and upload zip file
  2. Execute pipline: scan_codebase
  3. Empty result returned
    Error messages:
    [Severity] ERROR
    [Model]extract_archives
    [Description] normalize() argument 2 must be str, not bytes

Screenshots

Image

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions