You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to build the database with sportdb I get the following error:
$ sportdb new en
activerecord-utils/0.4.0 (activerecord/6.0.0) on Ruby 2.5.1 (2018-03-29) [x86_64-linux-gnu]
[TagDb.has_many_tags] adding taggings n tags has_many assocs to model >WorldDb::Model::Country<
[TagDb.has_many_tags] adding taggings n tags has_many assocs to model >WorldDb::Model::StateBase<
[TagDb.has_many_tags] adding taggings n tags has_many assocs to model >WorldDb::Model::CityBase<
sportdb-update/0.1.1 on Ruby 2.5.1 (2018-03-29) [x86_64-linux-gnu]
sportdb-service/0.4.0 on Ruby 2.5.1 (2018-03-29) [x86_64-linux-gnu]
sportdb/1.11.0 on Ruby 2.5.1 (2018-03-29) [x86_64-linux-gnu]
sportdb/1.11.0 on Ruby 2.5.1 (2018-03-29) [x86_64-linux-gnu]
[info] [builder] add world-dataset 'world.db'
[info] [builder] add football-dataset 'eng-england'
[info] [datafile] dowload
[info] download dataset 'openmundi/world.db'
[info] from 'http://github.com/openmundi/world.db/archive/master.zip'
[info] to './tmp/openmundi--I--world.db.zip'...
[info] downloading http://github.com/openmundi/world.db/archive/master.zip to ./tmp/openmundi--I--world.db.zip...
[info] download dataset 'openfootball/eng-england'
[info] from 'http://github.com/openfootball/eng-england/archive/master.zip'
[info] to './tmp/openfootball--I--eng-england.zip'...
[info] downloading http://github.com/openfootball/eng-england/archive/master.zip to ./tmp/openfootball--I--eng-england.zip...
working directory: /mnt/c/Users/NS43533/Documents/GitHub/EPL_football_data
Connecting to db using settings:
{:adapter=>"sqlite3", :database=>"./sport.db"}
-- create_table(:logs)
-> 0.0006s
-- create_table(:props)
-> 0.0004s
-- create_table(:tags)
-> 0.0009s
-- add_index(:tags, :key, {:unique=>true})
-> 0.0007s
-- create_table(:taggings)
-> 0.0003s
-- add_index(:taggings, :tag_id)
-> 0.0004s
-- add_index(:taggings, [:taggable_id, :taggable_type])
-> 0.0006s
-- add_index(:taggings, [:taggable_id, :taggable_type, :tag_id], {:unique=>true})
-> 0.0009s
-- create_table(:places)
-> 0.0003s
-- create_table(:names)
-> 0.0007s
-- create_table(:continents)
-> 0.0007s
-- add_index(:continents, :key, {:unique=>true})
-> 0.0007s
-- create_table(:country_codes)
-> 0.0007s
-- add_index(:country_codes, [:name, :kind], {:unique=>true})
-> 0.0006s
-- create_table(:countries)
-> 0.0026s
-- add_index(:countries, :key, {:unique=>true})
-> 0.0012s
-- add_index(:countries, :code, {:unique=>true})
-> 0.0014s
-- create_table(:states)
-> 0.0015s
-- add_index(:states, [:key, :country_id], {:unique=>true})
-> 0.0009s
-- create_table(:parts)
-> 0.0015s
-- create_table(:counties)
-> 0.0023s
-- create_table(:munis)
-> 0.0023s
-- create_table(:zones)
-> 0.0002s
-- create_table(:cities)
-> 0.0095s
-- create_table(:metros)
-> 0.0015s
-- create_table(:districts)
-> 0.0014s
-- create_table(:langs)
-> 0.0003s
-- create_table(:usages)
-> 0.0015s
-- create_table(:persons)
-> 0.0036s
-- create_table(:teams)
-> 0.0024s
-- add_index(:teams, :key, {:unique=>true})
-> 0.0013s
-- create_table(:grounds)
-> 0.0015s
-- add_index(:grounds, :key, {:unique=>true})
-> 0.0009s
-- create_table(:goals)
-> 0.0024s
-- create_table(:rosters)
-> 0.0023s
-- create_table(:events)
-> 0.0015s
-- add_index(:events, :key, {:unique=>true})
-> 0.0009s
-- create_table(:rounds)
-> 0.0004s
-- add_index(:rounds, :event_id)
-> 0.0004s
-- create_table(:groups)
-> 0.0003s
-- add_index(:groups, :event_id)
-> 0.0005s
-- create_table(:games)
-> 0.0026s
-- add_index(:games, :key, {:unique=>true})
-> 0.0012s
-- add_index(:games, :round_id)
-> 0.0016s
-- add_index(:games, :group_id)
-> 0.0018s
-- add_index(:games, :next_game_id)
-> 0.0020s
-- add_index(:games, :prev_game_id)
-> 0.0022s
-- add_index(:games, :team1_id)
-> 0.0023s
-- add_index(:games, :team2_id)
-> 0.0026s
-- create_table(:events_teams)
-> 0.0003s
-- add_index(:events_teams, [:event_id, :team_id], {:unique=>true})
-> 0.0005s
-- add_index(:events_teams, :event_id)
-> 0.0011s
-- create_table(:events_grounds)
-> 0.0003s
-- add_index(:events_grounds, [:event_id, :ground_id], {:unique=>true})
-> 0.0004s
-- add_index(:events_grounds, :event_id)
-> 0.0007s
-- create_table(:groups_teams)
-> 0.0007s
-- add_index(:groups_teams, [:group_id, :team_id], {:unique=>true})
-> 0.0005s
-- add_index(:groups_teams, :group_id)
-> 0.0007s
-- create_table(:seasons)
-> 0.0003s
-- create_table(:leagues)
-> 0.0012s
-- create_table(:badges)
-> 0.0029s
-- create_table(:assocs)
-> 0.0012s
-- add_index(:assocs, :key, {:unique=>true})
-> 0.0007s
-- create_table(:assocs_assocs)
-> 0.0006s
-- add_index(:assocs_assocs, [:assoc1_id, :assoc2_id], {:unique=>true})
-> 0.0005s
-- add_index(:assocs_assocs, :assoc1_id)
-> 0.0007s
-- add_index(:assocs_assocs, :assoc2_id)
-> 0.0012s
-- create_table(:group_standings)
-> 0.0011s
-- create_table(:group_standing_entries)
-> 0.0019s
-- create_table(:event_standings)
-> 0.0011s
-- create_table(:event_standing_entries)
-> 0.0019s
-- create_table(:alltime_standings)
-> 0.0004s
-- create_table(:alltime_standing_entries)
-> 0.0022s
[info] parsing data (setup) 'setups/all' (/var/lib/gems/2.5.0/gems/sportdb-models-1.18.0/data/setups/all.txt)...
[info] parsing data (season) 'seasons' (/var/lib/gems/2.5.0/gems/sportdb-models-1.18.0/data/seasons.txt)...
[info] [datafile] read
[info] read world-dataset (zip) 'openmundi/world.db', 'setups/countries'
[#<Zip::Entry:0x00007fffd94c7e18
@comment="",
@comment_length=0,
@compressed_size=316,
@compression_method=8,
@crc=2998242997,
@dirty=false,
@external_file_attributes=0,
@extra=
{"UniversalTime"=>
#<Zip::ExtraField::UniversalTime:0x00007fffd94c7aa8
@atime=nil,
@ctime=nil,
@flag=1,
@mtime=2017-08-31 19:19:58 +0100>},
@extra_length=9,
@filepath=nil,
@follow_symlinks=false,
@fstype=0,
@ftype=:file,
@gp_flags=0,
@header_signature=33639248,
@internal_file_attributes=1,
@last_mod_date=19231,
@last_mod_time=23165,
@local_header_offset=128246,
@local_header_size=nil,
@name="world.db-master/setups/countries.txt",
@name_length=36,
@restore_ownership=false,
@restore_permissions=false,
@restore_times=true,
@size=1018,
@time=2017-08-31 11:19:58 +0100,
@unix_gid=nil,
@unix_perms=nil,
@unix_uid=nil,
@version=0,
@version_needed_to_extract=10,
@zipfile="./tmp/openmundi--I--world.db.zip">]
[info] parsing data (setup) in zip 'setups/countries' (world.db-master/setups/countries.txt)...
[info] parsing data (values) in zip 'continents' (world.db-master/continents.txt)...
[info] parsing data (country) in zip 'africa/countries' (world.db-master/africa/countries.txt)...
[debug] ReaderBase.from_string calling WorldDb::CountryReader.new
[Name.parse] adding Name record:
{:place_id=>12, :place_kind=>"CITY", :name=>"Bujumbura"}
[Name.parse] adding Name record:
{:place_id=>14, :place_kind=>"CITY", :name=>"Moroni"}
[Name.parse] adding Name record:
{:place_id=>16, :place_kind=>"CITY", :name=>"Djibouti"}
[Name.parse] adding Name record:
{:place_id=>18, :place_kind=>"CITY", :name=>"Asmara"}
[Name.parse] adding Name record:
{:place_id=>20, :place_kind=>"CITY", :name=>"Addis Ababa"}
[Name.parse] adding Name record:
{:place_id=>22, :place_kind=>"CITY", :name=>"Nairobi"}
[Name.parse] adding Name record:
{:place_id=>24, :place_kind=>"CITY", :name=>"Antananarivo"}
[Name.parse] adding Name record:
{:place_id=>26, :place_kind=>"CITY", :name=>"Lilongwe"}
[Name.parse] adding Name record:
{:place_id=>28, :place_kind=>"CITY", :name=>"Port Louis"}
[Name.parse] adding Name record:
{:place_id=>30, :place_kind=>"CITY", :name=>"Maputo"}
[Name.parse] adding Name record:
{:place_id=>32, :place_kind=>"CITY", :name=>"Kigali"}
[Name.parse] adding Name record:
{:place_id=>34, :place_kind=>"CITY", :name=>"Victoria"}
[Name.parse] adding Name record:
{:place_id=>36, :place_kind=>"CITY", :name=>"Mogadishu"}
[Name.parse] adding Name record:
{:place_id=>38, :place_kind=>"CITY", :name=>"Dodoma"}
[Name.parse] adding Name record:
{:place_id=>40, :place_kind=>"CITY", :name=>"Kampala"}
[Name.parse] adding Name record:
{:place_id=>42, :place_kind=>"CITY", :name=>"Lusaka"}
[Name.parse] adding Name record:
{:place_id=>44, :place_kind=>"CITY", :name=>"Harare"}
[Name.parse] adding Name record:
{:place_id=>46, :place_kind=>"CITY", :name=>"Luanda"}
[Name.parse] adding Name record:
{:place_id=>48, :place_kind=>"CITY", :name=>"Yaoundé"}
[Name.parse] adding Name record:
{:place_id=>50, :place_kind=>"CITY", :name=>"Bangui"}
[Name.parse] adding Name record:
{:place_id=>52, :place_kind=>"CITY", :name=>"N'Djamena"}
[Name.parse] adding Name record:
{:place_id=>54, :place_kind=>"CITY", :name=>"Brazzaville"}
[Name.parse] adding Name record:
{:place_id=>56, :place_kind=>"CITY", :name=>"Kinshasa"}
[Name.parse] adding Name record:
{:place_id=>58, :place_kind=>"CITY", :name=>"Malabo"}
[Name.parse] adding Name record:
{:place_id=>60, :place_kind=>"CITY", :name=>"Libreville"}
[Name.parse] adding Name record:
{:place_id=>62, :place_kind=>"CITY", :name=>"São Tomé"}
[Name.parse] adding Name record:
{:place_id=>69, :place_kind=>"CITY", :name=>"Juba"}
[Name.parse] adding Name record:
{:place_id=>71, :place_kind=>"CITY", :name=>"Khartoum"}
[Name.parse] adding Name record:
{:place_id=>74, :place_kind=>"CITY", :name=>"Gaborone"}
[Name.parse] adding Name record:
{:place_id=>76, :place_kind=>"CITY", :name=>"Maseru"}
[Name.parse] adding Name record:
{:place_id=>78, :place_kind=>"CITY", :name=>"Windhoek"}
[Name.parse] adding Name record:
{:place_id=>80, :place_kind=>"CITY", :name=>"Lobamba"}
[Name.parse] adding Name record:
{:place_id=>82, :place_kind=>"CITY", :name=>"Porto-Novo"}
[Name.parse] adding Name record:
{:place_id=>84, :place_kind=>"CITY", :name=>"Ouagadougou"}
[Name.parse] adding Name record:
{:place_id=>86, :place_kind=>"CITY", :name=>"Praia"}
[Name.parse] adding Name record:
{:place_id=>91, :place_kind=>"CITY", :name=>"Conakry"}
[Name.parse] adding Name record:
{:place_id=>93, :place_kind=>"CITY", :name=>"Bissau"}
[Name.parse] adding Name record:
{:place_id=>95, :place_kind=>"CITY", :name=>"Monrovia"}
[Name.parse] adding Name record:
{:place_id=>97, :place_kind=>"CITY", :name=>"Bamako"}
[Name.parse] adding Name record:
{:place_id=>100, :place_kind=>"CITY", :name=>"Niamey"}
[Name.parse] adding Name record:
{:place_id=>103, :place_kind=>"CITY", :name=>"Dakar"}
[Name.parse] adding Name record:
{:place_id=>105, :place_kind=>"CITY", :name=>"Freetown"}
[Name.parse] adding Name record:
{:place_id=>107, :place_kind=>"CITY", :name=>"Lomé"}
[info] parsing data (country) in zip 'antarctica/countries' (world.db-master/antarctica/countries.txt)...
[debug] ReaderBase.from_string calling WorldDb::CountryReader.new
[info] parsing data (country) in zip 'asia/countries' (world.db-master/asia/countries.txt)...
[debug] ReaderBase.from_string calling WorldDb::CountryReader.new
[Name.parse] adding Name record:
{:place_id=>110, :place_kind=>"CITY", :name=>"Astana"}
[Name.parse] adding Name record:
{:place_id=>112, :place_kind=>"CITY", :name=>"Bishkek"}
[Name.parse] adding Name record:
{:place_id=>114, :place_kind=>"CITY", :name=>"Dushanbe"}
[Name.parse] adding Name record:
{:place_id=>116, :place_kind=>"CITY", :name=>"Ashgabat"}
[Name.parse] adding Name record:
{:place_id=>118, :place_kind=>"CITY", :name=>"Tashkent"}
[Name.parse] adding Name record:
{:place_id=>120, :place_kind=>"CITY", :name=>"Tokyo"}
[Name.parse] adding Name record:
{:place_id=>122, :place_kind=>"CITY", :name=>"Pyongyang"}
[Name.parse] adding Name record:
{:place_id=>124, :place_kind=>"CITY", :name=>"Seoul"}
[Name.parse] adding Name record:
{:place_id=>126, :place_kind=>"CITY", :name=>"Beijing"}
[Name.parse] adding Name record:
{:place_id=>128, :place_kind=>"CITY", :name=>"Taipei"}
[Name.parse] adding Name record:
{:place_id=>130, :place_kind=>"CITY", :name=>"Ulan Bator"}
[Name.parse] adding Name record:
{:place_id=>132, :place_kind=>"CITY", :name=>"Islamabad"}
[Name.parse] adding Name record:
{:place_id=>134, :place_kind=>"CITY", :name=>"New Delhi"}
[Name.parse] adding Name record:
{:place_id=>136, :place_kind=>"CITY", :name=>"Dhaka"}
[Name.parse] adding Name record:
{:place_id=>138, :place_kind=>"CITY", :name=>"Kathmandu"}
[Name.parse] adding Name record:
{:place_id=>140, :place_kind=>"CITY", :name=>"Colombo"}
[Name.parse] adding Name record:
{:place_id=>142, :place_kind=>"CITY", :name=>"Thimphu"}
[Name.parse] adding Name record:
{:place_id=>144, :place_kind=>"CITY", :name=>"Malé"}
[Name.parse] adding Name record:
{:place_id=>146, :place_kind=>"CITY", :name=>"Kabul"}
[Name.parse] adding Name record:
{:place_id=>148, :place_kind=>"CITY", :name=>"Jakarta"}
[Name.parse] adding Name record:
{:place_id=>150, :place_kind=>"CITY", :name=>"Kuala Lumpur"}
[Name.parse] adding Name record:
{:place_id=>152, :place_kind=>"CITY", :name=>"Singapore"}
[Name.parse] adding Name record:
{:place_id=>154, :place_kind=>"CITY", :name=>"Bangkok"}
[Name.parse] adding Name record:
{:place_id=>156, :place_kind=>"CITY", :name=>"Manila"}
[Name.parse] adding Name record:
{:place_id=>158, :place_kind=>"CITY", :name=>"Hanoi"}
[Name.parse] adding Name record:
{:place_id=>160, :place_kind=>"CITY", :name=>"Bandar Seri Begawan"}
[Name.parse] adding Name record:
{:place_id=>162, :place_kind=>"CITY", :name=>"Naypyidaw"}
[Name.parse] adding Name record:
{:place_id=>164, :place_kind=>"CITY", :name=>"Phnom Penh"}
[Name.parse] adding Name record:
{:place_id=>166, :place_kind=>"CITY", :name=>"Dili"}
[Name.parse] adding Name record:
{:place_id=>168, :place_kind=>"CITY", :name=>"Vientiane"}
[info] parsing data (country) in zip 'caribbean/countries' (world.db-master/caribbean/countries.txt)...
[debug] ReaderBase.from_string calling WorldDb::CountryReader.new
[Name.parse] adding Name record:
{:place_id=>173, :place_kind=>"CITY", :name=>"Port-au-Prince"}
[Name.parse] adding Name record:
{:place_id=>175, :place_kind=>"CITY", :name=>"Saint John's"}
[Name.parse] adding Name record:
{:place_id=>177, :place_kind=>"CITY", :name=>"Nassau"}
[Name.parse] adding Name record:
{:place_id=>179, :place_kind=>"CITY", :name=>"Bridgetown"}
[Name.parse] adding Name record:
{:place_id=>181, :place_kind=>"CITY", :name=>"Roseau"}
[Name.parse] adding Name record:
{:place_id=>183, :place_kind=>"CITY", :name=>"St. George's"}
[Name.parse] adding Name record:
{:place_id=>185, :place_kind=>"CITY", :name=>"Basseterre"}
[Name.parse] adding Name record:
{:place_id=>187, :place_kind=>"CITY", :name=>"Castries"}
[Name.parse] adding Name record:
{:place_id=>189, :place_kind=>"CITY", :name=>"Kingstown"}
[Name.parse] adding Name record:
{:place_id=>191, :place_kind=>"CITY", :name=>"Port of Spain"}
[info] parsing data (country) in zip 'central-america/countries' (world.db-master/central-america/countries.txt)...
[debug] ReaderBase.from_string calling WorldDb::CountryReader.new
[Name.parse] adding Name record:
{:place_id=>193, :place_kind=>"CITY", :name=>"Belmopan"}
[Name.parse] adding Name record:
{:place_id=>195, :place_kind=>"CITY", :name=>"Guatemala City"}
[Name.parse] adding Name record:
{:place_id=>197, :place_kind=>"CITY", :name=>"San José"}
[Name.parse] adding Name record:
{:place_id=>199, :place_kind=>"CITY", :name=>"Tegucigalpa"}
[Name.parse] adding Name record:
{:place_id=>201, :place_kind=>"CITY", :name=>"San Salvador"}
[Name.parse] adding Name record:
{:place_id=>203, :place_kind=>"CITY", :name=>"Managua"}
[Name.parse] adding Name record:
{:place_id=>205, :place_kind=>"CITY", :name=>"Panama City"}
[info] parsing data (country) in zip 'europe/countries' (world.db-master/europe/countries.txt)...
[debug] ReaderBase.from_string calling WorldDb::CountryReader.new
[Name.parse] adding Name record:
{:place_id=>208, :place_kind=>"CITY", :name=>"Wien"}
[Name.parse] adding Name record:
{:place_id=>210, :place_kind=>"CITY", :name=>"Brussels"}
[Name.parse] adding Name record:
{:place_id=>212, :place_kind=>"CITY", :name=>"Nicosia"}
[Name.parse] adding Name record:
{:place_id=>214, :place_kind=>"CITY", :name=>"Berlin"}
[Name.parse] adding Name record:
{:place_id=>216, :place_kind=>"CITY", :name=>"Tallinn"}
[Name.parse] adding Name record:
{:place_id=>218, :place_kind=>"CITY", :name=>"Madrid"}
[Name.parse] adding Name record:
{:place_id=>220, :place_kind=>"CITY", :name=>"Helsinki"}
[Name.parse] adding Name record:
{:place_id=>222, :place_kind=>"CITY", :name=>"Paris"}
[Name.parse] adding Name record:
{:place_id=>224, :place_kind=>"CITY", :name=>"Athens"}
[Name.parse] adding Name record:
{:place_id=>226, :place_kind=>"CITY", :name=>"Dublin"}
[Name.parse] adding Name record:
{:place_id=>257, :place_kind=>"CITY", :name=>"Vatican City"}
[Name.parse] adding Name record:
{:place_id=>259, :place_kind=>"CITY", :name=>"Sarajevo"}
[Name.parse] adding Name record:
{:place_id=>261, :place_kind=>"CITY", :name=>"Vaduz"}
[Name.parse] adding Name record:
{:place_id=>263, :place_kind=>"CITY", :name=>"Monaco"}
[Name.parse] adding Name record:
{:place_id=>265, :place_kind=>"CITY", :name=>"Podgorica"}
[Name.parse] adding Name record:
{:place_id=>267, :place_kind=>"CITY", :name=>"Chișinău"}
[Name.parse] adding Name record:
{:place_id=>269, :place_kind=>"CITY", :name=>"(City of) San Marino"}
[Name.parse] adding Name record:
{:place_id=>273, :place_kind=>"CITY", :name=>"Bakı"}
[info] parsing data (country) in zip 'middle-east/countries' (world.db-master/middle-east/countries.txt)...
[debug] ReaderBase.from_string calling WorldDb::CountryReader.new
[Name.parse] adding Name record:
{:place_id=>275, :place_kind=>"CITY", :name=>"Manama"}
[Name.parse] adding Name record:
{:place_id=>277, :place_kind=>"CITY", :name=>"Kuwait City"}
[Name.parse] adding Name record:
{:place_id=>279, :place_kind=>"CITY", :name=>"Muscat"}
[Name.parse] adding Name record:
{:place_id=>281, :place_kind=>"CITY", :name=>"Doha"}
[Name.parse] adding Name record:
{:place_id=>283, :place_kind=>"CITY", :name=>"Riyadh"}
[Name.parse] adding Name record:
{:place_id=>285, :place_kind=>"CITY", :name=>"Abu Dhabi"}
[Name.parse] adding Name record:
{:place_id=>287, :place_kind=>"CITY", :name=>"Sana'a"}
[Name.parse] adding Name record:
{:place_id=>289, :place_kind=>"CITY", :name=>"Baghdad"}
[Name.parse] adding Name record:
{:place_id=>291, :place_kind=>"CITY", :name=>"Jerusalem"}
[Name.parse] adding Name record:
{:place_id=>293, :place_kind=>"CITY", :name=>"Amman"}
[Name.parse] adding Name record:
{:place_id=>295, :place_kind=>"CITY", :name=>"Beirut"}
[Name.parse] adding Name record:
{:place_id=>298, :place_kind=>"CITY", :name=>"Damascus"}
[Name.parse] adding Name record:
{:place_id=>300, :place_kind=>"CITY", :name=>"Tehran"}
[info] parsing data (country) in zip 'north-america/countries' (world.db-master/north-america/countries.txt)...
[debug] ReaderBase.from_string calling WorldDb::CountryReader.new
[info] parsing data (country) in zip 'pacific/countries' (world.db-master/pacific/countries.txt)...
[debug] ReaderBase.from_string calling WorldDb::CountryReader.new
[Name.parse] adding Name record:
{:place_id=>305, :place_kind=>"CITY", :name=>"Canberra"}
[Name.parse] adding Name record:
{:place_id=>307, :place_kind=>"CITY", :name=>"Port Moresby"}
[Name.parse] adding Name record:
{:place_id=>309, :place_kind=>"CITY", :name=>"Suva"}
[Name.parse] adding Name record:
{:place_id=>311, :place_kind=>"CITY", :name=>"Honiara"}
[Name.parse] adding Name record:
{:place_id=>313, :place_kind=>"CITY", :name=>"Port Vila"}
[Name.parse] adding Name record:
{:place_id=>315, :place_kind=>"CITY", :name=>"Ngerulmud"}
[Name.parse] adding Name record:
{:place_id=>317, :place_kind=>"CITY", :name=>"Palikir"}
[Name.parse] adding Name record:
{:place_id=>319, :place_kind=>"CITY", :name=>"Majuro"}
[Name.parse] adding Name record:
{:place_id=>321, :place_kind=>"CITY", :name=>"Yaren"}
[Name.parse] adding Name record:
{:place_id=>323, :place_kind=>"CITY", :name=>"Tarawa"}
[Name.parse] adding Name record:
{:place_id=>325, :place_kind=>"CITY", :name=>"Wellington"}
[Name.parse] adding Name record:
{:place_id=>327, :place_kind=>"CITY", :name=>"Apia"}
[Name.parse] adding Name record:
{:place_id=>329, :place_kind=>"CITY", :name=>"Nuku'alofa"}
[Name.parse] adding Name record:
{:place_id=>331, :place_kind=>"CITY", :name=>"Funafuti"}
[info] parsing data (country) in zip 'south-america/countries' (world.db-master/south-america/countries.txt)...
[debug] ReaderBase.from_string calling WorldDb::CountryReader.new
[Name.parse] adding Name record:
{:place_id=>333, :place_kind=>"CITY", :name=>"Buenos Aires"}
[Name.parse] adding Name record:
{:place_id=>335, :place_kind=>"CITY", :name=>"La Paz"}
[Name.parse] adding Name record:
{:place_id=>337, :place_kind=>"CITY", :name=>"Brasília"}
[Name.parse] adding Name record:
{:place_id=>339, :place_kind=>"CITY", :name=>"Santiago"}
[Name.parse] adding Name record:
{:place_id=>341, :place_kind=>"CITY", :name=>"Bogotá"}
[Name.parse] adding Name record:
{:place_id=>343, :place_kind=>"CITY", :name=>"Quito"}
[Name.parse] adding Name record:
{:place_id=>345, :place_kind=>"CITY", :name=>"Lima"}
[Name.parse] adding Name record:
{:place_id=>347, :place_kind=>"CITY", :name=>"Asunción"}
[Name.parse] adding Name record:
{:place_id=>349, :place_kind=>"CITY", :name=>"Montevideo"}
[Name.parse] adding Name record:
{:place_id=>351, :place_kind=>"CITY", :name=>"Caracas"}
[Name.parse] adding Name record:
{:place_id=>353, :place_kind=>"CITY", :name=>"Georgetown"}
[Name.parse] adding Name record:
{:place_id=>355, :place_kind=>"CITY", :name=>"Paramaribo"}
[info] parsing data (country) in zip 'africa/countries_(terr)' (world.db-master/africa/countries_(terr).txt)...
[debug] ReaderBase.from_string calling WorldDb::CountryReader.new
[Name.parse] adding Name record:
{:place_id=>357, :place_kind=>"CITY", :name=>"Mamoudzou"}
[Name.parse] adding Name record:
{:place_id=>360, :place_kind=>"CITY", :name=>"Jamestown"}
[info] parsing data (country) in zip 'antarctica/countries_(terr)' (world.db-master/antarctica/countries_(terr).txt)...
[debug] ReaderBase.from_string calling WorldDb::CountryReader.new
[Name.parse] adding Name record:
{:place_id=>363, :place_kind=>"CITY", :name=>"Port-aux-Français"}
[Name.parse] adding Name record:
{:place_id=>366, :place_kind=>"CITY", :name=>"King Edward Point"}
[info] parsing data (country) in zip 'asia/countries_(terr)' (world.db-master/asia/countries_(terr).txt)...
[debug] ReaderBase.from_string calling WorldDb::CountryReader.new
[Name.parse] adding Name record:
{:place_id=>370, :place_kind=>"CITY", :name=>"West Island"}
[Name.parse] adding Name record:
{:place_id=>372, :place_kind=>"CITY", :name=>"Flying Fish Cove"}
[Name.parse] adding Name record:
{:place_id=>374, :place_kind=>"CITY", :name=>"Diego Garcia"}
[info] parsing data (country) in zip 'caribbean/countries_(terr)' (world.db-master/caribbean/countries_(terr).txt)...
[debug] ReaderBase.from_string calling WorldDb::CountryReader.new
[Name.parse] adding Name record:
{:place_id=>377, :place_kind=>"CITY", :name=>"Charlotte Amalie"}
[Name.parse] adding Name record:
{:place_id=>382, :place_kind=>"CITY", :name=>"Marigot"}
[Name.parse] adding Name record:
{:place_id=>384, :place_kind=>"CITY", :name=>"Oranjestad"}
[Name.parse] adding Name record:
{:place_id=>386, :place_kind=>"CITY", :name=>"Willemstad"}
[Name.parse] adding Name record:
{:place_id=>388, :place_kind=>"CITY", :name=>"Philipsburg"}
[Name.parse] adding Name record:
{:place_id=>390, :place_kind=>"CITY", :name=>"The Valley"}
[Name.parse] adding Name record:
{:place_id=>393, :place_kind=>"CITY", :name=>"Plymouth"}
[Name.parse] adding Name record:
{:place_id=>395, :place_kind=>"CITY", :name=>"Cockburn Town"}
[Name.parse] adding Name record:
{:place_id=>397, :place_kind=>"CITY", :name=>"Road Town"}
[info] parsing data (country) in zip 'europe/countries_(terr)' (world.db-master/europe/countries_(terr).txt)...
[debug] ReaderBase.from_string calling WorldDb::CountryReader.new
[Name.parse] adding Name record:
{:place_id=>402, :place_kind=>"CITY", :name=>"Belfast"}
[info] parsing data (country) in zip 'north-america/countries_(terr)' (world.db-master/north-america/countries_(terr).txt)...
[debug] ReaderBase.from_string calling WorldDb::CountryReader.new
[Name.parse] adding Name record:
{:place_id=>412, :place_kind=>"CITY", :name=>"Hamilton"}
[info] parsing data (country) in zip 'pacific/countries_(terr)' (world.db-master/pacific/countries_(terr).txt)...
[debug] ReaderBase.from_string calling WorldDb::CountryReader.new
[Name.parse] adding Name record:
{:place_id=>415, :place_kind=>"CITY", :name=>"Nouméa"}
[Name.parse] adding Name record:
{:place_id=>420, :place_kind=>"CITY", :name=>"Saipan"}
[Name.parse] adding Name record:
{:place_id=>423, :place_kind=>"CITY", :name=>"Alofi"}
[Name.parse] adding Name record:
{:place_id=>425, :place_kind=>"CITY", :name=>"Fakaofo"}
[Name.parse] adding Name record:
{:place_id=>427, :place_kind=>"CITY", :name=>"Kingston"}
[Name.parse] adding Name record:
{:place_id=>429, :place_kind=>"CITY", :name=>"Adamstown"}
[info] parsing data (country) in zip 'south-america/countries_(terr)' (world.db-master/south-america/countries_(terr).txt)...
[debug] ReaderBase.from_string calling WorldDb::CountryReader.new
[Name.parse] adding Name record:
{:place_id=>431, :place_kind=>"CITY", :name=>"Cayenne"}
[Name.parse] adding Name record:
{:place_id=>433, :place_kind=>"CITY", :name=>"Stanley"}
[info] parsing data (hash) in zip 'africa/2-more/continents' (world.db-master/africa/2-more/continents.yml)...
[info] parsing data (hash) in zip 'antarctica/2-more/continents' (world.db-master/antarctica/2-more/continents.yml)...
[info] parsing data (hash) in zip 'asia/2-more/continents' (world.db-master/asia/2-more/continents.yml)...
[info] parsing data (hash) in zip 'caribbean/2-more/continents' (world.db-master/caribbean/2-more/continents.yml)...
[info] parsing data (hash) in zip 'central-america/2-more/continents' (world.db-master/central-america/2-more/continents.yml)...
[info] parsing data (hash) in zip 'europe/2-more/continents' (world.db-master/europe/2-more/continents.yml)...
[info] parsing data (hash) in zip 'middle-east/2-more/continents' (world.db-master/middle-east/2-more/continents.yml)...
[info] parsing data (hash) in zip 'north-america/2-more/continents' (world.db-master/north-america/2-more/continents.yml)...
[info] parsing data (hash) in zip 'pacific/2-more/continents' (world.db-master/pacific/2-more/continents.yml)...
[info] parsing data (hash) in zip 'south-america/2-more/continents' (world.db-master/south-america/2-more/continents.yml)...
[info] parsing data (line) in zip '1-codes/fifa' (world.db-master/1-codes/fifa.txt)...
[info] parsing data (line) in zip '1-codes/fips' (world.db-master/1-codes/fips.txt)...
[info] parsing data (line) in zip '1-codes/internet' (world.db-master/1-codes/internet.txt)...
[info] parsing data (line) in zip '1-codes/ioc' (world.db-master/1-codes/ioc.txt)...
[info] parsing data (line) in zip '1-codes/iso' (world.db-master/1-codes/iso.txt)...
[info] parsing data (line) in zip '1-codes/motor' (world.db-master/1-codes/motor.txt)...
[info] read football-dataset (zip) 'openfootball/eng-england', 'setups/all'
[#<Zip::Entry:0x00007fffd9220b60
@comment="",
@comment_length=0,
@compressed_size=259,
@compression_method=8,
@crc=906013653,
@dirty=false,
@external_file_attributes=0,
@extra=
{"UniversalTime"=>
#<Zip::ExtraField::UniversalTime:0x00007fffd92206b0
@atime=nil,
@ctime=nil,
@flag=1,
@mtime=2019-08-20 06:51:17 +0100>},
@extra_length=9,
@filepath=nil,
@follow_symlinks=false,
@fstype=0,
@ftype=:file,
@gp_flags=0,
@header_signature=33639248,
@internal_file_attributes=1,
@last_mod_date=20243,
@last_mod_time=46696,
@local_header_offset=329031,
@local_header_size=nil,
@name="eng-england-master/setups/all.txt",
@name_length=33,
@restore_ownership=false,
@restore_permissions=false,
@restore_times=true,
@size=1636,
@time=2019-08-19 22:51:16 +0100,
@unix_gid=nil,
@unix_perms=nil,
@unix_uid=nil,
@version=0,
@version_needed_to_extract=10,
@zipfile="./tmp/openfootball--I--eng-england.zip">]
[info] parsing data in zip 'setups/all' (eng-england-master/setups/all.txt)...
[info] parsing data in zip (league) 'eng-england!/leagues' (eng-england-master/leagues.txt)...
[info] parsing data in zip (team) 'eng-england!/clubs/1-premierleague' (eng-england-master/clubs/1-premierleague.txt)...
*** error: undefined method `get_input_stream' for nil:NilClass
Ubuntu 18.04.3 LTS kernal running under windows 10 (WSL1)
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]
$ sportdb -v
activerecord-utils/0.4.0 (activerecord/6.0.0) on Ruby 2.5.1 (2018-03-29) [x86_64-linux-gnu]
[TagDb.has_many_tags] adding taggings n tags has_many assocs to model >WorldDb::Model::Country<
[TagDb.has_many_tags] adding taggings n tags has_many assocs to model >WorldDb::Model::StateBase<
[TagDb.has_many_tags] adding taggings n tags has_many assocs to model >WorldDb::Model::CityBase<
sportdb-update/0.1.1 on Ruby 2.5.1 (2018-03-29) [x86_64-linux-gnu]
sportdb-service/0.4.0 on Ruby 2.5.1 (2018-03-29) [x86_64-linux-gnu]
sportdb/1.11.0 on Ruby 2.5.1 (2018-03-29) [x86_64-linux-gnu]
The text was updated successfully, but these errors were encountered:
Welcome to football.db. Sorry I'm (re)organizing, that is, trying to make the setup simpler / easier I will need some more weeks to get it all up-to-date. Thanks for the patience while things break.
PS: If you try to fix it, the club setup gets reworked. In the meantime you can use the football.csv datasets, see https://github.com/footballcsv that are already up-to-date to the "new" system.
When I try to build the database with sportdb I get the following error:
Ubuntu 18.04.3 LTS kernal running under windows 10 (WSL1)
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]
The text was updated successfully, but these errors were encountered: