This site requires JavaScript, please enable it in your browser!
Greenfoot back
Nosson1459
Nosson1459 wrote ...

2016/12/26

We're sorry, but something went wrong.

1
2
davmac davmac

2017/1/2

#
Looks like there was a problem in the server code. I think I've fixed it now; could you try again and let me know?
Nosson1459 Nosson1459

2017/1/2

#
davmac wrote...
I think I've fixed it now; could you try again and let me know?
Now I don't get the error but my picture doesn't show on the Greenfoot site(, meaning that now the whole "Choose File" button doesn't do anything because I chose a file, I pressed "Open", and then I pressed "Save changes" but there was still no image (and I didn't press the back arrow in the browser, I pressed on my user image in the top-right of the screen/browser)).
davmac davmac

2017/1/2

#
Ok, it does look like there's still a problem. I'll look into it when I can and let you know.
Nosson1459 Nosson1459

2017/1/2

#
davmac wrote...
Ok, it does look like there's still a problem. I'll look into it when I can and let you know.
Thanks (for now). The following is a different problem that I noticed with the greenfoot website and I should probably tell you since you (Davin McCall) are a "Member of the Greenfoot development team.". If somebody uses the code-tag and comments out lines using only one star/asterisk after the slash then even after the asterisk - slash the lines are still green. Like in this and this discussion. (I don't know how to make a link go to a specific post, but you can tell me I hope.) Example:
import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)

/*
 * Write a description of class ActorName here.
 * 
 * @author Nosson1459 
 * @version 1/2/2017
 */
public class ActorName extends Actor
{
    /**
     * Constructor for objects of class ActorName.
     * 
     */
    public ActorName()
    {    
    }

    /**
     * Act - do whatever the ActorName wants to do. This method is called whenever
     * the 'Act' or 'Run' button gets pressed in the environment.
     */
    public void act() 
    {
        // Add your action code here.
    }    
}
I took away one asterisk from the comment before the class method and there is a lot more green than there should be (goes all the way to the act method, commenting out the constructor and everything in between).
davmac davmac

2017/1/4

#
Ok, both problems should be fixed now. The source highlighting issue was due to a bug in some third-party code that we use.
Nosson1459 Nosson1459

2017/1/5

#
Thanks, now my picture (and "The source highlighting issue") works (even with my originally saved JPEG that didn't have danpost's recommended changes). I noticed that now on the Greenfoot site in the discussions the "Post a reply" box is only on the last page and on the first pages it says "There are more replies on the next page." I like this change because I made the mistake of replying to a question on the first page when it was answered on the second (here the eleventh post on the page).
Nosson1459 wrote...
(I don't know how to make a link go to a specific post, but you can tell me I hope.)
Edit: I just noticed this discussion after I posted my post because looking at other peoples discussions is not the first thing I do when I go to the Greenfoot site.
You need to login to post a reply.
1
2