Skip to content

Fix eSim 2.5 installation failures on Ubuntu 25.04 (E1-E6) - #656

Open
dev25bansal-ops wants to merge 4 commits into
FOSSEE:installersfrom
dev25bansal-ops:ubuntu2504-fixes
Open

dev25bansal-ops wants to merge 4 commits into
FOSSEE:installersfrom
dev25bansal-ops:ubuntu2504-fixes

Conversation

@dev25bansal-ops

Copy link
Copy Markdown

Summary

Fixes six defects in the installers branch that block a clean eSim 2.5 installation on Ubuntu 25.04 (Plucky Puffin), and adds a compatibility path for 25.10/26.04.

ID File / function Defect Fix
E1 install-eSim-25.04.sh / installKicad exit 0 aborts the whole installer on any re-run with KiCad 8 present, skipping KiCad symbols, NGHDL, SKY130 PDK and the desktop launcher return 0
E2 install-eSim-25.04.sh / installDependency unzip and xz-utils are needed by later steps but never installed; minimal/server VMs abort with unzip: command not found install both before the archive steps
E3 install-eSim-25.04.sh / installDependency pip install hdlparse fails on modern setuptools (use_2to3 is invalid); only worked by luck when the previous unpinned tarball line happened to succeed single pinned pyhdlparser install at an exact commit
E4 install-eSim-25.04.sh / installDependency system-wide python3-pyqt5/python3-matplotlib/python3-psutil are invisible to the isolated venv (no --system-site-packages) removed; venv pip installs cover eSim 2.5
E5 install-eSim.sh / run_version_script leftover config lines write to /config.ini after the child script finishes, printing a permission error dead code removed
E6 install-eSim.sh / installKicad 25.10/26.04 exit as unsupported; kicad=8.0.8+dfsg-1 only resolves on 25.04 compatibility-mode routing to the 25.04 script plus graceful pin fallback

Verification

  • git apply --check against a pristine clone of installers: clean.
  • bash -n on both patched scripts: clean.
  • E3 reproduced live on Python 3.12/3.13 (error in hdlparse setup command: use_2to3 is invalid), and the pinned replacement was confirmed to install and to import hdlparse.verilog_parser.VerilogExtractor, which eSim 2.5 uses.
  • Files are LF in the repository, matching the existing tree.

A full report with root-cause analysis, upstream references and reproduction commands is attached to my Task 4 submission email to contact-esim@fossee.in.

- installKicad: return instead of exit when KiCad 8 already installed
- installDependency: install unzip and xz-utils before archive steps
- installDependency: replace broken 'pip install hdlparse' with pinned
  pyhdlparser install (use_2to3 build failure on setuptools >= 58)
- installDependency: drop system-wide PyQt5/matplotlib/psutil apt calls
  invisible to the isolated virtualenv
- installKicad: graceful fallback when kicad=8.0.8+dfsg-1 is unavailable
- install-eSim.sh: route Ubuntu 25.10/26.04 to the 25.04 script,
  remove dead config-file code, harden lsb_release detection
Copilot AI balanced review requested due to automatic review settings November 17, 2026 20:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

Recorded on a real Ubuntu 25.04 (Plucky Puffin) userland: the shipped eSim 2.5
package refuses to run at all (ships no 25.04 script), the fixed dispatcher
routes 25.04 correctly, and the documented defects (E2-E6, N1-N4) are
reproduced against the live plucky archive. GHDL 4.1.0 is built against LLVM 18
and used to simulate a VHDL counter, closing the report's remaining
"not executed on-VM" gap.

LIVE_VERIFICATION.md is the narrative; logs/ holds the raw output and
EVIDENCE_INDEX.md maps each log to its finding.
The installer verification left one gap: the application itself had not been
run. This adds screenshots of the real eSim 2.5 GUI on Ubuntu 25.04 (project
tree with a shipped example loaded, and the version dialog showing
eSim 2.5 / Ubuntu 25.04 / Python 3.13.3 / PyQt5 5.15.14), plus a real
ngspice 44.2 transient simulation plotted from its own 108 output samples.

GUI_VERIFICATION.md states how the screenshots were produced: WSLg's Weston
refuses X_GetImage, so Qt renders its own widget tree; the application runs
for real and only the capture path differs from a desktop screenshot.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants