Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Result After Loading Program #131

Open
CarolinaDawn opened this issue Jan 31, 2020 · 4 comments
Open

No Result After Loading Program #131

CarolinaDawn opened this issue Jan 31, 2020 · 4 comments

Comments

@CarolinaDawn
Copy link

My JES has stopped showing me results after I hit load program. At first, I thought my code was broken, but I have visited past codes that worked and those are not working either. Additionally, my instructor sent me a code that worked for him, but my JES did the same thing. It says Loading program followed by >>> as if it has completed running it, but nothing happens. I cannot get new photos or audio and nothing saves as a result. I have assignments that are due and I cannot complete them properly.

@mjguzdial
Copy link
Contributor

mjguzdial commented Jan 31, 2020 via email

@CarolinaDawn
Copy link
Author

I have already talked to him and he did send me a working code, but it didn't work on my JES. I don't know how to make it work anymore. This is the code he sent me, which remember worked on his end, it is only on mine that it is malfunctioning.

def transform():
filePath=pickAFile()
antelope=makePicture(filePath)
antPixels=getPixels(antelope)
filePath=pickAFile()
rabbit=makePicture(filePath)
rabPixels=getPixels(rabbit)
for index in range (len(antPixels)/2, len(antPixels)):
currentpixel1 = antPixels[index]
currentpixel2 = rabPixels[index]
color = getColor(currentpixel2)
setColor(currentpixel1, color)
show(antelope)

@mjguzdial
Copy link
Contributor

mjguzdial commented Jan 31, 2020 via email

@CarolinaDawn
Copy link
Author

I have done that is the JES program, I apologize I did not replicate it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants