Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tethys syncstores issue - callable #185

Closed
snowman2 opened this issue May 19, 2016 · 1 comment
Closed

tethys syncstores issue - callable #185

snowman2 opened this issue May 19, 2016 · 1 comment

Comments

@snowman2
Copy link
Member

On the dev branch, when I attempt to run:

$tethys syncstores dam_break

Traceback (most recent call last):
File "/usr/lib/tethysdev/src/manage.py", line 20, in
execute_from_command_line(sys.argv)
File "/usr/lib/tethysdev/local/lib/python2.7/site-packages/django/core/management/init.py", line 353, in execute_from_command_line
utility.execute()
File "/usr/lib/tethysdev/local/lib/python2.7/site-packages/django/core/management/init.py", line 345, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/tethysdev/local/lib/python2.7/site-packages/django/core/management/base.py", line 348, in run_from_argv
self.execute(_args, *_cmd_options)
File "/usr/lib/tethysdev/local/lib/python2.7/site-packages/django/core/management/base.py", line 399, in execute
output = self.handle(_args, *_options)
File "/usr/lib/tethysdev/src/tethys_apps/management/commands/syncstores.py", line 45, in handle
self.provision_persistent_stores(options['app_name'], options)
File "/usr/lib/tethysdev/src/tethys_apps/management/commands/syncstores.py", line 122, in provision_persistent_stores
persistent_stores = app.persistent_stores()
File "/usr/lib/tethysdev/src/tethys_apps/tethysapp/dam_break/app.py", line 51, in persistent_stores
spatial=True
File "/usr/lib/tethysdev/src/tethys_apps/base/persistent_store.py", line 94, in init
super(PersistentStore, self).init(self.initializer)
File "/usr/lib/tethysdev/src/tethys_apps/base/persistent_store.py", line 31, in init
if path.callable():
AttributeError: 'str' object has no attribute 'callable'

What is going on? What am I missing?

@snowman2
Copy link
Member Author

Issue fixed with this merge: 1f67ffa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant