Skip to content

tx client crashes when pulling QGIS documentation #253

@yeager

Description

@yeager

Following the guide at https://github.com/qgis/QGIS-Documentation?tab=readme-ov-file will generate a tx crash. I have tested this on multiple architectures, same error

:~/QGIS-Documentation# tx pull --use-git-timestamps --mode onlytranslated --workers 1

Getting info about resources

panic: runtime error: integer divide by zero

goroutine 1 [running]:
github.com/transifex/cli/pkg/worker_pool.makeProgressBar(0x0, 0x0, 0xc00007e8a0, 0xc0001d8a40)
/home/runner/work/cli/cli/pkg/worker_pool/main.go:249 +0x217
github.com/transifex/cli/pkg/worker_pool.(*Pool).Start(0xc0001d8a40)
/home/runner/work/cli/cli/pkg/worker_pool/main.go:228 +0x325
github.com/transifex/cli/internal/txlib.PullCommand(0xc0001da3b0, 0xc00002e660, 0xc0001e0280, 0x0, 0x0)
/home/runner/work/cli/cli/internal/txlib/pull.go:64 +0x41d
github.com/transifex/cli/cmd/tx.Main.func5(0xc0001d8940, 0x14, 0x28)
/home/runner/work/cli/cli/cmd/tx/main.go:618 +0xd79
github.com/urfave/cli/v2.(*Command).Run(0xc00012bb00, 0xc0001d8140, 0x0, 0x0)
/home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/command.go:163 +0x4dd
github.com/urfave/cli/v2.(*App).RunContext(0xc00010dba0, 0xb55d80, 0xc0000220c8, 0xc00001e070, 0x7, 0x7, 0x0, 0x0)
/home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:313 +0x810
github.com/urfave/cli/v2.(*App).Run(...)
/home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:224
github.com/transifex/cli/cmd/tx.Main()
/home/runner/work/cli/cli/cmd/tx/main.go:1055 +0x2cfa
main.main()
/home/runner/work/cli/cli/main.go:5 +0x25

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions