2024-04-17 20:52:21 |
Sudip Mukherjee |
bug |
|
|
added bug |
2024-04-18 10:11:05 |
Sudip Mukherjee |
information type |
Private |
Public |
|
2024-05-06 12:10:42 |
Apport retracing service |
tags |
amd64 apport-crash need-duplicate-check noble wayland-session |
amd64 apport-crash noble wayland-session |
|
2024-05-06 12:10:43 |
Apport retracing service |
pycallgraph (Ubuntu): importance |
Undecided |
Medium |
|
2024-05-06 12:10:44 |
Apport retracing service |
bug |
|
|
added subscriber Crash bug triagers for Ubuntu packages |
2024-07-07 21:00:12 |
Sudip Mukherjee |
nominated for series |
|
Ubuntu Noble |
|
2024-07-07 21:00:12 |
Sudip Mukherjee |
bug task added |
|
pycallgraph (Ubuntu Noble) |
|
2024-07-07 21:00:12 |
Sudip Mukherjee |
nominated for series |
|
Ubuntu Oracular |
|
2024-07-07 21:00:12 |
Sudip Mukherjee |
bug task added |
|
pycallgraph (Ubuntu Oracular) |
|
2024-07-07 21:00:12 |
Sudip Mukherjee |
nominated for series |
|
Ubuntu Jammy |
|
2024-07-07 21:00:12 |
Sudip Mukherjee |
bug task added |
|
pycallgraph (Ubuntu Jammy) |
|
2024-07-07 21:00:12 |
Sudip Mukherjee |
nominated for series |
|
Ubuntu Focal |
|
2024-07-07 21:00:12 |
Sudip Mukherjee |
bug task added |
|
pycallgraph (Ubuntu Focal) |
|
2024-07-07 21:00:21 |
Sudip Mukherjee |
pycallgraph (Ubuntu Focal): status |
New |
In Progress |
|
2024-07-07 21:00:24 |
Sudip Mukherjee |
pycallgraph (Ubuntu Jammy): status |
New |
In Progress |
|
2024-07-07 21:00:27 |
Sudip Mukherjee |
pycallgraph (Ubuntu Noble): status |
New |
In Progress |
|
2024-07-07 21:00:32 |
Sudip Mukherjee |
pycallgraph (Ubuntu Oracular): status |
New |
In Progress |
|
2024-07-07 21:00:35 |
Sudip Mukherjee |
pycallgraph (Ubuntu Oracular): assignee |
|
Sudip Mukherjee (sudipmuk) |
|
2024-07-07 21:00:37 |
Sudip Mukherjee |
pycallgraph (Ubuntu Noble): assignee |
|
Sudip Mukherjee (sudipmuk) |
|
2024-07-07 21:00:40 |
Sudip Mukherjee |
pycallgraph (Ubuntu Jammy): assignee |
|
Sudip Mukherjee (sudipmuk) |
|
2024-07-07 21:00:42 |
Sudip Mukherjee |
pycallgraph (Ubuntu Focal): assignee |
|
Sudip Mukherjee (sudipmuk) |
|
2024-07-07 21:31:31 |
Sudip Mukherjee |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075920 |
|
2024-07-07 21:31:31 |
Sudip Mukherjee |
bug task added |
|
pycallgraph (Debian) |
|
2024-07-08 18:19:49 |
Bug Watch Updater |
pycallgraph (Debian): status |
Unknown |
New |
|
2024-07-09 23:11:56 |
Bug Watch Updater |
pycallgraph (Debian): status |
New |
Fix Released |
|
2024-07-10 19:09:52 |
Sudip Mukherjee |
pycallgraph (Ubuntu Noble): importance |
Undecided |
Medium |
|
2024-07-10 19:09:55 |
Sudip Mukherjee |
pycallgraph (Ubuntu Jammy): importance |
Undecided |
Medium |
|
2024-07-10 19:09:57 |
Sudip Mukherjee |
pycallgraph (Ubuntu Focal): importance |
Undecided |
Medium |
|
2024-07-10 19:10:02 |
Sudip Mukherjee |
pycallgraph (Ubuntu Oracular): assignee |
Sudip Mukherjee (sudipmuk) |
|
|
2024-07-10 19:10:06 |
Sudip Mukherjee |
pycallgraph (Ubuntu Oracular): status |
In Progress |
Fix Released |
|
2024-07-10 19:23:42 |
Sudip Mukherjee |
summary |
pycallgraph crashed with AttributeError in Noble |
[SRU] pycallgraph crashed with AttributeError |
|
2024-07-10 19:23:54 |
Sudip Mukherjee |
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 |
[ Impact ]
pycallgraph is completely unusable and crashes immediately when executed by the user.
$ pycallgraph --help
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'
[ Test Plan ]
install python3-pycallgraph.
As a basic test, execute "pycallgraph --help"
If the package is not fixed,it will fail with the above error.
With the fixed package, it will display the help menu.
As a more complete test:
copy the attached basic.py and use the command:
pycallgraph graphviz basic.py
It will create two png files "basic.png" and "pycallgraph.png".
[ Where problems could occur ]
The 'distutils' module is not available in Python3.12. 'distutils' was used previously to find the executable and was also used to get the path of the python lib. Now, its being replaced with 'shutil' and using 'which' to find the executable. And, 'sysconfig' is used to get the path of the python lib.
In the worst case, if 'which' or 'sysconfig' fails to find the path then the user will still see pycallgraph is failing but with a different error message.
[ Other Info ]
It has been fixed in Debian and so Oracular is also fixed now.
[ Original 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 |
|
2024-07-10 19:25:02 |
Sudip Mukherjee |
attachment added |
|
basic.py https://bugs.launchpad.net/ubuntu/+source/pycallgraph/+bug/2062065/+attachment/5796003/+files/basic.py |
|
2024-07-10 19:27:42 |
Sudip Mukherjee |
pycallgraph (Ubuntu Noble): assignee |
Sudip Mukherjee (sudipmuk) |
|
|
2024-07-11 10:52:30 |
Sudip Mukherjee |
pycallgraph (Ubuntu Jammy): assignee |
Sudip Mukherjee (sudipmuk) |
|
|
2024-07-11 11:02:02 |
Sudip Mukherjee |
description |
[ Impact ]
pycallgraph is completely unusable and crashes immediately when executed by the user.
$ pycallgraph --help
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'
[ Test Plan ]
install python3-pycallgraph.
As a basic test, execute "pycallgraph --help"
If the package is not fixed,it will fail with the above error.
With the fixed package, it will display the help menu.
As a more complete test:
copy the attached basic.py and use the command:
pycallgraph graphviz basic.py
It will create two png files "basic.png" and "pycallgraph.png".
[ Where problems could occur ]
The 'distutils' module is not available in Python3.12. 'distutils' was used previously to find the executable and was also used to get the path of the python lib. Now, its being replaced with 'shutil' and using 'which' to find the executable. And, 'sysconfig' is used to get the path of the python lib.
In the worst case, if 'which' or 'sysconfig' fails to find the path then the user will still see pycallgraph is failing but with a different error message.
[ Other Info ]
It has been fixed in Debian and so Oracular is also fixed now.
[ Original 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 |
[ Impact ]
pycallgraph is completely unusable and crashes immediately when executed by the user.
$ pycallgraph --help
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'
[ Test Plan ]
install python3-pycallgraph.
As a basic test, execute "pycallgraph --help"
If the package is not fixed,it will fail with the above error.
With the fixed package, it will display the help menu.
As a more complete test:
copy the attached basic.py and use the command:
pycallgraph graphviz basic.py
It will create two png files "basic.png" and "pycallgraph.png".
[ Where problems could occur ]
The 'distutils' module is not available in Python3.12. 'distutils' was used previously to find the executable and was also used to get the path of the python lib. Now, its being replaced with 'shutil' and using 'which' to find the executable. And, 'sysconfig' is used to get the path of the python lib.
In the worst case, if 'which' or 'sysconfig' fails to find the path then the user will still see pycallgraph is failing but with a different error message.
[ Other Info ]
1. It has been fixed in Debian and so Oracular is also fixed now.
2. In Focal, the patch had to be modified to hardcode the path as I am unable to get the path '/usr/lib/python3/dist-packages' from any of ths syconfig opions. All the sysconfig variables and paths can be seen with the command 'python3 -m sysconfig' and there is no way to generate the required path from sysconfig.
And, in Focal pycallgraph will be installed in that path, if 'tracer.py' does not get the correct path then the generated 'pycallgraph.png' will not be same as Jammy or Noble or Oracular with the same test file 'basic.py'.
[ Original 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 |
|
2024-07-11 11:04:39 |
Sudip Mukherjee |
pycallgraph (Ubuntu Focal): assignee |
Sudip Mukherjee (sudipmuk) |
|
|