I have written a small program to take in the genotypes of the three color genes expressed in a mating pair of labradors, and output the percentage chance of getting each color in the puppies produced from the pair. It works just like I expect it to within the notebook, but I am having trouble using CloudDeploy
.
Here's how it looks in the notebook, and how I want it to work:
I've tried in both Firefox and Chrome, and I get different problems. When I try in Firefox, it works briefly, then I get this:
And in Chrome, it almost never loads fully, but even when it does, I get this. It functions in that it recalculates the percentages, but for some reason the images don't work.
One other difference between Firefox and Chrome is I am signed in to Mathematica on Firefox, but not in Chrome. I have made both the images I uploaded and the CloudDeploy
have Permissions->"Public"
, so they should be showing up either way. If I log out in Firefox, I get the same result I am currently getting in Chrome. (I've also tried it in Edge, which never loads at all.)
Here's a piece of the sample code where I'm loading one of the images:
chocolateImage = CloudImport[CloudObject[
"https://www.wolframcloud.com/objects/9a76a22a-fe9c-4e4c-872e-ca6a82ee0375"]];
I can bring up all the images using the link (like the one above), but something odd I noticed is when I copy and paste, it adds an extra forward slash in near the end of the URL:
https://www.wolframcloud.com/objects/9a76a22a-fe9c-4e4c-872e-ca6a82ee0375
I have tried changing the permissions to Permissions->{All->{"Read","Interact"}}
like I saw in one suggestion, but it didn't change anything for me. I have also tried exporting to HTML, but all I seem to end up with is a blank page. Suggestions? Further questions I need to answer to get appropriate help?
With
orSaveDefinitions
. $\endgroup$With
solved the problem with the images, however the Manipulate doesn't function. It will do the initial calculation based on the default selections, but it won't let you select other options or recalculate. Here is what it looks like now. $\endgroup$CloudExport[Out[14], "NB", Permissions -> "Public"]
, and it seemed like it was going to run, then timed out. $\endgroup$ImageCollage[..., Automatic, 300]
? $\endgroup$