bug: createsiteusers/deletesiteusers line counts and output format incorrect
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 68/100
Direzione di ricerca
Start with the summary block in tabcmd/commands/user/create_site_users.py and the output handling in tabcmd/commands/user/delete_site_users_command.py. Compare both commands with the expected tabcmd 1 output described here, including processed and skipped counts, error counts, duplicate lines, and error details. Done means both commands produce consistent summaries with accurate counts and formatted errors.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
createsiteusers and deletesiteusers show incorrect line counts and inconsistent output format, discovered during live server output comparison testing (2026-07).
createsiteusers — "Lines skipped" shows error count, not skipped count; output inconsistent with tabcmd 1
Current output (error case):
Lines processed: 1
Lines skipped: 1
Number of users added: 0
Error details:
['ServerResponseError']
Expected (tabcmd 1):
===== Lines processed: 1
Lines skipped: 0
Number of users added: 1
Number of errors: 0
Lines skipped is being populated with number_of_errors instead of a genuine skip count. There is no separate "Number of errors" line. The error_list is logged as a raw Python list rather than formatted per-line.
Location: tabcmd/commands/user/create_site_users.py — summary block at the end of run_command.
deletesiteusers — "Lines processed" shows 0 even when a user was attempted
Current output:
Lines processed: 0
404: Item not found
Item not found: [Users] [email protected]
Lines processed: 0
Number of errors: 1
Error details:
Issues:
Lines processed: 0even though 1 user was attempted- "Lines processed" appears twice
- Empty "Error details:" section despite an error being shown above it
- Blank lines and indented error text mixed into the summary block
Location: tabcmd/commands/user/delete_site_users_command.py
Relationship to #429
Issue #429 item 4 fixes the createsiteusers error message format (str(e) instead of e.__class__.__name__). The counting and structural output issues are tracked here separately.
- Lingua principale
- Python
- Stelle
- 52
- Fork
- 17
- Merge medio
- 5g 20h
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di tableau/tabcmd
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
feat: publish missing --description flag from tabcmd ClassicForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
feat: creategroup missing --role flag from tabcmd ClassicForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Tutte le issue di tableau/tabcmd
Issue simili
-
md/asciidoc/csv: an explicit `encoding="utf-8"` keeps a leading BOM, the auto-detect path drops itAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
docling-project/docling#4846 ·
I maintainer di solito rispondono entro 1 giorno
-
area/sessions comp/dashboard comp/desktop comp/gateway comp/tui duplicate P2 sweeper:risk-session-state type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
NousResearch/hermes-agent#138914 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bot-triaged module: activation checkpointing module: inductor oncall: pt2 triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
[oblt-aw][autodoc] Update PR Actions Detective E2E prerequisites and fix dashboard-format table typoApertadocumentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
elastic/oblt-aw#2382 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno