Having refreshed my prototype checkout (along with the submodules),
the sprockets issue is still present.

Trying to change the timestamp causes a problem.

Looking at the output of Filemon
(http://live.sysinternals.com/filemon.exe), I can see the information
contained in the attached log file (best viewable in a spreadsheet to
separate the columns cleanly).

It seems that there is a SHARING VIOLATION.

As the file is unique, what benefit does setting the timestamp have?

For windows, this will be updated automatically anyway.


So, commenting out the odd line allows the build to succeed.

Though it is VERY VERY slow. I can build our PHP manual from DocBook
XML to CHM in about the same time. And that contains over 8,500 pages
from a single 23MB XML file (which is first concatenated from over
12,500 XML files).







2009/4/8 Andrew Dupont <goo...@andrewdupont.net>:
>
> OK, fixed it. This was caused by a recent commit to PDoc that fixed
> one problem but introduced another.
>
> Cheers,
> Andrew
>
> On Apr 7, 5:44 am, "T.J. Crowder" <t...@crowdersoftware.com> wrote:
>> Thanks Richard.  I've opened ticket #647[1] for it, just to track it.
>> I don't think this needs to get in the way of the doc tickets I'm
>> trying to clean up.
>>
>> [1]https://prototype.lighthouseapp.com/projects/8886-prototype/tickets/647
>>
>> -- T.J.
>>
>> On Apr 7, 11:15 am, Richard Quadling <rquadl...@googlemail.com> wrote:
>>
>>
>>
>> > 2009/4/7 Richard Quadling <rquadl...@googlemail.com>:
>>
>> > > 2009/4/7 Richard Quadling <rquadl...@googlemail.com>:
>> > >> 2009/4/7 T.J. Crowder <t...@crowdersoftware.com>:
>>
>> > >>>> Thanks.  With the latest, on Windows if I also comment out the atime
>> > >>>> line, building the docs goes through to completion.  However, the
>> > >>>> generated doc seems to have issues:  For instance, if I go into
>> > >>>> index.html, then choose "Language Section" from the menu, if I click
>> > >>>> on $A on the "Utilities" line on the page, I get a 404 for language
>> > >>>> \dollara.html.
>>
>> > >>> Can anyone build the docs without having that problem?  I just need to
>> > >>> know whether it's an issue with my setup.
>>
>> > >>> Thanks,
>>
>> > >>> -- T.J.
>>
>> > >>> On Apr 3, 10:41 pm, "T.J. Crowder" <t...@crowdersoftware.com> wrote:
>> > >>>> Hi Andrew,
>>
>> > >>>> Thanks.  With the latest, on Windows if I also comment out the atime
>> > >>>> line, building the docs goes through to completion.  However, the
>> > >>>> generated doc seems to have issues:  For instance, if I go into
>> > >>>> index.html, then choose "Language Section" from the menu, if I click
>> > >>>> on $A on the "Utilities" line on the page, I get a 404 for language
>> > >>>> \dollara.html.
>>
>> > >>>> Haven't had a chance to try Ubuntu yet.
>>
>> > >>>> -- T.J.
>>
>> > >>>> On Apr 3, 6:56 pm, Andrew Dupont <goo...@andrewdupont.net> wrote:
>>
>> > >>>> > OK, once I commented out that "File.utime" line, things went 
>> > >>>> > smoothly.
>> > >>>> > There was an error in the rendering stage that I had to correct
>> > >>>> > (something that was showing up with BlueCloth but not with 
>> > >>>> > RDiscount)
>> > >>>> > — so do a "git pull" once again. Then the docs will build.
>>
>> > >>>> > The line that needs commenting out is a bug in Sprockets that I've
>> > >>>> > passed along to Sam, so expect a fix for that sometime soon.
>>
>> > >>>> > T.J., let me know if you have any further problems.
>>
>> > >>>> > Cheers,
>> > >>>> > Andrew
>>
>> > >>>> > On Apr 3, 11:22 am, Andrew Dupont <goo...@andrewdupont.net> wrote:
>>
>> > >>>> > > *headdesk*
>>
>> > >>>> > > Had local changes to my PDoc checkout that I had not pushed back 
>> > >>>> > > to
>> > >>>> > > the repo. Fixed now.
>>
>> > >>>> > > git pull && git submodule update
>>
>> > >>>> > > ...should do the trick.
>>
>> > >>>> > > Cheers,
>> > >>>> > > Andrew
>>
>> > >>>> > > On Apr 3, 9:28 am, "T.J. Crowder" <t...@crowdersoftware.com> 
>> > >>>> > > wrote:
>>
>> > >>>> > > > Hi Richard,
>>
>> > >>>> > > > > I'm really stumped here. I wonder if the lack of a ...
>>
>> > >>>> > > > I'd leave it until Andrew's had a chance to take a look.
>>
>> > >>>> > > > -- T.J. :-)
>>
>> > >>>> > > > On Apr 3, 3:21 pm, Richard Quadling <rquadl...@googlemail.com> 
>> > >>>> > > > wrote:
>>
>> > >>>> > > > > 2009/4/3 T.J. Crowder <t...@crowdersoftware.com>:
>>
>> > >>>> > > > > > [snip]
>>
>> > >>>> > > > > >> I think I've found the problem.
>> > >>>> > > > > >>      File.utime(timestamp, timestamp, filename)
>> > >>>> > > > > >> is trying to amend the time on the open file.
>> > >>>> > > > > >> I commented this line and it worked.
>>
>> > >>>> > > > > > Yup, that lets me get past that point as well.  Andrew said 
>> > >>>> > > > > > he'd be
>> > >>>> > > > > > working on this in his Windows VM soon, so hopefully that 
>> > >>>> > > > > > gives him a
>> > >>>> > > > > > leg up.
>>
>> > >>>> > > > > >> rake aborted!
>> > >>>> > > > > >> undefined method `signature' for 
>> > >>>> > > > > >> #<Documentation::InstanceProperty
>> > >>>> > > > > >> Ajax.Response#headerJSON>
>>
>> > >>>> > > > > > Yup, here too.  Probably a different problem.
>>
>> > >>>> > > > > > -- T.J.
>>
>> > >>>> > > > > I'm really stumped here. I wonder if the lack of a ...
>>
>> > >>>> > > > > headerJSON: function() {
>> > >>>> > > > > ...
>>
>> > >>>> > > > > is causing it. I tried temporarily adding one to response.js, 
>> > >>>> > > > > but it
>> > >>>> > > > > didn't make a diff.
>>
>> > >>>> > > > > --
>> > >>>> > > > > -----
>> > >>>> > > > > Richard Quadling
>> > >>>> > > > > Zend Certified Engineer 
>> > >>>> > > > > :http://zend.com/zce.php?c=ZEND002498&r=213474731
>> > >>>> > > > > "Standing on the shoulders of some very clever giants!"
>>
>> > >> Please hold, your call will be answered shortly.
>> > >> --
>> > >> -----
>> > >> Richard Quadling
>> > >> Zend Certified Engineer 
>> > >> :http://zend.com/zce.php?c=ZEND002498&r=213474731
>> > >> "Standing on the shoulders of some very clever giants!"
>>
>> > > [07/04/2009 10:26:41] [D:\Personal
>> > > Files\Downloads\Software\Programming\Javascript\Prototype\master] []
>> > >>rake doc
>> > > (in D:/Personal
>> > > Files/Downloads/Software/Programming/Javascript/Prototype/master)
>> > > rm -rf D:/Personal
>> > > Files/Downloads/Software/Programming/Javascript/Prototype/master/doc
>>
>> > >    Parsing source files: C:/DOCUME~1/RichardQ/LOCALS~1/Temp/pdoc.2796.0.
>> > >    Parsing completed in 51.437 seconds.
>>
>> > >    Generating documentation to: D:/Personal
>> > > Files/Downloads/Software/Programming/Javascript/Prototype/master/doc.
>> > >    Documentation generated in 566.789 seconds.
>>
>> > >    Summary:
>> > >      Sections:            3
>> > >      Utilities:           7
>> > >      Namespaces:          34
>> > >      Mixins:              1
>> > >      Classes:             23
>> > >      Constructor methods: 11
>> > >      Constants:           0
>> > >      Class methods:       46
>> > >      Instance methods:    208
>> > >      Class properties:    2
>> > >      Instance properties: 9
>>
>> > > So far so good.
>>
>> > > But ...
>>
>> > > file:///D:/Personal%20Files/Downloads/Software/Programming/Javascript/Proto
>> > >  type/master/doc/dom/dollar.html
>> > > file:///D:/Personal%20Files/Downloads/Software/Programming/Javascript/Proto
>> > >  type/master/doc/dom/dollardollar.html
>> > > file:///D:/Personal%20Files/Downloads/Software/Programming/Javascript/Proto
>> > >  type/master/doc/dom/dollarf.html
>> > > file:///D:/Personal%20Files/Downloads/Software/Programming/Javascript/Proto
>> > >  type/master/doc/language/dollara.html
>> > > file:///D:/Personal%20Files/Downloads/Software/Programming/Javascript/Proto
>> > >  type/master/doc/language/dollarh.html
>> > > file:///D:/Personal%20Files/Downloads/Software/Programming/Javascript/Proto
>> > >  type/master/doc/language/dollarr.html
>> > > file:///D:/Personal%20Files/Downloads/Software/Programming/Javascript/Proto
>> > >  type/master/doc/language/dollarw.html
>>
>> > > are all missing.
>>
>> > > Others may also be missing.
>>
>> > > --
>> > > -----
>> > > Richard Quadling
>> > > Zend Certified Engineer :http://zend.com/zce.php?c=ZEND002498&r=213474731
>> > > "Standing on the shoulders of some very clever giants!"
>>
>> > Confirmed using Teleport Pro. Only 7 pages missing and they are the
>> > dollar* pages.
>>
>> > --
>> > -----
>> > Richard Quadling
>> > Zend Certified Engineer :http://zend.com/zce.php?c=ZEND002498&r=213474731
>> > "Standing on the shoulders of some very clever giants!"
> >
>



-- 
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to 
prototype-core-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

08:15:10        ruby.exe:3968   QUERY INFORMATION       
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0.lock     NOT FOUND       
Attributes: Error       
08:15:10        ruby.exe:3968   QUERY INFORMATION       
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  NOT FOUND       Attributes: 
Error       
08:15:10        ruby.exe:3968   CREATE  
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0.lock     SUCCESS Options: Create 
Directory  Access: 00100001     
08:15:10        ruby.exe:3968   CLOSE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0.lock     SUCCESS         
08:15:10        ruby.exe:3968   QUERY INFORMATION       
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0.lock     SUCCESS Attributes: CD  
08:15:10        ruby.exe:3968   OPEN    
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0.lock     SUCCESS Options: Open  
Access: 00100100 
08:15:10        ruby.exe:3968   SET INFORMATION         
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0.lock     SUCCESS 
FileBasicInformation    
08:15:10        ruby.exe:3968   CLOSE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0.lock     SUCCESS         
08:15:10        ruby.exe:3968   CREATE  
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Options: Create  
Access: 0012019F       
08:15:10        ruby.exe:3968   QUERY INFORMATION       
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Length: 0       
08:15:10        ruby.exe:3968   QUERY INFORMATION       
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0.lock     SUCCESS Attributes: CD  
08:15:10        ruby.exe:3968   OPEN    
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0.lock     SUCCESS Options: Open 
Directory  Access: 00110080       
08:15:10        ruby.exe:3968   QUERY INFORMATION       
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0.lock     SUCCESS 
FileAttributeTagInformation     
08:15:10        ruby.exe:3968   DELETE  
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0.lock     SUCCESS         
08:15:10        ruby.exe:3968   CLOSE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0.lock     SUCCESS         
08:15:10        ruby.exe:3968   CREATE  
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Options: OverwriteIf  
Access: 00120196  
08:15:11        ruby.exe:3968   WRITE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Offset: 0 Length: 1024  
08:15:11        ruby.exe:3968   WRITE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Offset: 1024 Length: 
1024       
08:15:11        ruby.exe:3968   WRITE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Offset: 2048 Length: 
1024       
08:15:11        ruby.exe:3968   WRITE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Offset: 3072 Length: 
1024       
08:15:11        ruby.exe:3968   WRITE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Offset: 4096 Length: 
1024       
08:15:11        ruby.exe:3968   WRITE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Offset: 5120 Length: 
1024       
08:15:11        ruby.exe:3968   WRITE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Offset: 6144 Length: 
1024       
08:15:11        ruby.exe:3968   WRITE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Offset: 7168 Length: 
1025       
08:15:11        ruby.exe:3968   WRITE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Offset: 8193 Length: 
1025       
08:15:11        ruby.exe:3968   WRITE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Offset: 9218 Length: 
1024       
08:15:11        ruby.exe:3968   WRITE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Offset: 10242 Length: 
1024      
08:15:11        ruby.exe:3968   WRITE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Offset: 11266 Length: 
1024      
08:15:11        ruby.exe:3968   WRITE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Offset: 12290 Length: 
1024      
...
08:15:11        ruby.exe:3968   WRITE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Offset: 254984 Length: 
1024     
08:15:11        ruby.exe:3968   WRITE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Offset: 256008 Length: 
1024     
08:15:11        ruby.exe:3968   WRITE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Offset: 257032 Length: 
707      
08:15:11        ruby.exe:3968   WRITE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Offset: 257739 Length: 
32       
08:15:11        ruby.exe:3968   UNLOCK  
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  RANGE NOT LOCKED        Offset: 
0 Length: -1    
08:15:11        ruby.exe:3968   CLOSE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS         

I put a sleep 5 in ...

      File.open(filename, "w") { |file| file.write(to_s) }
      sleep 4
      File.utime(timestamp, timestamp, filename)


08:15:15        ruby.exe:3968   QUERY INFORMATION       
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Attributes: CA  
08:15:15        ruby.exe:3968   OPEN    
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SHARING VIOLATION       
Options: Open  Access: 00120196 
08:15:15        ruby.exe:3968   UNLOCK  
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  RANGE NOT LOCKED        Offset: 
0 Length: -1    
08:15:15        ruby.exe:3968   CLOSE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS         
08:15:15        ruby.exe:3968   QUERY INFORMATION       
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Attributes: CA  
08:15:15        ruby.exe:3968   OPEN    
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS Options: Open  Access: 
00010080 
08:15:15        ruby.exe:3968   QUERY INFORMATION       
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS 
FileAttributeTagInformation     
08:15:15        ruby.exe:3968   DELETE  
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS         
08:15:15        ruby.exe:3968   CLOSE   
C:\DOCUME~1\RichardQ\LOCALS~1\Temp\pdoc.3968.0  SUCCESS         

Reply via email to