karenc / db-migrator

GNU Affero General Public License v3.0
4 stars 5 forks source link

Error when distribution is not db-migrator aware #4

Closed mmulich closed 8 years ago

mmulich commented 8 years ago

An error occurs when the package/distribution has not yet been setup to be db-migrator aware via the entry-point.

Traceback (most recent call last):
  File "/var/cnx/venvs/archive/bin/dbmigrator", line 9, in <module>
    load_entry_point('db-migrator==0.0.2', 'console_scripts', 'dbmigrator')()
  File "/var/cnx/venvs/archive/local/lib/python2.7/site-packages/dbmigrator/cli.py", line 52, in main
    args['migrations_directory'])
  File "/var/cnx/venvs/archive/lib/python2.7/posixpath.py", line 435, in relpath
    raise ValueError("no path specified")
ValueError: no path specified