Delete printer hangs

Open
#12 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
c, linux
Domain
backend, devtools

Research direction

Start by reproducing the delete flow in the web UI on Debian 11 with the LJ1015, then compare it with hplip-printer-app delete and hplip-printer-app printers, which also hangs after a restart. Trace the printer deletion and listing entry points to find where they stop returning. Done means deletion and printer listing both complete and the web UI stays responsive.

Written by the indexing model from the issue text.

Description

Debian 11 (x86-64) with hplip-printer-app snap rev 788:

  1. Create printer (USB attached LJ1015) via web UI.
  2. Press "Delete Printer" button on web UI.
  3. Press "Confirm Delete Printer" button

Process never returns, and web-UI is unresponsive. Can be recovered with snap restart hplip-printer-app - which completes after 70 seconds (maybe some sort of timeout).

Trying hplip-printer-app delete after the restart returns immediately, but then hplip-printer-app printers also hangs (returns with no output after 61 seconds).

Also tried removing and re-installing the snap, and same thing recurred...

Dominant language
C
Stars
70
Forks
25
Avg merge
9h 18m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenPrinting/hplip-printer-app

All issues in OpenPrinting/hplip-printer-app

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.