After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 610749 - Failed install from ppa Ubuntu repository (Ubuntu 10.04 Lucid ALPHA 2)
Failed install from ppa Ubuntu repository (Ubuntu 10.04 Lucid ALPHA 2)
Status: RESOLVED FIXED
Product: nanny
Classification: Deprecated
Component: General
2.29.x
Other Linux
: Normal normal
: ---
Assigned To: Roberto Majadas
nanny-maint
Depends on:
Blocks:
 
 
Reported: 2010-02-22 23:52 UTC by Cristian Consonni
Modified: 2012-03-24 08:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Cristian Consonni 2010-02-22 23:52:47 UTC
[snip]
Configurazione di nanny (2.29.1-0ubuntu1)...
update-rc.d: warning: /etc/init.d/nanny missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
Starting nanny (Parental Control Daemon): Traceback (most recent call last):
  • File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 693 in run
    runApp(config)
  • File "/usr/lib/python2.6/dist-packages/twisted/scripts/twistd.py", line 23 in runApp
    _SomeApplicationRunner(config).run()
  • File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 411 in run
    self.application = self.createOrGetApplication()
  • File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 494 in createOrGetApplication
    application = getApplication(self.config, passphrase) --- <exception caught here> ---
  • File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 505 in getApplication
    application = service.loadApplication(filename, style, passphrase)
  • File "/usr/lib/python2.6/dist-packages/twisted/application/service.py", line 390 in loadApplication
    application = sob.loadValueFromFile(filename, 'application', passphrase)
  • File "/usr/lib/python2.6/dist-packages/twisted/persisted/sob.py", line 210 in loadValueFromFile
    exec fileObj in d, d
  • File "/usr/share/nanny/daemon/nanny.tap", line 20 in <module>
    import nanny.daemon
  • File "/usr/lib/python2.6/dist-packages/nanny/daemon/__init__.py", line 2 in <module>
    from QuarterBack import QuarterBack
  • File "/usr/lib/python2.6/dist-packages/nanny/daemon/QuarterBack.py", line 36 in <module>
    from LinuxSessionFiltering import LinuxSessionFiltering as SessionFilter
  • File "/usr/lib/python2.6/dist-packages/nanny/daemon/LinuxSessionFiltering.py", line 32 in <module>
    import gtop
exceptions.ImportError: No module named gtop

Failed to load application: No module named gtop

invoke-rc.d: initscript nanny, action "start" failed.
dpkg: errore nell'elaborare nanny (--configure):
 il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 1

[snip]
E: Sub-process /usr/bin/dpkg returned an error code (1)
----
Installation from:
#Gnome Nanny
deb http://ppa.launchpad.net/guadalinex-members/ppa/ubuntu lucid main 
deb-src http://ppa.launchpad.net/guadalinex-members/ppa/ubuntu lucid main 

with apt-get
Comment 1 oriolsbd 2010-02-23 20:10:00 UTC
This error also happened to me in Ubuntu Karmic.
Comment 2 Juanje Ojeda 2010-02-24 11:22:48 UTC
This is actually a bug of Ubuntu packaging so I put on Launchpad:
http://bugs.launchpad.net/nanny/+bug/526932

The problem is the package python-gtop was (before Ubuntu Karmic) part of python-gtk, but now it's splitted.

Anyway, the bug was fixed and the packages were built and uploaded to the PPA.

You should have fixed this bug with the new version. If you have still problems, please reopen the bug, or better, reopen the bug on Ubuntu (as long as the bug is not upstream's).

Thanks