Skip to content

Instantly share code, notes, and snippets.

@rusrushal13
Created Mar 9, 2017
Embed
What would you like to do?
(zenodo) rushal@rushal-Lenovo-B560:~/src/zenodo$ ./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'
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 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/invenio_assets/cli.py", line 101, in npm
'w')
IOError: [Errno 13] Permission denied: '/usr/var/instance/static/package.json'
./scripts/setup-assets.sh: line 29: cd: /home/rushal/Envs/zenodo/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
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 456, in _merge_and_apply
resolved_contents = self.resolve_contents(ctx, force=True)
File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py", line 247, in resolve_contents
result.remove(self.resolve_output(ctx))
File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py", line 328, in resolve_output
output = output % {'version': version or self.get_version(ctx)}
File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py", line 299, in get_version
version = ctx.manifest.query(self, ctx)
File "/usr/local/lib/python2.7/dist-packages/webassets/version.py", line 309, in query
return ctx.cache.get(('manifest', bundle.output))
File "/usr/local/lib/python2.7/dist-packages/webassets/cache.py", line 185, in get
f = open(filename, 'rb')
IOError: [Errno 13] Permission denied: '/usr/var/instance/static/.webassets-cache/ab5c6666d06cb431186b53328588b4b1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment