creating copy fails

44 views
Skip to first unread message

Ryan Pedela

unread,
May 25, 2014, 6:18:46 PM5/25/14
to open...@googlegroups.com

Here is the output on Ubuntu 12.04 with Ruby 1.9.3.

$ git clone git://github.com/openmundi/world.db.git
$ worlddb setup --include ./world.db
confdb/1.1.1 on Ruby 1.9.3 (2011-10-30) [x86_64-linux]
tagutils/0.2.2 on Ruby 1.9.3 (2011-10-30) [x86_64-linux]
  [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::Region<
  [TagDb.has_many_tags] adding taggings n tags has_many assocs to model >WorldDb::Model::City<
worlddb/2.0.4 on Ruby 1.9.3 (2011-10-30) [x86_64-linux]
logdb 0.6.0 on Ruby 1.9.3 (2011-10-30) [x86_64-linux]
worlddb/2.0.4 on Ruby 1.9.3 (2011-10-30) [x86_64-linux]
worlddb/2.0.4 on Ruby 1.9.3 (2011-10-30) [x86_64-linux]
working directory: /home/pedela/source/worlddb
Connecting to db using settings: 
{:adapter=>"sqlite3", :database=>"./world.db"}
-- create_table(:logs)

*** error: unable to open database file

======================================
 

Then I tried executing worlddb inside the repo directory which succeeded.

$ git clone git://github.com/openmundi/world.db.git
$ cd world.db
$ worlddb setup

WORKS!!!

Gerald Bauer

unread,
May 26, 2014, 2:30:43 AM5/26/14
to open...@googlegroups.com
Hello,

   Thanks for your interest in world.db.  Thanks for reporting the build issue.  This is a know issue.  Your dataset folder is called  /world.db, thus, you cannot also create a file world.db because the folder world.db already exists.   Rename the folder or rename the database, for example.  Cheers.
Reply all
Reply to author
Forward
0 new messages