ImportError: No module named aptzeroconf

Bug #494698 reported by Anton Yakutovich
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apt-zeroconf
Undecided
Unassigned

Bug Description

I've created deb package with sources from trunk. "apt-zeroconf" in terminal tells me:
~ $ apt-zeroconf
Traceback (most recent call last):
  File "/usr/bin/apt-zeroconf", line 29, in <module>
    from aptzeroconf import main
ImportError: No module named aptzeroconf

I tryed change config location in /usr/share/pyshared/aptzeroconf/config.py, but it does'n change anything.

Revision history for this message
Jeremy Austin-Bardo (ausimage) wrote :

This is a known issue... though the solution is unclear. It appears that whatever user is used to execute scripts on init or from debconf itself is missing the actual python path values. The code has worked from a user's terminal though even with sudo. I too am still looking for clarifications to this problem.

Revision history for this message
Linus C Unneback (linusu) wrote :

It seems like it is affecting the module "aptzeroconf.daemon" aswell, got this at install:

 * Starting apt-zeroconf APT proxy Traceback (most recent call last):
  File "/usr/bin/apt-zeroconf", line 44, in <module>
    from aptzeroconf.daemon import Daemon
ImportError: No module named aptzeroconf.daemon

Revision history for this message
Linus C Unneback (linusu) wrote :

Just realized that the aptzeroconf.daemon had it's own bug, sorry for posting in this bug.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers