pycallgraph crashed with AttributeError in Noble

Bug #2062065 reported by Sudip Mukherjee
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pycallgraph (Ubuntu)
New
Medium
Unassigned

Bug Description

pycallgraph fails to run with the error:

$ pycallgraph
Traceback (most recent call last):
  File "/usr/bin/pycallgraph", line 11, in <module>
    import pycallgraph as __pycallgraph
  File "/usr/lib/python3/dist-packages/pycallgraph/__init__.py", line 11, in <module>
    from .pycallgraph import PyCallGraph
  File "/usr/lib/python3/dist-packages/pycallgraph/pycallgraph.py", line 3, in <module>
    from .output import Output
  File "/usr/lib/python3/dist-packages/pycallgraph/output/__init__.py", line 3, in <module>
    from .output import Output
  File "/usr/lib/python3/dist-packages/pycallgraph/output/output.py", line 3, in <module>
    from distutils.spawn import find_executable
ModuleNotFoundError: No module named 'distutils'

ProblemType: Crash
DistroRelease: Ubuntu 24.04
Package: python3-pycallgraph 1.1.3-2
ProcVersionSignature: Ubuntu 6.8.0-22.22-generic 6.8.1
Uname: Linux 6.8.0-22-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: pass
CrashCounter: 1
CurrentDesktop: ubuntu:GNOME
Date: Wed Apr 17 21:46:49 2024
ExecutablePath: /usr/bin/pycallgraph
InstallationDate: Installed on 2024-04-10 (7 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Beta amd64 (20240410)
InterpreterPath: /usr/bin/python3.12
JournalErrors: -- No entries --
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/pycallgraph
Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 3.12.3-0ubuntu1
PythonArgs: ['/usr/bin/pycallgraph']
PythonDetails: N/A
SourcePackage: pycallgraph
Title: pycallgraph crashed with AttributeError in strip_argv(): 'Config' object has no attribute 'command'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sudo users

Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :
information type: Private → Public
tags: removed: need-duplicate-check
Changed in pycallgraph (Ubuntu):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.