Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Each request triggers reload
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 45 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dirk Louwers  
View profile  
 More options Oct 30 2012, 6:56 am
From: Dirk Louwers <dirk.louw...@stormlantern.nl>
Date: Tue, 30 Oct 2012 03:56:22 -0700 (PDT)
Local: Tues, Oct 30 2012 6:56 am
Subject: [play-2.1-10112012] Each request triggers reload

Hi,

I am toying around with Play 2.1 and noticed that all requests (including
every single asset request) trigger a recompile on my Mac, even when
nothing has changed. Interestingly a colleague used the same project on his
Ubuntu machine and didn't have this issue. Hope anyone has a clue as to
what could be causing this.

Best,

Dirk


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Jain  
View profile  
 More options Oct 30 2012, 7:06 pm
From: Eric Jain <eric.j...@gmail.com>
Date: Tue, 30 Oct 2012 16:06:42 -0700 (PDT)
Local: Tues, Oct 30 2012 7:06 pm
Subject: Re: [play-2.1-10112012] Each request triggers reload

Does this problem persist after doing a `play clean-all`?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dirk Louwers  
View profile  
 More options Oct 31 2012, 9:23 am
From: Dirk Louwers <dirk.louw...@stormlantern.nl>
Date: Wed, 31 Oct 2012 06:23:21 -0700 (PDT)
Local: Wed, Oct 31 2012 9:23 am
Subject: Re: [play-2.1-10112012] Each request triggers reload

I have run sbt clean and clean-files and deleted the directories that the
clean command should. I guess it's worth noting that I am using Play from
sbt.

This did not help and I can confirm the issue is there on two different
Macs.

Op woensdag 31 oktober 2012 00:06:42 UTC+1 schreef Eric Jain het volgende:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "[play-2.1-10112012] Each request triggers reload" by Eric Jain
Eric Jain  
View profile  
 More options Oct 31 2012, 11:31 pm
From: Eric Jain <eric.j...@gmail.com>
Date: Wed, 31 Oct 2012 20:30:46 -0700
Local: Wed, Oct 31 2012 11:30 pm
Subject: Re: [play-framework] Re: [play-2.1-10112012] Each request triggers reload
On Wed, Oct 31, 2012 at 6:23 AM, Dirk Louwers

<dirk.louw...@stormlantern.nl> wrote:
> I have run sbt clean and clean-files and deleted the directories that the clean command should. I guess it's worth noting that I am using Play from sbt.

`clean-all` might delete more files than `clean` or `clean-files`? In
any case, if you managed to reproduce the problem on a second machine
from a fresh checkout, this isn't likely to be the problem.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Each request triggers reload" by James Roper
James Roper  
View profile  
 More options Oct 31 2012, 11:41 pm
From: James Roper <jrop...@gmail.com>
Date: Wed, 31 Oct 2012 20:41:57 -0700 (PDT)
Local: Wed, Oct 31 2012 11:41 pm
Subject: Re: [play-2.1-10112012] Each request triggers reload

Actually we've just started noticing a similar issue on an internal project
at Typesafe, I'm about to take a deeper look into it, stay tuned.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dirk Louwers  
View profile  
 More options Nov 1 2012, 9:33 am
From: Dirk Louwers <dirk.louw...@stormlantern.nl>
Date: Thu, 1 Nov 2012 06:33:36 -0700 (PDT)
Local: Thurs, Nov 1 2012 9:33 am
Subject: Re: [play-2.1-10112012] Each request triggers reload

Ok, looking forward to your findings.

Op donderdag 1 november 2012 04:41:57 UTC+1 schreef James Roper het
volgende:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Roper  
View profile  
 More options Nov 2 2012, 1:34 am
From: James Roper <jrop...@gmail.com>
Date: Thu, 1 Nov 2012 22:34:29 -0700 (PDT)
Local: Fri, Nov 2 2012 1:34 am
Subject: Re: [play-2.1-10112012] Each request triggers reload

Hi Dirk,

What is the result of the reload each time?  Is it a compilation failure?
 Or does it successfully reload the app?  I think the issue we were seeing
was actually due to a polling script, when compilation failed, each
subsequent request would trigger a recompile, but that's by design, so
there's no issue there.  If that's different to your issue, then could you
paste the logs of a full reload loop?

Cheers,

James


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dirk Louwers  
View profile  
 More options Nov 2 2012, 6:28 am
From: Dirk Louwers <dirk.louw...@stormlantern.nl>
Date: Fri, 2 Nov 2012 03:28:54 -0700 (PDT)
Local: Fri, Nov 2 2012 6:28 am
Subject: Re: [play-2.1-10112012] Each request triggers reload

Hi James,

There is no compilation failure. It successfully reloads the app. It just
does that for every single request. I have set all log-levels to DEBUG and
get the following:

2012-11-02 11:23:20,178 - [DEBUG] - from play in
play-akka.actor.default-dispatcher-5
Plugin [play.api.db.BoneCPPlugin] is disabled

2012-11-02 11:23:20,179 - [DEBUG] - from play in
play-akka.actor.default-dispatcher-5
Plugin [play.api.db.evolutions.EvolutionsPlugin] is disabled

2012-11-02 11:23:20,195 - [INFO] - from play in
play-akka.actor.default-dispatcher-5
Application started (Dev)

2012-11-02 11:23:22,366 - [DEBUG] - from play in
play-akka.actor.default-dispatcher-5
Plugin [play.api.db.BoneCPPlugin] is disabled

2012-11-02 11:23:22,367 - [DEBUG] - from play in
play-akka.actor.default-dispatcher-5
Plugin [play.api.db.evolutions.EvolutionsPlugin] is disabled

2012-11-02 11:23:22,395 - [INFO] - from play in
play-akka.actor.default-dispatcher-5
Application started (Dev)

2012-11-02 11:23:24,951 - [DEBUG] - from play in
play-akka.actor.default-dispatcher-5
Plugin [play.api.db.BoneCPPlugin] is disabled

2012-11-02 11:23:24,951 - [DEBUG] - from play in
play-akka.actor.default-dispatcher-5
Plugin [play.api.db.evolutions.EvolutionsPlugin] is disabled

2012-11-02 11:23:24,975 - [INFO] - from play in
play-akka.actor.default-dispatcher-5
Application started (Dev)

etc. for each separate request

Best,

Dirk

Op vrijdag 2 november 2012 06:34:29 UTC+1 schreef James Roper het volgende:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dirk Louwers  
View profile  
 More options Nov 2 2012, 6:47 am
From: Dirk Louwers <dirk.louw...@stormlantern.nl>
Date: Fri, 2 Nov 2012 03:47:58 -0700 (PDT)
Local: Fri, Nov 2 2012 6:47 am
Subject: Re: [play-2.1-10112012] Each request triggers reload

Further research has shown that on every request a single specific template
gets recompiled, even when it hasn't been changed. If we delete said
template the website doesn't reload every time. If we re-add it the problem
pops-up again. There are no outside processes changing the template file
but changes are detected none the less.

Setting logging to TRACE does not expose the reason why it is constantly
recompiling this template.

Op vrijdag 2 november 2012 06:34:29 UTC+1 schreef James Roper het volgende:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "[play-2.1-10112012] Each request triggers reload" by Manuel Bernhardt
Manuel Bernhardt  
View profile  
 More options Nov 2 2012, 7:43 am
From: Manuel Bernhardt <bernhardt.man...@gmail.com>
Date: Fri, 2 Nov 2012 12:43:24 +0100
Local: Fri, Nov 2 2012 7:43 am
Subject: Re: [play-framework] Re: [play-2.1-10112012] Each request triggers reload
Hi,

Which version of OS X do you have?

Manuel

On Fri, Nov 2, 2012 at 11:47 AM, Dirk Louwers


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dirk Louwers  
View profile  
 More options Nov 2 2012, 7:54 am
From: Dirk Louwers <dirk.louw...@stormlantern.nl>
Date: Fri, 2 Nov 2012 04:54:49 -0700 (PDT)
Local: Fri, Nov 2 2012 7:54 am
Subject: Re: [play-framework] Re: [play-2.1-10112012] Each request triggers reload

Hi,

10.7.5 and 10.6.8 both have this issue.

Best,

Dirk

Op vrijdag 2 november 2012 12:43:53 UTC+1 schreef Manuel Bernhardt het
volgende:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Manuel Bernhardt  
View profile  
 More options Nov 2 2012, 8:17 am
From: Manuel Bernhardt <bernhardt.man...@gmail.com>
Date: Fri, 2 Nov 2012 13:16:55 +0100
Local: Fri, Nov 2 2012 8:16 am
Subject: Re: [play-framework] Re: [play-2.1-10112012] Each request triggers reload
Hi Dirk,

- do you have anything special set-up in regards to your drives? Do
you perhaps use some kind of encryption?
- what are the file permissions on that template file?

Manuel

On Fri, Nov 2, 2012 at 12:54 PM, Dirk Louwers


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dirk Louwers  
View profile  
 More options Nov 2 2012, 8:27 am
From: Dirk Louwers <dirk.louw...@stormlantern.nl>
Date: Fri, 2 Nov 2012 05:27:09 -0700 (PDT)
Local: Fri, Nov 2 2012 8:27 am
Subject: Re: [play-framework] Re: [play-2.1-10112012] Each request triggers reload

Hi,

Nothing special set up.
Permissions are:

-rw-r--r--  1 dirk  staff  13958 31 okt 16:16 template.scala.html

Same as all the other templates.

Dirk

Op vrijdag 2 november 2012 13:17:29 UTC+1 schreef Manuel Bernhardt het
volgende:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guillaume Bort  
View profile  
 More options Nov 2 2012, 8:32 am
From: Guillaume Bort <guillaume.b...@gmail.com>
Date: Fri, 2 Nov 2012 13:32:10 +0100
Local: Fri, Nov 2 2012 8:32 am
Subject: Re: [play-framework] Re: [play-2.1-10112012] Each request triggers reload

Can you check if there is any special/hidden char in this file that could
corrupt the HASH computation in some way? The template are recompiled if
the template compiler decide that the content changed. To know that it uses
a content HASH that is stored into the generated scala source file.

Check into target/scala-2.x.x/src_managed/main/views/html/....

The generated file should contain something like:

/*
    -- GENERATED --
    DATE: Fri Nov 02 10:38:00 CET 2012
    SOURCE: /private/tmp/doc-review/app/views/index.scala.html
    HASH: a9468e14516db88237e3431e8b54cf7780705202
    MATRIX: 505->1|599->18|636->21|671->48|710->50|755->61|769->67|807->84
    LINES: 19->1|22->1|24->3|24->3|24->3|26->5|26->5|26->5
    -- GENERATED --
*/

On Fri, Nov 2, 2012 at 1:27 PM, Dirk Louwers
<dirk.louw...@stormlantern.nl>wrote:

--
Guillaume Bort, http://guillaume.bort.fr

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dirk Louwers  
View profile  
 More options Nov 2 2012, 9:49 am
From: Dirk Louwers <dirk.louw...@stormlantern.nl>
Date: Fri, 2 Nov 2012 06:49:28 -0700 (PDT)
Local: Fri, Nov 2 2012 9:49 am
Subject: Re: [play-framework] Re: [play-2.1-10112012] Each request triggers reload

The hash in the generated code does not vary. So unless it uses two
different hash methods it should not detect the file as changed. Visual
scan of the template shows no special characters. All characters are ASCII.
The only situation I can think of where a different hash value is produced
is when MessageDigest#digest is accessed asynchronously...

Op vrijdag 2 november 2012 13:32:38 UTC+1 schreef Guillaume Bort het
volgende:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guillaume Bort  
View profile  
 More options Nov 2 2012, 10:52 am
From: Guillaume Bort <guillaume.b...@gmail.com>
Date: Fri, 2 Nov 2012 15:52:16 +0100
Local: Fri, Nov 2 2012 10:52 am
Subject: Re: [play-framework] Re: [play-2.1-10112012] Each request triggers reload

Could you try to debug or add a few traces here:

https://github.com/playframework/Play20/blob/master/framework/src/tem...

There is probably something wrong with that.

On Fri, Nov 2, 2012 at 2:49 PM, Dirk Louwers
<dirk.louw...@stormlantern.nl>wrote:

--
Guillaume Bort, http://guillaume.bort.fr

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guillaume Bort  
View profile  
 More options Nov 2 2012, 10:54 am
From: Guillaume Bort <guillaume.b...@gmail.com>
Date: Fri, 2 Nov 2012 15:54:21 +0100
Local: Fri, Nov 2 2012 10:54 am
Subject: Re: [play-framework] Re: [play-2.1-10112012] Each request triggers reload

Well looking at the code, it could have something to do with encoding. The
`byteArray` call don't specify the encoding to use. Perhaps for any reasons
this encoding change during the generation and the check phases.

On Fri, Nov 2, 2012 at 3:52 PM, Guillaume Bort <guillaume.b...@gmail.com>wrote:

--
Guillaume Bort, http://guillaume.bort.fr

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gustavo Hexsel  
View profile  
 More options Nov 2 2012, 10:59 am
From: Gustavo Hexsel <ghex...@gmail.com>
Date: Fri, 2 Nov 2012 07:59:44 -0700 (PDT)
Local: Fri, Nov 2 2012 10:59 am
Subject: Re: [play-framework] Re: [play-2.1-10112012] Each request triggers reload

  Can you check the case of the original and generated files?  

  I had colleagues that had similar issues with SVN clashing because the
Mac filesystem was not set to be case-sensitive and some file had its name
modified on the server from Somethinga to SomethingA.  Every "svn update"
failed.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dirk Louwers  
View profile  
 More options Nov 2 2012, 11:32 am
From: Dirk Louwers <dirk.louw...@stormlantern.nl>
Date: Fri, 2 Nov 2012 08:32:31 -0700 (PDT)
Local: Fri, Nov 2 2012 11:32 am
Subject: Re: [play-framework] Re: [play-2.1-10112012] Each request triggers reload

The case is the same. Namely all lowercase.

Op vrijdag 2 november 2012 15:59:44 UTC+1 schreef Gustavo Hexsel het
volgende:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dirk Louwers  
View profile  
 More options Nov 2 2012, 11:35 am
From: Dirk Louwers <dirk.louw...@stormlantern.nl>
Date: Fri, 2 Nov 2012 08:35:38 -0700 (PDT)
Local: Fri, Nov 2 2012 11:35 am
Subject: Re: [play-framework] Re: [play-2.1-10112012] Each request triggers reload

Well, I am using the 2.1-10112012 sbt plugin. I don't know what version of
the libraries it pulls in but it doesn't include the sources. I could clone
master and try to reproduce in a unit test though.

Op vrijdag 2 november 2012 15:52:49 UTC+1 schreef Guillaume Bort het
volgende:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dirk Louwers  
View profile  
 More options Nov 2 2012, 12:35 pm
From: Dirk Louwers <dirk.louw...@stormlantern.nl>
Date: Fri, 2 Nov 2012 09:35:39 -0700 (PDT)
Local: Fri, Nov 2 2012 12:35 pm
Subject: Re: [play-framework] Re: [play-2.1-10112012] Each request triggers reload

After manually hashing the template using OpenSSL it appears that the HASH
value written into the template is incorrect. For other templates it is
fine. Looking at the differences, the template compiler writes hash value
as Path(source).string while it is being compared to Path(source).byteArray.

Op vrijdag 2 november 2012 15:54:51 UTC+1 schreef Guillaume Bort het
volgende:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dirk Louwers  
View profile  
 More options Nov 2 2012, 12:36 pm
From: Dirk Louwers <dirk.louw...@stormlantern.nl>
Date: Fri, 2 Nov 2012 09:36:58 -0700 (PDT)
Local: Fri, Nov 2 2012 12:36 pm
Subject: Re: [play-framework] Re: [play-2.1-10112012] Each request triggers reload

After manually hashing the template using OpenSSL it appears that the HASH
value written into the template is incorrect. For other templates it is
fine. Looking at the differences, the template compiler writes hash value
as Path(source).string while it is being compared to Path(source).byteArray.

Op vrijdag 2 november 2012 15:54:51 UTC+1 schreef Guillaume Bort het
volgende:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dirk Louwers  
View profile  
 More options Nov 2 2012, 12:38 pm
From: Dirk Louwers <dirk.louw...@stormlantern.nl>
Date: Fri, 2 Nov 2012 09:38:44 -0700 (PDT)
Local: Fri, Nov 2 2012 12:38 pm
Subject: Re: [play-framework] Re: [play-2.1-10112012] Each request triggers reload

After manually hashing the template using OpenSSL it appears that the HASH
value written into the template is incorrect. For other templates it is
fine. Looking at the differences, the template compiler writes hash value
as Path(source).string while it is being compared to Path(source).byteArray.

Op vrijdag 2 november 2012 15:54:51 UTC+1 schreef Guillaume Bort het
volgende:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dirk Louwers  
View profile  
 More options Nov 2 2012, 12:41 pm
From: Dirk Louwers <dirk.louw...@stormlantern.nl>
Date: Fri, 2 Nov 2012 09:41:33 -0700 (PDT)
Local: Fri, Nov 2 2012 12:41 pm
Subject: Re: [play-framework] Re: [play-2.1-10112012] Each request triggers reload

After manually hashing the template using OpenSSL it appears that the HASH
value written into the template is incorrect. For other templates it is
fine. Looking at the differences, the template compiler writes hash value
as Path(source).string while it is being compared to Path(source).byteArray.

Op vrijdag 2 november 2012 15:54:51 UTC+1 schreef Guillaume Bort het
volgende:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dirk Louwers  
View profile  
 More options Nov 2 2012, 12:43 pm
From: Dirk Louwers <dirk.louw...@stormlantern.nl>
Date: Fri, 2 Nov 2012 09:43:15 -0700 (PDT)
Local: Fri, Nov 2 2012 12:43 pm
Subject: Re: [play-framework] Re: [play-2.1-10112012] Each request triggers reload

After manually hashing the template using OpenSSL it appears that the HASH
value written into the template is incorrect. For other templates it is
fine. Looking at the differences, the template compiler writes hash value
as Path(source).string while it is being compared to Path(source).byteArray.

Op vrijdag 2 november 2012 15:54:51 UTC+1 schreef Guillaume Bort het
volgende:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 45   Newer >
« Back to Discussions « Newer topic     Older topic »