Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525650 - dev-python/geoip-python / net-p2p/transmission-remote-cli - transmission-remote-cli: GeoIP.error: [Errno 2] No such file or directory: '/usr/share/GeoIP/GeoIP.dat'
Summary: dev-python/geoip-python / net-p2p/transmission-remote-cli - transmission-remo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-17 10:34 UTC by Ari Malinen
Modified: 2020-05-16 10:38 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ari Malinen 2014-10-17 10:34:35 UTC
net-p2p/transmission-remote-cli crashes at startup.

$ transmission-remote-cli
Error Opening file /usr/share/GeoIP/GeoIP.dat
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/transmission-remote-cli", line 3625, in <module>
    config.get('Connection', 'password'))
  File "/usr/lib/python-exec/python2.7/transmission-remote-cli", line 371, in __init__
    self.geo_ip = GeoIP.new(GeoIP.GEOIP_MEMORY_CACHE)
GeoIP.error: [Errno 2] No such file or directory: '/usr/share/GeoIP/GeoIP.dat'

Reproducible: Always

Steps to Reproduce:
1. emerge transmission-remote-cli
2. run transmission-remote-cli
3. transmission-remote-cli crashes
Comment 1 Hendrik v. Raven 2014-10-20 08:46:24 UTC
Have you run one of the update scripts for the geoip database as mentioned in the merge process of dev-libs/geoip?

*** Don't forget to run the included geoipupdate.sh or geoipupdate (from
*** net-misc/geoipupdate) regularly to populate //usr/share/GeoIP/
*** with geo-located IP address databases

Easiest way is to run geoipupdate.sh -f for initialization and in future without -f for updates.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-20 09:04:01 UTC
(In reply to Hendrik v. Raven from comment #1)
> Have you run one of the update scripts for the geoip database as mentioned
> in the merge process of dev-libs/geoip?

That's beside the point. The script should fail gracefully when that file does not exist. But maybe that should be fixed in dev-python/geoip-python instead.
Comment 3 Hendrik v. Raven 2014-10-20 10:01:55 UTC
(In reply to Jeroen Roovers from comment #2)
> That's beside the point. The script should fail gracefully when that file
> does not exist. But maybe that should be fixed in dev-python/geoip-python
> instead.
Yepp, it should, but please report that upstream at transmission-remote-cli. It's not a gentoo specific problem.
Comment 4 Larry the Git Cow gentoo-dev 2020-05-16 10:38:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55234cf8ac62747c1d18775060bfff1cfe951c67

commit 55234cf8ac62747c1d18775060bfff1cfe951c67
Author:     Mikle Kolyada <zlogene@gentoo.org>
AuthorDate: 2020-05-16 10:36:54 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2020-05-16 10:36:54 +0000

    net-p2p/transmission-remote-cli: remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=713518
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=525650
    
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>

 net-p2p/transmission-remote-cli/Manifest           |  1 -
 net-p2p/transmission-remote-cli/metadata.xml       |  8 ------
 .../transmission-remote-cli-1.7.1.ebuild           | 33 ----------------------
 3 files changed, 42 deletions(-)