Skip to content

Instantly share code, notes, and snippets.

var jspb=require("google-protobuf");var goog=jspb;var global=Function("return this")();var languages_pb=require("./languages_pb.js");goog.object.extend(proto,languages_pb);var objects_pb=require("./objects_pb.js");goog.object.extend(proto,objects_pb);var structure_versions_pb=require("./structure_versions_pb.js");goog.object.extend(proto,structure_versions_pb);goog.exportSymbol("proto.AlgebraicExpressionInputInstanceDto",null,global);goog.exportSymbol("proto.AlgebraicExpressionInputInstanceDto.AnswerGroupDto",null,global);goog.exportSymbol("proto.AlgebraicExpressionInputInstanceDto.CustomizationArgsDto",null,global);goog.exportSymbol("proto.AlgebraicExpressionInputInstanceDto.RuleSpecDto",null,global);goog.exportSymbol("proto.AlgebraicExpressionInputInstanceDto.RuleSpecDto.ContainsSomeOfSpecDto",null,global);goog.exportSymbol("proto.AlgebraicExpressionInputInstanceDto.RuleSpecDto.IsEquivalentToSpecDto",null,global);goog.exportSymbol("proto.AlgebraicExpressionInputInstanceDto.RuleSpecDto.MatchesExactlyWithSpec
Copying /home/runner/work/oppia/oppia/extensions/domain.py
Copying /home/runner/work/oppia/oppia/extensions/README.md
Copying /home/runner/work/oppia/oppia/extensions/__init__.py
Copying /home/runner/work/oppia/oppia/extensions/objects/__init__.py
Copying /home/runner/work/oppia/oppia/extensions/objects/object_defaults.json
Copying /home/runner/work/oppia/oppia/extensions/objects/models/__init__.py
Copying /home/runner/work/oppia/oppia/extensions/objects/models/objects.py
Building /home/runner/work/oppia/oppia/extensions/objects/templates/algebraic-expression-editor.component.html
Building /home/runner/work/oppia/oppia/extensions/objects/templates/int-editor.component.html
Building /home/runner/work/oppia/oppia/extensions/objects/templates/positive-int-editor.component.html
---------------------------------------------------------------------
FAILED core.controllers.android_e2e_config_test: 1 errors, 0 failures
======================================================================
ERROR: release_coordinator_test (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: release_coordinator_test
Traceback (most recent call last):
File "/Users/akshaynandwana/.pyenv/versions/3.7.10/lib/python3.7/unittest/loader.py", line 154, in loadTestsFromName
module = __import__(module_name)
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/controllers/release_coordinator_test.py", line 20, in <module>
# coding: utf-8
#
# Copyright 2021 The Oppia Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
id: "17"
title: "Audio Test"
init_state_name: "Introduction"
states {
key: "Finish"
value {
content {
content_id: "content"
text: "<p>Congratulations, you have finished!</p>"
}
bazel build //:oppia_alpha
INFO: Analyzed target //:oppia_alpha (281 packages loaded, 6002 targets configured).
INFO: Found 1 target...
INFO: From KotlinCompile //utility/src/main/java/org/oppia/android/util/extensions:context_extensions_kt { kt: 1, java: 0, srcjars: 0 } for armeabi-v7a:
utility/src/main/java/org/oppia/android/util/extensions/ContextExtensions.kt:14:79: warning: 'versionCode: Int' is deprecated. Deprecated in Java
return this.packageManager.getPackageInfo(this.packageName, /* flags= */ 0).versionCode
^
INFO: From KotlinCompile //utility/src/main/java/org/oppia/android/util/data:in_memory_blocking_cache_kt { kt: 1, java: 0, srcjars: 0 } for armeabi-v7a:
warning: runtime JAR files in the classpath should have the same version. These files were found in the classpath:
/private/var/tmp/_bazel_akshaynandwana/0e0a7569f455d331a530cc35527abf40/execroot/__main__/external/com_github_jetbrains_kotlin/lib/kotlin-stdlib.j
id: "16"
title: "Test of all interactions"
init_state_name: "Text Input state name with unicode"
states {
key: "Algebraic Expression Input"
value {
content {
content_id: "content"
html: "<p>Algebraic Expression Input. Provide the formula for calculating the area of a circle with radius = r.</p>"
}
bazel build //:oppia_dev --sandbox_debug
INFO: Analyzed target //:oppia_dev (1 packages loaded, 820 targets configured).
INFO: Found 1 target...
ERROR: /Users/akshaynandwana/Desktop/oppia/oppia-android/BUILD.bazel:93:31: Generating deployable AAB failed: (Exit 1): sandbox-exec failed: error executing command
(cd /private/var/tmp/_bazel_akshaynandwana/0e0a7569f455d331a530cc35527abf40/sandbox/darwin-sandbox/5/execroot/__main__ && \
exec env - \
TMPDIR=/var/folders/gp/h5bq28910jlb0zynnt11n0kc0000gn/T/ \
/usr/bin/sandbox-exec -f /private/var/tmp/_bazel_akshaynandwana/0e0a7569f455d331a530cc35527abf40/sandbox/darwin-sandbox/5/sandbox.sb /var/tmp/_bazel_akshaynandwana/install/97cf8d40e3de7fca7ef885fa763bde13/process-wrapper '--timeout=0' '--kill_delay=15' bazel-out/host/bin/third_party/android_bundletool build-bundle '--modules=bazel-out/darwin-fastbuild/bin/oppia_dev_module_zip.zip' '--config=bundle_config.pb.json' '--output=bazel-out/darwin-fastbuild/bin/oppia_dev.aab') sandbox-exec failed: error exec
@classmethod
def create_default_exploration(
cls, exploration_id, title=feconf.DEFAULT_EXPLORATION_TITLE,
init_state_name=feconf.DEFAULT_INIT_STATE_NAME,
category=feconf.DEFAULT_EXPLORATION_CATEGORY,
objective=feconf.DEFAULT_EXPLORATION_OBJECTIVE,
language_code=constants.DEFAULT_LANGUAGE_CODE):
.
.
.
id: "17"
title: "Audio Test"
init_state_name: "Introduction"
states {
key: "Finish"
value {
content {
content_id: "content"
html: "<p>Congratulations, you have finished!</p>"
}