Skip to content

Instantly share code, notes, and snippets.

@rusrushal13
Created Mar 7, 2017
Embed
What would you like to do?
(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 enoent ENOENT: no such file or directory, open '/home/rushal/src/zenodo/package.json'
npm WARN zenodo No description
npm WARN zenodo No repository field.
npm WARN zenodo No README data
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/view.js already sourced
js/github/init.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
Failed, error was: sass: subprocess had error: stderr={
"formatted": "Error: File to import not found or unreadable: ../../node_modules/bootstrap-sass/assets/stylesheets/_bootstrap\n Parent style sheet: stdin\n on line 29 of stdin\n>> @import \"../../node_modules/bootstrap-sass/assets/stylesheets/_bootstrap\";\n ^\n",
"message": "File to import not found or unreadable: ../../node_modules/bootstrap-sass/assets/stylesheets/_bootstrap\nParent style sheet: stdin",
"column": 1,
"line": 29,
"file": "stdin",
"status": 1
}
, stdout=, returncode=1
Building bundle: gen/prism.%(version)s.js
Failed, error was: [Errno 2] No such file or directory: '/usr/var/instance/static/node_modules/prismjs/prism.js'
Building bundle: gen/csv_previewer.%(version)s.js
Failed, error was: requirejs: subprocess returned a non-success result code: 1, stdout=
Tracing dependencies for: js/csv_previewer/init
Error: ENOENT: no such file or directory, open '/usr/var/instance/static/node_modules/jquery/jquery.js'
In module tree:
js/csv_previewer/init
js/csv_previewer/csv_d3js
Error: Error: ENOENT: no such file or directory, open '/usr/var/instance/static/node_modules/jquery/jquery.js'
In module tree:
js/csv_previewer/init
js/csv_previewer/csv_d3js
at Error (native)
, stderr=
Building bundle: gen/communities.%(version)s.css
Building bundle: gen/packed.%(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/deposit.%(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 213, in _wrap_cache
content = self.cache.get(key)
File "/usr/local/lib/python2.7/dist-packages/webassets/cache.py", line 183, in get
filename = path.join(self.directory, '%s' % make_md5(self.V, key))
File "/usr/local/lib/python2.7/dist-packages/webassets/cache.py", line 84, in make_md5
for d in walk(data):
File "/usr/local/lib/python2.7/dist-packages/webassets/cache.py", line 61, in walk
for d in walk(item): yield d
File "/usr/local/lib/python2.7/dist-packages/webassets/cache.py", line 61, in walk
for d in walk(item): yield d
File "/usr/local/lib/python2.7/dist-packages/webassets/cache.py", line 67, in walk
yield obj.data().encode('utf-8')
File "/usr/local/lib/python2.7/dist-packages/webassets/merge.py", line 77, in data
f = open(self.filename, 'r', encoding='utf-8')
IOError: [Errno 2] No such file or directory: '/usr/var/instance/static/node_modules/ui-select/dist/select.css'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment