Page MenuHomePhabricator

--shell causes TypeError
Closed, ResolvedPublic

Description

To reproduce:

$ docker run -it --rm \
  -v "$(pwd)"/cache:/cache \
  -v "$(pwd)"/log:/workspace/log \
  -v "$(pwd)"/ref:/srv/git:ro \
  -v "$(pwd)"/src:/workspace/src \
  docker-registry.wikimedia.org/releng/quibble-bullseye-php83:latest \
  --skip-zuul \
  --skip-deps \
  --shell

...

Traceback (most recent call last):
  File "/usr/local/bin/quibble", line 7, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/dist-packages/quibble/cmd.py", line 1011, in main
    cmd.execute(
  File "/usr/local/lib/python3.9/dist-packages/quibble/cmd.py", line 633, in execute
    quibble.commands.execute_command(command)
  File "/usr/local/lib/python3.9/dist-packages/quibble/commands.py", line 32, in execute_command
    with quibble.Chronometer(str(command), log.info):
  File "/usr/local/lib/python3.9/dist-packages/quibble/commands.py", line 1219, in __str__
    return "User commands: {}".format(", ".join(self.commands))
TypeError: sequence item 0: expected str instance, NoneType found

Event Timeline

zeljkofilipin renamed this task from --shell followed by a project causes TypeError to --shell causes TypeError.Feb 26 2026, 12:58 PM
zeljkofilipin updated the task description. (Show Details)
zeljkofilipin updated the task description. (Show Details)

Change #1247554 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/quibble@master] Fix --shell when SHELL is not set

https://gerrit.wikimedia.org/r/1247554

Change #1247554 merged by jenkins-bot:

[integration/quibble@master] Fix --shell when SHELL is not set

https://gerrit.wikimedia.org/r/1247554

Change #1248856 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/quibble@master] release: Quibble 1.16.0

https://gerrit.wikimedia.org/r/1248856

Change #1248856 merged by jenkins-bot:

[integration/quibble@master] release: Quibble 1.16.0

https://gerrit.wikimedia.org/r/1248856

Change #1248880 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/config@master] jjb: update jobs to Quibble 1.16.0

https://gerrit.wikimedia.org/r/1248880

Released with Quibble 1.16.0.

The images have been pushed last week (ex: docker-registry.wikimedia.org/releng/quibble-bullseye-php83:1.16.0).

If you use the latest tag, it should be pulled:

docker pull docker-registry.wikimedia.org/releng/quibble-bullseye-php83:latest

Please reopen if this is still an issue.

Change #1248880 merged by jenkins-bot:

[integration/config@master] jjb: update jobs to Quibble 1.16.0

https://gerrit.wikimedia.org/r/1248880