manjaro / manjaro/mdd

inxi call failing on headless system

Open
#27 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
16
Forks
2
PR merge metrics
No merged PRs in 30d

Description

When running

 $ mdd --force-telemetry
Welcome to MDD - The Manjaro Data Donor
Preparing data submission...
[2025-09-12T14:25:05] ERROR calling inxi: Expecting value: line 1 column 1 (char 0)

...

Caused by prepare_inxi() which calls inxi with invalid argument

 $ inxi -Fxxx --output json --output-file print
Error 10: Unsupported value: print for option: output-file
Check -h for correct usage.

According to inxi -h - it should be a valid argument set - but it fails - could be an inxi bug 🤷

     --output  [json|screen|xml] Change data output type. Requires 
               --output-file if not screen. 
     --output-file
               [Full filepath|print] Output file to be used for --output.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by locating prepare_inxi() and reproduce the shown inxi command on a headless system. Determine a valid inxi output invocation, then verify that mdd --force-telemetry completes without the JSON parsing error and that the collected data is submitted as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.