Skip to main content
Question Protected by xzczd

I am using the online Mathematica Cloud. I have one complete package(in this case, a group theory-related mathematics package), which is saved locally as a ZIPed folder. The ZIPed folder contains numerous ".m" files organized into smaller folders. I want to upload the whole folder into Mathematica Cloud and then extract it to use the package.

I successfully extracted the ZIPed file and got all the directories.GroupMath is one of the '.m' files in the ZIPed folder. When I am running :

Needs["wolframcloud/userfiles/cb3/cb39fb70-723f-4917-a180-0292e9ac493e/GroupMath`"   **Then I get an error message:** "TemplateBox[{"Needs", "cxt", "\"\:f7c1\:f7c9\:f7c8RowBox[{\"\\:f3b5Invalid context specified at position \", StyleBox[TagBox[\"1\", Function[Short[Slot[1], 5]]], ShowStringCharacters -> False], \" in \", StyleBox[TagBox[RowBox[{\"Needs\", \"[\", \"\\\"wolframcloud/userfiles/cb3/cb39fb70-723f-4917-a180-0292e9ac493e/GroupMath`\\\"\", \"]\"}], Function[Short[Slot[1], 5]]], ShowStringCharacters -> False], \". A context must consist of valid symbol names separated by and ending with \", StyleBox[TagBox[\"\\\"`\\\"\", Function[Short[Slot[1], 5]]], ShowStringCharacters -> False], \".\\:f3b5\"}]\:f7c0\"", 2, 99, 54, 29410967662186854558, "Local"}, "MessageTemplate"] " 

Then I get an error message: "TemplateBox[{"Needs", "cxt", "":f7c1:f7c9:f7c8RowBox[{"\:f3b5Invalid context specified at position ", StyleBox[TagBox["1", Function[Short[Slot[1], 5]]], ShowStringCharacters -> False], " in ", StyleBox[TagBox[RowBox[{"Needs", "[", "\"wolframcloud/userfiles/cb3/cb39fb70-723f-4917-a180-0292e9ac493e/GroupMath\\\"\", \"]\"}], Function[Short[Slot[1], 5]]], ShowStringCharacters -> False], \". A context must consist of valid symbol names separated by and ending with \", StyleBox[TagBox[\"\\\"\"", Function[Short[Slot[1], 5]]], ShowStringCharacters -> False], ".\:f3b5"}]:f7c0"", 2, 99, 54, 29410967662186854558, "Local"}, "MessageTemplate"] "

If I write: Needs["GroupMath"]`

Then I get:

SetDelayed :TagBlockDiagonalMatrixinBlockDiagonalMatrix[blocks_]isProtected.

Set :Cannotassigntorawobject2.

Set :Cannotassigntorawobject2.

Set :Cannotassigntorawobject2.

General :FurtheroutputofSet::setrawwillbesuppressedduringthiscalculation.

SetDelayed :TagBlockDiagonalMatrixinBlockDiagonalMatrix[blocks_]isProtected.

Set :Cannotassigntorawobject2.

Set :Cannotassigntorawobject2.

Set :Cannotassigntorawobject2.

General :FurtheroutputofSet::setrawwillbesuppressedduringthiscalculation.

What is going on? Can someone Explain.

I am using the online Mathematica Cloud. I have one complete package(in this case, a group theory-related mathematics package), which is saved locally as a ZIPed folder. The ZIPed folder contains numerous ".m" files organized into smaller folders. I want to upload the whole folder into Mathematica Cloud and then extract it to use the package.

I successfully extracted the ZIPed file and got all the directories.GroupMath is one of the '.m' files in the ZIPed folder. When I am running :

Needs["wolframcloud/userfiles/cb3/cb39fb70-723f-4917-a180-0292e9ac493e/GroupMath`" 

Then I get an error message: "TemplateBox[{"Needs", "cxt", "":f7c1:f7c9:f7c8RowBox[{"\:f3b5Invalid context specified at position ", StyleBox[TagBox["1", Function[Short[Slot[1], 5]]], ShowStringCharacters -> False], " in ", StyleBox[TagBox[RowBox[{"Needs", "[", "\"wolframcloud/userfiles/cb3/cb39fb70-723f-4917-a180-0292e9ac493e/GroupMath\\\"\", \"]\"}], Function[Short[Slot[1], 5]]], ShowStringCharacters -> False], \". A context must consist of valid symbol names separated by and ending with \", StyleBox[TagBox[\"\\\"\"", Function[Short[Slot[1], 5]]], ShowStringCharacters -> False], ".\:f3b5"}]:f7c0"", 2, 99, 54, 29410967662186854558, "Local"}, "MessageTemplate"] "

If I write: Needs["GroupMath"]`

Then I get:

SetDelayed :TagBlockDiagonalMatrixinBlockDiagonalMatrix[blocks_]isProtected.

Set :Cannotassigntorawobject2.

Set :Cannotassigntorawobject2.

Set :Cannotassigntorawobject2.

General :FurtheroutputofSet::setrawwillbesuppressedduringthiscalculation.

What is going on? Can someone Explain.

I am using the online Mathematica Cloud. I have one complete package(in this case, a group theory-related mathematics package), which is saved locally as a ZIPed folder. The ZIPed folder contains numerous ".m" files organized into smaller folders. I want to upload the whole folder into Mathematica Cloud and then extract it to use the package.

I successfully extracted the ZIPed file and got all the directories.GroupMath is one of the '.m' files in the ZIPed folder. When I am running :

Needs["wolframcloud/userfiles/cb3/cb39fb70-723f-4917-a180-0292e9ac493e/GroupMath`"   **Then I get an error message:** "TemplateBox[{"Needs", "cxt", "\"\:f7c1\:f7c9\:f7c8RowBox[{\"\\:f3b5Invalid context specified at position \", StyleBox[TagBox[\"1\", Function[Short[Slot[1], 5]]], ShowStringCharacters -> False], \" in \", StyleBox[TagBox[RowBox[{\"Needs\", \"[\", \"\\\"wolframcloud/userfiles/cb3/cb39fb70-723f-4917-a180-0292e9ac493e/GroupMath`\\\"\", \"]\"}], Function[Short[Slot[1], 5]]], ShowStringCharacters -> False], \". A context must consist of valid symbol names separated by and ending with \", StyleBox[TagBox[\"\\\"`\\\"\", Function[Short[Slot[1], 5]]], ShowStringCharacters -> False], \".\\:f3b5\"}]\:f7c0\"", 2, 99, 54, 29410967662186854558, "Local"}, "MessageTemplate"] " 

If I write: Needs["GroupMath"]`

Then I get:

SetDelayed :TagBlockDiagonalMatrixinBlockDiagonalMatrix[blocks_]isProtected.

Set :Cannotassigntorawobject2.

Set :Cannotassigntorawobject2.

Set :Cannotassigntorawobject2.

General :FurtheroutputofSet::setrawwillbesuppressedduringthiscalculation.

What is going on? Can someone Explain.

edited title
Link
user64494
  • 1
  • 4
  • 29
  • 60

How can I upload a package which is saved locally as a ZIP file to Mathemtica Cloud and Load the package?

Source Link

How can I upload a package which is saved locally as a ZIP file to Mathemtica Cloud and Load the package

I am using the online Mathematica Cloud. I have one complete package(in this case, a group theory-related mathematics package), which is saved locally as a ZIPed folder. The ZIPed folder contains numerous ".m" files organized into smaller folders. I want to upload the whole folder into Mathematica Cloud and then extract it to use the package.

I successfully extracted the ZIPed file and got all the directories.GroupMath is one of the '.m' files in the ZIPed folder. When I am running :

Needs["wolframcloud/userfiles/cb3/cb39fb70-723f-4917-a180-0292e9ac493e/GroupMath`" 

Then I get an error message: "TemplateBox[{"Needs", "cxt", "":f7c1:f7c9:f7c8RowBox[{"\:f3b5Invalid context specified at position ", StyleBox[TagBox["1", Function[Short[Slot[1], 5]]], ShowStringCharacters -> False], " in ", StyleBox[TagBox[RowBox[{"Needs", "[", "\"wolframcloud/userfiles/cb3/cb39fb70-723f-4917-a180-0292e9ac493e/GroupMath\\\"\", \"]\"}], Function[Short[Slot[1], 5]]], ShowStringCharacters -> False], \". A context must consist of valid symbol names separated by and ending with \", StyleBox[TagBox[\"\\\"\"", Function[Short[Slot[1], 5]]], ShowStringCharacters -> False], ".\:f3b5"}]:f7c0"", 2, 99, 54, 29410967662186854558, "Local"}, "MessageTemplate"] "

If I write: Needs["GroupMath"]`

Then I get:

SetDelayed :TagBlockDiagonalMatrixinBlockDiagonalMatrix[blocks_]isProtected.

Set :Cannotassigntorawobject2.

Set :Cannotassigntorawobject2.

Set :Cannotassigntorawobject2.

General :FurtheroutputofSet::setrawwillbesuppressedduringthiscalculation.

What is going on? Can someone Explain.