You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in _get_response
187. response = self.process_exception_by_middleware(e, request)
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in _get_response
185. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/wirecloud/commons/baseviews/resource.py" in __call__
57. response = getattr(self, METHOD_MAPPING[request_method])(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/wirecloud/commons/utils/http.py" in wrapper
239. return func(self, request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/wirecloud/commons/utils/http.py" in wrapper
281. return func(self, request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/wirecloud/commons/utils/transaction.py" in wrapped_func
28. res = func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/wirecloud/platform/workspace/views.py" in create
515. resource = get_local_catalogue().publish(None, wgt_file, request.user, options, request)
File "/usr/local/lib/python2.7/dist-packages/wirecloud/platform/core/catalogue_manager.py" in publish
89. added, resource = install_resource_to_user(user, file_contents=wgt_file, packaged=True, raise_conflicts=True)
File "/usr/local/lib/python2.7/dist-packages/wirecloud/platform/localcatalogue/utils.py" in install_resource_to_user
77. resource = install_resource(downloaded_file, executor_user)
File "/usr/local/lib/python2.7/dist-packages/wirecloud/platform/localcatalogue/utils.py" in install_resource
67. resource = add_packaged_resource(file_contents, executor_user, wgt_file=wgt_file)
File "/usr/local/lib/python2.7/dist-packages/wirecloud/catalogue/utils.py" in add_packaged_resource
210. check_packaged_resource(wgt_file, resource_info)
File "/usr/local/lib/python2.7/dist-packages/wirecloud/catalogue/utils.py" in check_packaged_resource
187. check_invalid_embedded_resources(wgt_file, resource_info)
File "/usr/local/lib/python2.7/dist-packages/wirecloud/catalogue/utils.py" in check_invalid_embedded_resources
147. raise InvalidContents('Invalid embedded file: %s' % embedded_resource['src'], details=e)
Exception Type: InvalidContents at /api/workspace/8944/publish
Exception Value: Invalid embedded file: macs/CoNWeT_web-browser_1.5.1.wgt
macs/CoNWeT_web-browser_1.5.1.wgt is an outdated MAC that was uploaded in a previous version of WireCloud. Newer versions of WireCloud won't let this version of the MAC to be uploaded.
This ticket is not about making WireCloud support creating packaged mashups using invalid/outdated MACs, but about making WireCloud return an adequate error code / message instead of the internal server error.
The text was updated successfully, but these errors were encountered:
macs/CoNWeT_web-browser_1.5.1.wgt
is an outdated MAC that was uploaded in a previous version of WireCloud. Newer versions of WireCloud won't let this version of the MAC to be uploaded.This ticket is not about making WireCloud support creating packaged mashups using invalid/outdated MACs, but about making WireCloud return an adequate error code / message instead of the internal server error.
The text was updated successfully, but these errors were encountered: