Closed ghost closed 8 years ago
I have the same issue, it started to appear recently
qBittorrent: v3.3.4 Qt: 5.6.0 libtorrent: 1.0.8.0 boost: 1.60.0 OS version: Win7 [Version 6.1.7601]
$ grep GeoIP qbittorrent.log (I) 2016-08-02T15:38:46 - GeoIP database loaded. Type: GeoLite2-Country. Build time: Tue Jun 7 13:46:36 2016. (I) 2016-08-02T15:38:53 - GeoIP database loaded. Type: GeoLite2-Country. Build time: Wed Jul 6 22:23:29 2016. (I) 2016-08-02T15:38:53 - Successfully updated GeoIP database. (I) 2016-08-07T21:59:32 - GeoIP database loaded. Type: GeoLite2-Country. Build time: Wed Jul 6 22:23:29 2016. (W) 2016-08-07T21:59:33 - Couldn't load GeoIP database. Reason: Unsupported database file size. (I) 2016-08-09T00:17:30 - GeoIP database loaded. Type: GeoLite2-Country. Build time: Wed Jul 6 22:23:29 2016. (W) 2016-08-09T00:17:32 - Couldn't load GeoIP database. Reason: Unsupported database file size. (I) 2016-08-09T02:23:21 - GeoIP database loaded. Type: GeoLite2-Country. Build time: Wed Jul 6 22:23:29 2016. (W) 2016-08-09T02:23:22 - Couldn't load GeoIP database. Reason: Unsupported database file size.
Cant replicate with a fresh install of 3.3.6 :C
~~If you're affected by this you can just redownload the country database and put it in appdata/local/qbittorent/GeoIP https://dev.maxmind.com/geoip/geoip2/geolite2/~~
~~You want the "Country" database download from the page i linked. Direct link is here: http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz You'll need to extract it as its gzipped so you'll need a utility like 7zip.~~
Doesnt load, unsupported database file size
I have the same issue since i installed qBittorrent.
qBittorrent v3.3.6 Qt: 5.7.0 libtorrent: 1.0.9.0 boost: 1.61.0 OS version: Win10 64bit
Maybe the GeoIP database updated and qBittorrent just has some problem with compatibility?
src\base\net\private\geoipdatabase.cpp:
43: const int MAX_FILE_SIZE = 10485760; // 10MB
100: if (file.size() > MAX_FILE_SIZE) {
101: error = tr("Unsupported database file size.");
102: return 0;
103: }
But now GeoLite2-Country.mmdb is ~19 Mb. You should increase this const or remove it entirely. Because IPv4 pool is over, ip block distribution among countries is heavily fragmented and fragmentation grows and grows.
Hi, got the same issue:
qBittorrent: v3.3.6 Qt: 4.8.6 libtorrent: 1.0.7.0 boost: 1.54.0 OS version: Linux Mint 17.3 XFCE (32 bits)
Installed from qBittorrent Stable PPA.
Log says:
8/24/16 5:40 AM - Couldn't load GeoIP database. Reason: Unsupported database file size. 8/24/16 5:39 AM - Couldn't load GeoIP database. Reason: No such file or directory
See #5648, which is linked above. It's being worked on, to be fixed in the next version. :)
qBittorrent: v3.3.6 Qt: 5.7.0 libtorrent: 1.0.9.0 boost: 1.61.0 OS version: Win10 x64 Build 14393 (version 1607) 10.0.14393
On a fresh installation of qBittorrent on the system mentioned above, the log gives me following message:
(translated: The system cannot find the path specified.)
and later...
This results in the error of not resolving the peer countries, leaving the tab "Country" in the peers tab blank.
GeoIP is activated along with resolving the peer's host names. Neither restarting, nor deactivating and re-activating the setting fixes the problem. Reverting back to qBittorrent v3.3.5, then to v3.3.4 did not fix the problem either -- the same message appears in the log.