Skip to content

Instantly share code, notes, and snippets.

@halfdan
Created November 26, 2013 01:27
Show Gist options
  • Save halfdan/7651977 to your computer and use it in GitHub Desktop.
Save halfdan/7651977 to your computer and use it in GitHub Desktop.
1) Import 000 imports data from 001:
Error: The table must be defined for the dropTableIfExists method.
at Object.knex.schema.(anonymous function) [as dropTableIfExists] (/home/vagrant/code/Ghost/node_modules/knex/knex.js:81:33)
at deleteTable (/home/vagrant/code/Ghost/core/server/data/migration/index.js:112:24)
at /home/vagrant/code/Ghost/core/server/data/migration/index.js:120:24
at /home/vagrant/code/Ghost/node_modules/when/sequence.js:34:22
at /home/vagrant/code/Ghost/node_modules/when/when.js:746:14
at NearFulfilledProxy.when (/home/vagrant/code/Ghost/node_modules/when/when.js:487:43)
at Object._message (/home/vagrant/code/Ghost/node_modules/when/when.js:412:25)
at deliver (/home/vagrant/code/Ghost/node_modules/when/when.js:305:7)
at Array.3 (/home/vagrant/code/Ghost/node_modules/when/when.js:302:63)
at runHandlers (/home/vagrant/code/Ghost/node_modules/when/when.js:371:12)
at drainQueue (/home/vagrant/code/Ghost/node_modules/when/when.js:822:3)
at process._tickCallback (node.js:415:13)
2) Import 001 imports data from 001:
Error: The table must be defined for the dropTableIfExists method.
at Object.knex.schema.(anonymous function) [as dropTableIfExists] (/home/vagrant/code/Ghost/node_modules/knex/knex.js:81:33)
at deleteTable (/home/vagrant/code/Ghost/core/server/data/migration/index.js:112:24)
at /home/vagrant/code/Ghost/core/server/data/migration/index.js:120:24
at /home/vagrant/code/Ghost/node_modules/when/sequence.js:34:22
at /home/vagrant/code/Ghost/node_modules/when/when.js:746:14
at NearFulfilledProxy.when (/home/vagrant/code/Ghost/node_modules/when/when.js:487:43)
at Object._message (/home/vagrant/code/Ghost/node_modules/when/when.js:412:25)
at deliver (/home/vagrant/code/Ghost/node_modules/when/when.js:305:7)
at Array.3 (/home/vagrant/code/Ghost/node_modules/when/when.js:302:63)
at runHandlers (/home/vagrant/code/Ghost/node_modules/when/when.js:371:12)
at drainQueue (/home/vagrant/code/Ghost/node_modules/when/when.js:822:3)
at process._tickCallback (node.js:415:13)
3) Import 001 doesn't import invalid post data from 001:
AssertionError: expected [Error: The table must be defined for the dropTableIfExists method.] to equal 'Error importing data: Post title maximum length is 150 characters.'
at Object.Assertion.eql (/home/vagrant/code/Ghost/node_modules/should/lib/should.js:365:10)
at /home/vagrant/code/Ghost/core/test/unit/import_spec.js:187:30
at tryCatch1 (/home/vagrant/code/Ghost/node_modules/knex/node_modules/bluebird/js/main/util.js:85:19)
at Promise$_resolvePromise [as _resolvePromise] (/home/vagrant/code/Ghost/node_modules/knex/node_modules/bluebird/js/main/promise.js:631:13)
at Promise$_doResolveAt [as _doResolveAt] (/home/vagrant/code/Ghost/node_modules/knex/node_modules/bluebird/js/main/promise.js:821:10)
at Async$_consumeFunctionBuffer [as _consumeFunctionBuffer] (/home/vagrant/code/Ghost/node_modules/knex/node_modules/bluebird/js/main/async.js:63:12)
at Async$consumeFunctionBuffer (/home/vagrant/code/Ghost/node_modules/knex/node_modules/bluebird/js/main/async.js:36:14)
at process._tickCallback (node.js:415:13)
4) Import 001 doesn't import invalid settings data from 001:
AssertionError: expected [Error: The table must be defined for the dropTableIfExists method.] to equal 'Error importing data: Setting key cannot be blank'
at Object.Assertion.eql (/home/vagrant/code/Ghost/node_modules/should/lib/should.js:365:10)
at /home/vagrant/code/Ghost/core/test/unit/import_spec.js:237:30
at tryCatch1 (/home/vagrant/code/Ghost/node_modules/knex/node_modules/bluebird/js/main/util.js:85:19)
at Promise$_resolvePromise [as _resolvePromise] (/home/vagrant/code/Ghost/node_modules/knex/node_modules/bluebird/js/main/promise.js:631:13)
at Promise$_doResolveAt [as _doResolveAt] (/home/vagrant/code/Ghost/node_modules/knex/node_modules/bluebird/js/main/promise.js:821:10)
at Async$_consumeFunctionBuffer [as _consumeFunctionBuffer] (/home/vagrant/code/Ghost/node_modules/knex/node_modules/bluebird/js/main/async.js:63:12)
at Async$consumeFunctionBuffer (/home/vagrant/code/Ghost/node_modules/knex/node_modules/bluebird/js/main/async.js:36:14)
at process._tickCallback (node.js:415:13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment