Skip to content

First time "make dev" results in [db-deploy] Error 1 #49

@MichaelDao

Description

@MichaelDao

Hello friends, I am trying to figure out how to get this project running locally on my machine, It seems to stop working after i have installed all dependencies with the "make dev" command.

File "main.py", line 9, in <module>
    from app.models import *
  File "/vagrant/app/models/__init__.py", line 16, in <module>
    exec ("from %s import %s" % (module, classname)) # pylint: disable=exec-used
  File "<string>", line 1, in <module>
  File "/vagrant/app/models/schedule2_model.py", line 11, in <module>
    import recurring_shift_model  # pylint: disable=relative-import
  File "/vagrant/app/models/recurring_shift_model.py", line 12, in <module>
    import organization_model  # pylint: disable=relative-import
  File "/vagrant/app/models/organization_model.py", line 10, in <module>
    import user_model  # pylint: disable=relative-import
  File "/vagrant/app/models/user_model.py", line 21, in <module>
    from app.email import send_email
  File "/vagrant/app/email.py", line 5, in <module>
    celery = create_celery_app()
  File "/vagrant/app/__init__.py", line 49, in create_celery_app
    os.environ.get("ENV", "prod"), register_blueprints=False)
  File "/vagrant/app/__init__.py", line 135, in create_app
    css_blog.build()
  File "/vagrant/vagrant-venv/local/lib/python2.7/site-packages/webassets/bundle.py", line 663, in build
    disable_cache=disable_cache))
  File "/vagrant/vagrant-venv/local/lib/python2.7/site-packages/webassets/bundle.py", line 600, in _build
    force, disable_cache=disable_cache, extra_filters=extra_filters)
  File "/vagrant/vagrant-venv/local/lib/python2.7/site-packages/webassets/bundle.py", line 524, in _merge_and_apply
    kwargs=item_data)
  File "/vagrant/vagrant-venv/local/lib/python2.7/site-packages/webassets/merge.py", line 276, in apply
    return self._wrap_cache(key, func)
  File "/vagrant/vagrant-venv/local/lib/python2.7/site-packages/webassets/merge.py", line 218, in _wrap_cache
    content = func().getvalue()
  File "/vagrant/vagrant-venv/local/lib/python2.7/site-packages/webassets/merge.py", line 251, in func
    getattr(filter, type)(data, out, **kwargs_final)
  File "/vagrant/vagrant-venv/local/lib/python2.7/site-packages/webassets/filter/less.py", line 139, in input
    self._apply_less(_in, out, source_path)
  File "/vagrant/vagrant-venv/local/lib/python2.7/site-packages/webassets/filter/less.py", line 131, in _apply_less
    self.subprocess(args, out, in_)
  File "/vagrant/vagrant-venv/local/lib/python2.7/site-packages/webassets/filter/__init__.py", line 523, in subprocess
    proc.returncode, stdout, stderr))
webassets.exceptions.FilterError: less: subprocess returned a non-success result code: 1, stdout=, stderr=[TypeError: Object function Object() { [native code] } has no method 'assign']

make: *** [db-deploy] Error 1

I am not too sure what this error is exactly coming from, I feel like I am missing a vital dependency to get this project working. Any help would be appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions