Skip to content

Instantly share code, notes, and snippets.

@rusrushal13
Created March 9, 2017 07:36
Show Gist options
  • Save rusrushal13/5e5fb95b74f27de2f409a91ea51067fd to your computer and use it in GitHub Desktop.
Save rusrushal13/5e5fb95b74f27de2f409a91ea51067fd to your computer and use it in GitHub Desktop.
(zenodo) rushal@rushal-Lenovo-B560:~/src/zenodo$ sudo ./scripts/setup-assets.sh
/usr/local/lib/python2.7/dist-packages/dojson/contrib/to_marc21/model.py:22: UserWarning: MARC21 undo feature is experimental
warnings.warn('MARC21 undo feature is experimental')
Warn: 'angular-loading-bar' version ['~0.9.0', '~0.9.0'] resolved to: '~0.9.0'
Warn: 'almond' version ['~0.3.1', '~0.3.1', '~0.3.1', '~0.3.1', '~0.3.1'] resolved to: '~0.3.1'
Warn: 'bootstrap-switch' version ['~3.0.2', '~3.0.2', '~3.0.2', '~3.0.2'] resolved to: '~3.0.2'
Warn: 'font-awesome' version ['~4.4.0', '~4.4.0'] resolved to: '~4.4.0'
No handlers could be found for logger "semver"
Warn: u'prismjs' version [u'1.4.1', u'1.4.1'] resolved to: u'1.4.1'
Warn: 'angular-sanitize' version ['~1.4.9', '~1.4.10', '~1.4.10'] resolved to: '~1.4.9'
Warn: 'angular' version ['~1.4.9', '~1.4.10'] resolved to: '~1.4.9'
Warn: 'underscore' version ['~1.8.3', '~1.8.3'] resolved to: '~1.8.3'
Warn: 'bootstrap-sass' version ['~3.3.5', '~3.3.5'] resolved to: '~3.3.5'
Warn: 'jquery' version ['~1.9.1', '~1.9.1', '~1.9.1'] resolved to: '~1.9.1'
Warn: 'angular-strap' version ['~2.3.9', '~2.3.9'] resolved to: '~2.3.9'
Warn: 'ckeditor' version ['~4.5.8', '~4.5.10'] resolved to: '~4.5.8'
Warn: 'invenio-search-js' version ['~0.1.6', '~0.2.0'] resolved to: '~0.2.0'
Writing /usr/var/instance/static/package.json
./scripts/setup-assets.sh: line 29: cd: /var/instance/static: No such file or directory
npm WARN zenodo No repository field.
npm WARN zenodo No license field.
/usr/local/lib/python2.7/dist-packages/dojson/contrib/to_marc21/model.py:22: UserWarning: MARC21 undo feature is experimental
warnings.warn('MARC21 undo feature is experimental')
Collect static from blueprints
scss/github/github.scss already sourced
js/github/init.js already sourced
js/github/view.js already sourced
430 of 430 files already present
Done collecting.
/usr/local/lib/python2.7/dist-packages/dojson/contrib/to_marc21/model.py:22: UserWarning: MARC21 undo feature is experimental
warnings.warn('MARC21 undo feature is experimental')
Building bundle: gen/prism.%(version)s.css
Failed, error was: [Errno 2] No such file or directory: '/usr/var/instance/static/node_modules/prismjs/themes/prism.css'
Building bundle: gen/fullscreen.%(version)s.js
Building bundle: gen/zenodo.%(version)s.js
Failed, error was: [Errno 2] No such file or directory: '/usr/var/instance/static/node_modules/almond/almond.js'
Building bundle: gen/search.%(version)s.js
Failed, error was: requirejs: subprocess returned a non-success result code: 1, stdout=
Tracing dependencies for: js/invenio_search_ui/app
Error: ENOENT: no such file or directory, open '/usr/var/instance/static/node_modules/angular/angular.js'
In module tree:
js/invenio_search_ui/app
Error: Error: ENOENT: no such file or directory, open '/usr/var/instance/static/node_modules/angular/angular.js'
In module tree:
js/invenio_search_ui/app
at Error (native)
, stderr=
Building bundle: gen/zenodo.search.%(version)s.js
Failed, error was: requirejs: subprocess returned a non-success result code: 1, stdout=
Tracing dependencies for: js/zenodo.search
Error: ENOENT: no such file or directory, open '/usr/var/instance/static/node_modules/invenio-search-js/dist/invenio-search-js.js'
In module tree:
js/zenodo.search
Error: Error: ENOENT: no such file or directory, open '/usr/var/instance/static/node_modules/invenio-search-js/dist/invenio-search-js.js'
In module tree:
js/zenodo.search
at Error (native)
, stderr=
Building bundle: gen/styles.%(version)s.css
Traceback (most recent call last):
File "/usr/local/bin/zenodo", line 11, in <module>
load_entry_point('zenodo', 'console_scripts', 'zenodo')()
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flask/cli.py", line 345, in main
return AppGroup.main(self, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flask/cli.py", line 229, in decorator
return __ctx.invoke(f, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flask_assets.py", line 492, in build
_webassets_cmd('build')
File "/usr/local/lib/python2.7/dist-packages/flask_assets.py", line 480, in _webassets_cmd
getattr(cmdenv, cmd)()
File "/usr/local/lib/python2.7/dist-packages/webassets/script.py", line 172, in __call__
bundle.build(force=True, disable_cache=no_cache)
File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py", line 663, in build
disable_cache=disable_cache))
File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py", line 600, in _build
force, disable_cache=disable_cache, extra_filters=extra_filters)
File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py", line 524, in _merge_and_apply
kwargs=item_data)
File "/usr/local/lib/python2.7/dist-packages/webassets/merge.py", line 276, in apply
return self._wrap_cache(key, func)
File "/usr/local/lib/python2.7/dist-packages/webassets/merge.py", line 218, in _wrap_cache
content = func().getvalue()
File "/usr/local/lib/python2.7/dist-packages/webassets/merge.py", line 251, in func
getattr(filter, type)(data, out, **kwargs_final)
File "/usr/local/lib/python2.7/dist-packages/webassets/filter/sass.py", line 196, in input
self._apply_sass(_in, out, os.path.dirname(source_path))
File "/usr/local/lib/python2.7/dist-packages/webassets/filter/node_sass.py", line 80, in _apply_sass
shell=(os.name == 'nt'))
File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment