Public bug reported:

/usr/lib/python3/dist-packages/topic_tools/srv/__init__.py needs to
exist in order to be able import from it like

python3 -c "from topic_tools.srv import MuxSelect"

There is an init.py in one directory up, but one in srv is needed.

python3-std-srvs does it correctly as listed in
https://packages.debian.org/buster/all/python3-std-srvs/filelist, there
is a top level init.py and a srv/__init__.py

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: python3-topic-tools 1.15.14+ds-2build2
ProcVersionSignature: Ubuntu 6.11.0-19.19~24.04.1-generic 6.11.11
Uname: Linux 6.11.0-19-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Wed Mar 26 07:18:05 2025
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
SourcePackage: ros-ros-comm
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ros-ros-comm (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2104269

Title:
  python3-topic-tools is missing __init__.py in the srv directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ros-ros-comm/+bug/2104269/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to