play.golang.org seems broken

383 views
Skip to first unread message

mattn

unread,
Apr 23, 2013, 8:18:29 AM4/23/13
to golan...@googlegroups.com
Doesn't work if getting compile errors.


Andrew Gerrand

unread,
Apr 24, 2013, 4:59:47 AM4/24/13
to mattn, golang-nuts
It seems to be working for me? http://play.golang.org/p/XRtfdAb-Cg


On 23 April 2013 14:18, mattn <matt...@gmail.com> wrote:
Doesn't work if getting compile errors.


--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

peterGo

unread,
Apr 24, 2013, 7:07:32 AM4/24/13
to golan...@googlegroups.com, mattn
Andrew,

It doesn't work for me: "prog.go:8: syntax error: unexpected EOF." There's no closing right curly barcket.

Linux Peter 3.5.0-27-generic #46-Ubuntu SMP Mon Mar 25 19:58:17 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Firefox 20.0

Peter
Screenshot from 2013-04-24 07:00:00.png

Péter Szilágyi

unread,
Apr 24, 2013, 7:12:55 AM4/24/13
to peterGo, golang-nuts, mattn
But what are you expecting to happen?

There's an error in your code (eof was reached before the closing brace), the compiler notices it and reports it back to you. What else should it do?

Matt Kane's Brain

unread,
Apr 24, 2013, 7:27:02 AM4/24/13
to mattn, golang-nuts
Can you share a playground link to share that can reproduce the problem? What browser?


On Tue, Apr 23, 2013 at 8:18 AM, mattn <matt...@gmail.com> wrote:
Doesn't work if getting compile errors.

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
matt kane's brain
twitter: the_real_mkb / nynexrepublic
http://hydrogenproject.com

peterGo

unread,
Apr 24, 2013, 7:35:57 AM4/24/13
to golan...@googlegroups.com, peterGo, mattn
Péter Szilágyi,

Did you read the messages in this thread?

The message was addressed to Andrew. He said the Go Playground link he posted worked for him; it didn't work for me.

Peter

minux

unread,
Apr 24, 2013, 7:46:18 AM4/24/13
to peterGo, golan...@googlegroups.com, mattn
Hi,

On Wed, Apr 24, 2013 at 7:35 PM, peterGo <go.pe...@gmail.com> wrote:
Péter Szilágyi,

Did you read the messages in this thread?

The message was addressed to Andrew. He said the Go Playground link he posted worked for him; it didn't work for me.
I got this from playground:

prog.go:8: syntax error: unexpected EOF

$ curl -s http://play.golang.org/p/XRtfdAb-Cg.go > x.go
$ go run x.go  # Go tip
# command-line-arguments
./x.go:6: syntax error: unexpected EOF
$ go103 run x.go # Go 1.0.3
# command-line-arguments
./x.go:8: syntax error: unexpected EOF

So i think the playground is working properly for that program.

mattn

unread,
Apr 24, 2013, 8:04:38 AM4/24/13
to golan...@googlegroups.com, mattn
Hi

I got succeeded with your code, but I got fail with follow.


mattn

unread,
Apr 24, 2013, 8:07:28 AM4/24/13
to golan...@googlegroups.com, mattn
I'm using chrome dev channel.  28.0.1485.0 dev-m

Andrew Gerrand

unread,
Apr 24, 2013, 8:50:01 AM4/24/13
to mattn, golang-nuts
Can you please share a play.golang.org link that demonstrates the problem?

Andrew


On 24 April 2013 14:07, mattn <matt...@gmail.com> wrote:
I'm using chrome dev channel.  28.0.1485.0 dev-m

--

Andrew Gerrand

unread,
Apr 24, 2013, 8:50:49 AM4/24/13
to peterGo, golang-nuts, mattn

On 24 April 2013 13:07, peterGo <go.pe...@gmail.com> wrote:
It doesn't work for me: "prog.go:8: syntax error: unexpected EOF." There's no closing right curly barcket

This issue being raised is with the playground interface, not the go compiler. My example program is designed to trigger a compile error. Mattn is having an issue with the user interface with compile errors.

Andrew

Yasuhiro MATSUMOTO

unread,
Apr 24, 2013, 11:26:23 AM4/24/13
to Andrew Gerrand, golang-nuts
ok, I'll do it in later. BTW, play.golang.org don't have round robin
server that doesn't sync program? I got succeeded in sometimes.
--
- Yasuhiro Matsumoto

mattn

unread,
Apr 25, 2013, 12:10:17 AM4/25/13
to golan...@googlegroups.com, peterGo, mattn

Andrew Gerrand

unread,
Apr 25, 2013, 12:53:44 AM4/25/13
to Yasuhiro MATSUMOTO, peterGo, golang-nuts

Please
1. Go to play.golang.org and enter the program that triggers the error
2. Click Share
3. Copy the share URL and paste it into an response to this thread. 

Thanks

--

mattn

unread,
Apr 25, 2013, 2:31:05 AM4/25/13
to golan...@googlegroups.com, Yasuhiro MATSUMOTO, peterGo

mattn

unread,
Apr 25, 2013, 2:45:10 AM4/25/13
to golan...@googlegroups.com, Yasuhiro MATSUMOTO, peterGo
"compile_errors" seems https://code.google.com/p/go-tour/source/browse/gotour/goplay.go?r=3131fe0a8de94b3b86ac298bc33f2eca0703404a#19

Don't you use round robin that contains older code?

David Symonds

unread,
Apr 25, 2013, 3:14:51 AM4/25/13
to mattn, golan...@googlegroups.com, peterGo
On Thu, Apr 25, 2013 at 4:31 PM, mattn <matt...@gmail.com> wrote:

> http://play.golang.org/p/Blb_qqSOpo

I visited that and didn't get any compile errors. I got program output.

mattn

unread,
Apr 25, 2013, 3:29:58 AM4/25/13
to golan...@googlegroups.com, mattn, peterGo
I got succeeded at first time. But in second time, got failed.

Andrew Gerrand

unread,
Apr 25, 2013, 10:51:44 AM4/25/13
to mattn, golang-nuts, peterGo
When you say "first" and "second time", do you mean clicking "run"? Or loading the page?

It works for me every time I do either of those things.



On 25 April 2013 09:29, mattn <matt...@gmail.com> wrote:
I got succeeded at first time. But in second time, got failed.

Yasuhiro MATSUMOTO

unread,
Apr 25, 2013, 12:36:07 PM4/25/13
to Andrew Gerrand, golang-nuts, peterGo
I clicked run twice. took enough time to see the first time result.
--
- Yasuhiro Matsumoto

Johannes Löthberg

unread,
Apr 25, 2013, 5:42:46 PM4/25/13
to golan...@googlegroups.com, Andrew Gerrand, peterGo
Could you take a screenshot of it failing?

Kyle Lemons

unread,
Apr 25, 2013, 8:26:46 PM4/25/13
to Johannes Löthberg, golang-nuts, Andrew Gerrand, peterGo
At this point, I'd request a network trace actually.  Wireshark or tcpdump.  That should tell us if it's your browser sending something weird or the server misbehaving, and if it's the latter it should provide a test case that can be transliterated into a regression test.

Kyle Lemons

unread,
Apr 25, 2013, 8:30:08 PM4/25/13
to Johannes Löthberg, golang-nuts, Andrew Gerrand, peterGo
On Thu, Apr 25, 2013 at 5:26 PM, Kyle Lemons <kev...@google.com> wrote:
At this point, I'd request a network trace actually.  Wireshark or tcpdump.  That should tell us if it's your browser sending something weird or the server misbehaving, and if it's the latter it should provide a test case that can be transliterated into a regression test.

I guess I should mention here that in either case, you should be careful to limit the trace to only the traffic to the playground.  If you want to gather such a trace but aren't sure how to do it, the guys on the IRC channel can probably help you out real-time.
Reply all
Reply to author
Forward
0 new messages