FAQ
Is anyone there having problem with deploying html?
I really want to know why I have problem with 500 error when I deploy the
html files.
I used github and did everything changing the code..
It works well when the html files are included in .go like
  template.Must(template.New("").Parse())
but whenever I put the html codes out of .go and try with the code
template.Must(template.ParseFiles(""))
I always have 500 error


14.32.107.206 - - [26/Nov/2014:05:26:59 -0800] "GET / HTTP/1.1" 500 0 -
"Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; MALEJS; rv:11.0) like
Gecko" "moonschatt.appspot.com" ms=173 cpu_ms=0 loading_request=1
exit_code=204 instance=00c61b117ca14228d7d9b1ac4207ed2311d04cbf
app_engine_release=1.9.16

this is what I got on the log
please help me!
what should I do to resolve the problem ?!


--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Dave Cheney at Nov 27, 2014 at 4:59 am
    ParseFiles is failing, probably because the path to the template files is not as expected in the app engine environment. template.Must is converting that error into a panic.

    I believe that the panic will be recorded, but not in the http logs. The text of the panic will explain what had gone wrong.

    --
    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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedNov 26, '14 at 3:22p
activeNov 27, '14 at 4:59a
posts2
users2
websitegolang.org

2 users in discussion

Dave Cheney: 1 post Seunghyun jo: 1 post

People

Translate

site design / logo © 2021 Grokbase