package nulog 2.0.dfsg.1-2 failed to install/upgrade: exceptions.ImportError: No module named nucentral

Bug #706433 reported by Tanath
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
nulog (Ubuntu)
Triaged
High
Unassigned

Bug Description

Binary package hint: nulog

Installing nulog.

ProblemType: Package
DistroRelease: Ubuntu 10.10
Package: nulog 2.0.dfsg.1-2
ProcVersionSignature: Ubuntu 2.6.35-25.43-generic 2.6.35.10
Uname: Linux 2.6.35-25-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sat Jan 22 17:47:22 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
PackageArchitecture: all
SourcePackage: nulog
Title: package nulog 2.0.dfsg.1-2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Revision history for this message
Tanath (tanath) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

The error is
=====
Setting up nulog (2.0.dfsg.1-2) ...

Starting nulog: /usr/lib/python2.6/dist-packages/formless/annotate.py:730: DeprecationWarning: object.__new__() takes no parameters

  rv = cls = InterfaceClass.__new__(cls, name, bases, dct)

/usr/lib/python2.6/dist-packages/nevow/testutil.py:7: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.

  from popen2 import Popen3

/usr/lib/python2.6/dist-packages/nevow/guard.py:15: DeprecationWarning: the md5 module is deprecated; use hashlib instead

  import md5

Traceback (most recent call last):

  File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 626, 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 374, in run

    self.application = self.createOrGetApplication()

  File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 439, in createOrGetApplication

    application = getApplication(self.config, passphrase)

--- <exception caught here> ---

  File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 450, 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/sbin/nulog.tac", line 37, in <module>

    from nucentral import client, core

exceptions.ImportError: No module named nucentral

Failed to load application: No module named nucentral

invoke-rc.d: initscript nulog, action "start" failed.

dpkg: error processing nulog (--configure):

 subprocess installed post-installation script returned error exit status 1
=====

I can reproduce it in natty. setting to triaged/high

Changed in nulog (Ubuntu):
importance: Undecided → High
status: New → Triaged
summary: - package nulog 2.0.dfsg.1-2 failed to install/upgrade: subprocess
- installed post-installation script returned error exit status 1
+ package nulog 2.0.dfsg.1-2 failed to install/upgrade:
+ exceptions.ImportError: No module named nucentral
Changed in nulog (Ubuntu):
milestone: none → ubuntu-11.04
Martin Pitt (pitti)
Changed in nulog (Ubuntu):
milestone: ubuntu-11.04 → none
Revision history for this message
Juan Carlos Inostroza (jci) wrote :

Hi,

happened the same to me in Natty when installing nulog:

$ sudo apt-get install nulog
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  python-ipy python-matplotlib python-matplotlib-data python-mysqldb python-pyparsing python-soappy python-tz ttf-lyx
Suggested packages:
  ulogd ulogd-mysql nufw dvipng ipython python-excelerator python-matplotlib-doc python-scipy python-traits texlive-extra-utils texlive-latex-extra python-mysqldb-dbg
The following NEW packages will be installed:
  nulog python-ipy python-matplotlib python-matplotlib-data python-mysqldb python-pyparsing python-soappy python-tz ttf-lyx
0 upgraded, 9 newly installed, 0 to remove and 61 not upgraded.
Need to get 5,018 kB of archives.
After this operation, 18.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
...
Starting nulog: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 631, in run
    runApp(config)
  File "/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 23, in runApp
(Python traceback)
  File "/usr/sbin/nulog.tac", line 37, in <module>
    from nucentral import client, core
exceptions.ImportError: No module named nucentral

Failed to load application: No module named nucentral

invoke-rc.d: initscript nulog, action "start" failed.
dpkg: error processing nulog (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for python-support ...
Errors were encountered while processing:
 nulog
E: Sub-process /usr/bin/dpkg returned an error code (1)

Fixed this issue by doing the following:

$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 61 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up nulog (2.0.dfsg.1-2) ...
Starting nulog: DB: SELECT COUNT(*) FROM conntrack_ulog;
DB: SELECT MIN(timestamp), MAX(timestamp) FROM ulog_1;
nulog.
Processing triggers for python-support ...

And that's it. :-)

Kind regards,
--j

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.