[info] TODO / FIX: read dataset (zip) 'openbeer / at-austria', ''; sorry

41 views
Skip to first unread message

Sqvall

unread,
Mar 17, 2021, 3:34:12 AM3/17/21
to beerdb
Hello, who can help me?
When installing a beer and trying to fill the base through a build or read, I get the following error:
```
[info] [datafile] read
[info] TODO / FIX: read dataset (zip) 'openmundi / world.db', ''; sorry
[info] TODO / FIX: read dataset (zip) 'openbeer / at-austria', ''; sorry
Done.
```
Accordingly, the data does not fall into the database.
I'm not really into ruby, but as I understand it, the problem is somewhere in gem datafile / workers / zip / dataset.rb:
```ruby
def read
    if @ dataset.is_a? (FootballDataset)
      logger.info ("read football dataset (zip) '# {@dataset.name}', '# {@dataset.setup}'")

      pack = SportDb :: ZipPackage.new (local_zip_path)
      pack.read (season: @ dataset.setup) ## note: pass on (optional) setup arg as season (filter) arg for now
    else
      logger.info ("TODO / FIX: read dataset (zip) '# {@dataset.name}', '# {@dataset.setup}'; sorry")
    end
  end
```
Can you explain what FootballDataset has to do with it and what should I do to fill the database?
Reply all
Reply to author
Forward
0 new messages