Since the latest update, starting tremc gets me:
Error Opening file /usr/local/share/GeoIP/GeoIP.dat
Traceback (most recent call last):
File "/usr/local/bin/tremc", line 3718, in <module>
File "/usr/local/bin/tremc", line 365, in __init__
self.geo_ip = GeoIP.new(GeoIP.GEOIP_MEMORY_CACHE)
GeoIP.error: [Errno 2] No such file or directory: '/usr/local/share/GeoIP/GeoIP.dat'
/usr/local/share/GeoIP/ is empty.
GeoIP-1.6.12_1 and py36-GeoIP-1.3.2_1 are installed.
When I run geoipupdate.sh it won't download anything, as apparently the URL in the .sh file is no longer working.
I recompiled tremc _without_ GeoIP support, still it gives me the same error.
Do you have any idea what I could be doing wrong?
Basically Maxmind is not providing that file anymore. I will contact the GeoIP maintainer about that.
Tremc still break when the GEOIP option is off because it is the typical python software, and the dependencies are run time. If you remove the `net/GeoIP` package from your system it should work fine.
For now I will remove GEOIP from the default options.
Thank you for reporting.
Given the necessary GeoIP is now legacy by upstream and also deprecated in ports, I will remove that OPTION completely (at least until Tremc acquire the same function using another component).
Created attachment 200918 [details]
Remove GeoIP option.
Created attachment 200919 [details]
Remove GeoIP and add IPY OPTIONS.
A commit references this bug:
Date: Tue Jan 8 17:00:06 UTC 2019
New revision: 489724
net-p2p/py-tremc: remove the broken GeoIP option
- add IPY option (extract ipv4 from ipv6 addresses)
Reported by: firstname.lastname@example.org
Approved by: tcberner (mentor)