[SRU] Nicotine fails to start due to GeoIP error

Bug #459697 reported by Jerry Chong
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nicotine (Ubuntu)
Fix Released
Medium
Unassigned
Karmic
Fix Released
Medium
Andrea Veri

Bug Description

Binary package hint: nicotine

Occurring in Karmic RC. Nicotine fails to initialize the GeoIP library and doesn't start:

~$ nicotine
Error Opening file /usr/share/GeoIP/GeoIP.dat
Traceback (most recent call last):
  File "/usr/bin/nicotine", line 267, in <module>
    run()
  File "/usr/bin/nicotine", line 253, in run
    app = frame.MainApp(config, plugins, trayicon, tryrgba, hidden, webbrowser)
  File "/usr/lib/pymodules/python2.6/pynicotine/gtkgui/frame.py", line 3629, in __init__
    self.frame = NicotineFrame(config, plugindir, trayicon, rgbamode, start_hidden, WebBrowser)
  File "/usr/lib/pymodules/python2.6/pynicotine/gtkgui/frame.py", line 326, in __init__
    self.np = NetworkEventProcessor(self, self.callback, self.logMessage, self.SetStatusText, config)
  File "/usr/lib/pymodules/python2.6/pynicotine/pynicotine.py", line 100, in __init__
    self.geoip = GeoIP.new(GeoIP.GEOIP_MEMORY_CACHE)
error: Can't create GeoIP->gi object

ProblemType: Bug
Architecture: i386
Date: Sat Oct 24 18:58:42 2009
DistroRelease: Ubuntu 9.10
Package: nicotine 1.2.12+dfsg-1ubuntu1
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.47-generic
SourcePackage: nicotine
Uname: Linux 2.6.31-14-generic i686

Revision history for this message
Jerry Chong (zanglang) wrote :
Revision history for this message
keeske (kees-koevoets) wrote :

Had the same problem here with Nicotine under Karmic.
Problems were solved after installing geoip-database package:

- sudo apt-get install geoip-database

Andrea Veri (av)
summary: - [karmic] Nicotine fails to start due to GeoIP error
+ [SRU] Nicotine fails to start due to GeoIP error
Revision history for this message
John Dong (jdong) wrote :

If this escapes under my bugmail queue; consider this a preliminary ACK from motu-sru on the idea of adding the said dependency.

Revision history for this message
Andrea Veri (av) wrote :

thanks for your report, I think this fix needs to go into Karmic, moving this into an SRU request.

Changed in nicotine (Ubuntu):
assignee: nobody → Andrea Veri (av)
importance: Undecided → Medium
Revision history for this message
Andrea Veri (av) wrote :

I had geoip-database installed on my system already, so nicotine was working fine. Removing that package makes it failing to startup, gonna upload the package to karmic-proposed in a few and then you guys should be able to give it a try. Thanks again.

Changed in nicotine (Ubuntu Karmic):
assignee: nobody → Andrea Veri (av)
importance: Undecided → Medium
Changed in nicotine (Ubuntu):
assignee: Andrea Veri (av) → nobody
Revision history for this message
Andrea Veri (av) wrote :

attaching debdiff for a fast review of the ubuntu-sru team.

debdiffed nicotine_1.2.12+dfsg-1ubuntu1 and nicotine_1.2.12+dfsg-1ubuntu1.1

Revision history for this message
Scott Kitterman (kitterman) wrote :

Needs to be fixed in Lucid before the SRU.

Revision history for this message
Andrea Veri (av) wrote :

I've uploaded it to Lucid yesterday already.

Revision history for this message
Martin Pitt (pitti) wrote :

nicotine (1.2.12+dfsg-1ubuntu2) lucid; urgency=low

  * debian/control:
    - added a depends on geoip-database preventing nicotine
      to fail at startup. SRU into karmic-proposed already.

 -- Andrea Veri < <email address hidden>> Thu, 05 Nov 2009 23:57:13 +0100

Changed in nicotine (Ubuntu):
status: New → Fix Released
Changed in nicotine (Ubuntu Karmic):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted nicotine into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [Bug 459697] Re: [SRU] Nicotine fails to start due to GeoIP error

Then please correct the status of the bug.

Revision history for this message
Andrea Veri (av) wrote :

works fine here.

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nicotine - 1.2.12+dfsg-1ubuntu1.1

---------------
nicotine (1.2.12+dfsg-1ubuntu1.1) karmic-proposed; urgency=low

  * SRU Upload. (LP: #459697)
  * debian/control:
    - added a depends on geoip-database preventing nicotine
      to fail at startup.
 -- Andrea Veri <email address hidden> Thu, 05 Nov 2009 23:37:18 +0100

Changed in nicotine (Ubuntu Karmic):
status: Fix Committed → Fix Released
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.