[Prototype-core] Re: Permission denied error from 'rake doc'
2009/4/8 Andrew Dupont goo...@andrewdupont.net: On Apr 8, 2:26 am, Richard Quadling rquadl...@googlemail.com wrote: Having refreshed my prototype checkout (along with the submodules), the sprockets issue is still present. Ball's still in Sam's court on that one. If it doesn't get fixed soon I'll ask him for commit access to the Sprockets repo so I can fix it myself. As the file is unique, what benefit does setting the timestamp have? For windows, this will be updated automatically anyway. At that point in the Sprockets code, it doesn't know that it's writing to a tempfile. It could be writing to a file that already exists. 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). Yeah, PDoc is slow. We think it's because there's an obscenely large number of objects being created during the parsing phase — and the fact that they're all kept around during the generation phase. (Time to generate grows exponentially — when I switch the task to process only, say, the Ajax files, it takes _far_ less time.) At some point, Tobie and I will change PDoc to include an intermediate stage that takes the objects from the parsing phase and converts them into lightweight objects that have only the information we need. Fun fact: it takes less time to generate docs for Prototype within my Windows VM (in VMWare Fusion, 512MB RAM) than it does in OS X (2GB RAM). Cheers, Andrew Being VERY new to using Ruby, is there a realtime debugger I could use (ideally stepwise execution with rollback, but that may be asking a lot!). Being able to provide a patch will help move things along a bit. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=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 -~--~~~~--~~--~--~---
[Prototype-core] Re: Permission denied error from 'rake doc'
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=ZEND002498r=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=ZEND002498r=213474731
[Prototype-core] Re: Permission denied error from 'rake doc'
2009/4/8 Richard Quadling rquadl...@googlemail.com: 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=ZEND002498r=213474731 Standing on the shoulders of some very clever giants! Please hold, your call will be answered shortly. -- - Richard Quadling Zend
[Prototype-core] Re: Permission denied error from 'rake doc'
2009/4/8 Richard Quadling rquadl...@googlemail.com: 2009/4/8 Richard Quadling rquadl...@googlemail.com: 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=ZEND002498r=213474731 Standing on the shoulders of some very clever giants! Please hold, your call will be
[Prototype-core] Re: Permission denied error from 'rake doc'
Hi Richard, For these really long listings and such, I wonder if it might be better to use Pastie[1] rather than inlining them in messages? (Pastie has a plain text choice.) It's just that with replies and quoting and such, these messages get REALLY long and in some cases they seem to freak out the GGroups display (not, I know, an enormously difficult task :-) ). [1] http://pastie.org -- T.J. :-) On Apr 8, 8:45 am, Richard Quadling rquadl...@googlemail.com wrote: 2009/4/8 Richard Quadling rquadl...@googlemail.com: [snip] --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Prototype-core] Re: Permission denied error from 'rake doc'
2009/4/8 T.J. Crowder t...@crowdersoftware.com: Hi Richard, For these really long listings and such, I wonder if it might be better to use Pastie[1] rather than inlining them in messages? (Pastie has a plain text choice.) It's just that with replies and quoting and such, these messages get REALLY long and in some cases they seem to freak out the GGroups display (not, I know, an enormously difficult task :-) ). [1] http://pastie.org -- T.J. :-) On Apr 8, 8:45 am, Richard Quadling rquadl...@googlemail.com wrote: 2009/4/8 Richard Quadling rquadl...@googlemail.com: [snip] Sorry. I forgot about that. Will do next time. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=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 -~--~~~~--~~--~--~---
[Prototype-core] Re: Permission denied error from 'rake doc'
On Apr 8, 2:26 am, Richard Quadling rquadl...@googlemail.com wrote: Having refreshed my prototype checkout (along with the submodules), the sprockets issue is still present. Ball's still in Sam's court on that one. If it doesn't get fixed soon I'll ask him for commit access to the Sprockets repo so I can fix it myself. As the file is unique, what benefit does setting the timestamp have? For windows, this will be updated automatically anyway. At that point in the Sprockets code, it doesn't know that it's writing to a tempfile. It could be writing to a file that already exists. 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). Yeah, PDoc is slow. We think it's because there's an obscenely large number of objects being created during the parsing phase — and the fact that they're all kept around during the generation phase. (Time to generate grows exponentially — when I switch the task to process only, say, the Ajax files, it takes _far_ less time.) At some point, Tobie and I will change PDoc to include an intermediate stage that takes the objects from the parsing phase and converts them into lightweight objects that have only the information we need. Fun fact: it takes less time to generate docs for Prototype within my Windows VM (in VMWare Fusion, 512MB RAM) than it does in OS X (2GB RAM). Cheers, Andrew --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Prototype-core] Re: Permission denied error from 'rake doc'
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=ZEND002498r=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 -~--~~~~--~~--~--~---
[Prototype-core] Re: Permission denied error from 'rake doc'
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=ZEND002498r=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=ZEND002498r=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 -~--~~~~--~~--~--~---
[Prototype-core] Re: Permission denied error from 'rake doc'
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=ZEND002498r=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=ZEND002498r=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
[Prototype-core] Re: Permission denied error from 'rake doc'
T.J., are you sure you're running the latest code? Do a git submodule update from the root Prototype directory. Those sound like issues I had run into, and fixed, several weeks ago. Meanwhile, I'll fire up my Windows VM and see what happens when I try to generate docs from there. Cheers, Andrew On Apr 2, 6:17 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi again, Thought I'd give this a try on the Ubuntu lab machine I'd just built, in hopes that the permissions problem is Windows-specific. I got further, it can read the temp file, but then it runs into a problem in the PDoc Runner where it can't find the file ajax/ajax: * * * * t...@lab06:~/projects/prototype$ rake doc (in /home/tjc/projects/prototype) Parsing source files: /tmp/pdoc20090402-6276-fmbqy1-0. Parsing completed in 81.040395 seconds. Generating documentation to: /home/tjc/projects/prototype/doc. Rendering: ajax_section.html rake aborted! No such file or directory - ajax/ajax /home/tjc/projects/prototype/Rakefile:74 (See full trace by running task with --trace) * * * * (Rakefile:74 is the PDoc Runner call.) I'm guessing it's meant to be in the doc subdirectory, but looking there, there is no subdirectory called ajax. There is, however, one called Ajax (with a capital A): * * * * t...@lab06:~/projects/prototype$ ls -lA doc total 44 drwxr-xr-x 2 tjc tjc 4096 2009-04-02 12:01 Ajax -rw-r--r-- 1 tjc tjc 21681 2009-04-02 12:01 ajax_section.html -rw-r--r-- 1 tjc tjc 12309 2009-04-02 12:01 index.html * * * * Some kind of case sensitivity problem? I wonder if this has only been used successfully on Windows (if even there?), Mac OS X, and the like that don't (by default) have case-sensitive file systems... -- T.J. On Apr 2, 10:08 am, T.J. Crowder t...@crowdersoftware.com wrote: Folks, Can anyone build the docs other than Tobie and Andrew? If so, do you have any idea what's going on? I really want to close the large number of doc tickets on my plate, but there's no point in doing the work if the patches are just going to sit there unused (like this one [1]), that's just a waste of time, and none of us have time to waste. I'm about to hit a phase of a project where I won't have time to do this, so I was trying to clean them up before that. [1]https://prototype.lighthouseapp.com/projects/8886-prototype/tickets/610 Thanks in advance, -- T.J. On Mar 31, 4:00 pm, T.J. Crowder t...@crowdersoftware.com wrote: Hi Andrew, Thanks for the help. Yeah, it is weird, isn't it? :-) And yet we have permission to delete it (apparently, as it does get deleted). Are you logged in as an administrator? I am indeed, and that file is being created in the temp directory associated with my account, which in theory I'd be able to read/write to regardless. Early on, as a test, I created a different directory with a short path with no spaces and that I have full control permissions to and pointed TEMP/TMP at it instead. The directory got used, but I got the same result. -- T.J. :-) On Mar 31, 6:23 am, Andrew Dupont goo...@andrewdupont.net wrote: Christ, that's weird. It's saying you don't have permission to read the temporary file we create to build a concatenated version of Prototype with documentation comments included. The whole point of the temporary-file approach is to avoid permissions issues. Are you logged in as an administrator? Cheers, Andrew On Mar 30, 5:51 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi all, I have a bunch of doc tickets I'd like to resolve (not to mention this ticket[1] discussed here[2] that I've posted a patch for, but seems to be waiting for someone to check that the doc stuff doesn't get broken by blank lines), but 'rake doc' doesn't work on my system. 'rake dist' and 'rake test' both do. [1]http://prototype.lighthouseapp.com/projects/8886-prototype/tickets/610 [2]http://groups.google.com/group/prototype-core/browse_thread/thread/c5... I've installed Ruby, git, rake, etc., cloned the repo, built the submodules, etc., and again dist and test work. But I haven't manually installed anything specific for PDoc -- it'd be a great answer if it were just that I was missing out something. I'd like to get the doc stuff working so I can test my doc changes locally before posting patches. I know nothing about Ruby or rake. Anyone have any idea what's going on here and how to resolve this? * * * * C:\Projects\prototyperake doc --trace (in C:/Projects/prototype) ** Invoke doc (first_time) ** Invoke doc:build (first_time) ** Invoke doc:require (first_time) ** Execute doc:require ** Execute doc:build rake aborted! Permission denied - C:/DOCUME~1/tjc/LOCALS~1/Temp/pdoc.3196.0
[Prototype-core] Re: Permission denied error from 'rake doc'
Hi Andrew, T.J., are you sure you're running the latest code? Yup, for the Ubuntu system yesterday I grabbed everything fresh, including updating the submodules. The Windows stuff last week was also brand-spanking-new, but just to be sure nothing was fixed in the last week, I re-grabbed the entire thing this morning and I get the same permissions error. Maybe it's an issue with how I'm setting up my repos? Here's what I'm doing when building from scratch: (Starting in my projects directory) git clone git://github.com/sstephenson/prototype.git cd prototype git submodule init git submodule update rake dist (Check that prototype.js is in the dist subdirectory) rake doc Until the rake doc part, I'm not getting any errors. Thanks, -- T.J. On Apr 3, 8:35 am, Andrew Dupont goo...@andrewdupont.net wrote: T.J., are you sure you're running the latest code? Do a git submodule update from the root Prototype directory. Those sound like issues I had run into, and fixed, several weeks ago. Meanwhile, I'll fire up my Windows VM and see what happens when I try to generate docs from there. Cheers, Andrew On Apr 2, 6:17 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi again, Thought I'd give this a try on the Ubuntu lab machine I'd just built, in hopes that the permissions problem is Windows-specific. I got further, it can read the temp file, but then it runs into a problem in the PDoc Runner where it can't find the file ajax/ajax: * * * * t...@lab06:~/projects/prototype$ rake doc (in /home/tjc/projects/prototype) Parsing source files: /tmp/pdoc20090402-6276-fmbqy1-0. Parsing completed in 81.040395 seconds. Generating documentation to: /home/tjc/projects/prototype/doc. Rendering: ajax_section.html rake aborted! No such file or directory - ajax/ajax /home/tjc/projects/prototype/Rakefile:74 (See full trace by running task with --trace) * * * * (Rakefile:74 is the PDoc Runner call.) I'm guessing it's meant to be in the doc subdirectory, but looking there, there is no subdirectory called ajax. There is, however, one called Ajax (with a capital A): * * * * t...@lab06:~/projects/prototype$ ls -lA doc total 44 drwxr-xr-x 2 tjc tjc 4096 2009-04-02 12:01 Ajax -rw-r--r-- 1 tjc tjc 21681 2009-04-02 12:01 ajax_section.html -rw-r--r-- 1 tjc tjc 12309 2009-04-02 12:01 index.html * * * * Some kind of case sensitivity problem? I wonder if this has only been used successfully on Windows (if even there?), Mac OS X, and the like that don't (by default) have case-sensitive file systems... -- T.J. On Apr 2, 10:08 am, T.J. Crowder t...@crowdersoftware.com wrote: Folks, Can anyone build the docs other than Tobie and Andrew? If so, do you have any idea what's going on? I really want to close the large number of doc tickets on my plate, but there's no point in doing the work if the patches are just going to sit there unused (like this one [1]), that's just a waste of time, and none of us have time to waste. I'm about to hit a phase of a project where I won't have time to do this, so I was trying to clean them up before that. [1]https://prototype.lighthouseapp.com/projects/8886-prototype/tickets/610 Thanks in advance, -- T.J. On Mar 31, 4:00 pm, T.J. Crowder t...@crowdersoftware.com wrote: Hi Andrew, Thanks for the help. Yeah, it is weird, isn't it? :-) And yet we have permission to delete it (apparently, as it does get deleted). Are you logged in as an administrator? I am indeed, and that file is being created in the temp directory associated with my account, which in theory I'd be able to read/write to regardless. Early on, as a test, I created a different directory with a short path with no spaces and that I have full control permissions to and pointed TEMP/TMP at it instead. The directory got used, but I got the same result. -- T.J. :-) On Mar 31, 6:23 am, Andrew Dupont goo...@andrewdupont.net wrote: Christ, that's weird. It's saying you don't have permission to read the temporary file we create to build a concatenated version of Prototype with documentation comments included. The whole point of the temporary-file approach is to avoid permissions issues. Are you logged in as an administrator? Cheers, Andrew On Mar 30, 5:51 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi all, I have a bunch of doc tickets I'd like to resolve (not to mention this ticket[1] discussed here[2] that I've posted a patch for, but seems to be waiting for someone to check that the doc stuff doesn't get broken by blank lines), but 'rake doc' doesn't work on my system. 'rake dist' and 'rake test' both do. [1]http://prototype.lighthouseapp.com/projects/8886-prototype/tickets/610
[Prototype-core] Re: Permission denied error from 'rake doc'
Hi, I think the issue is the /'s in the filename. I know nada about Ruby, but does it auto translate / to \ for window? I don't think. If it didn't, it probably wouldn't get that far. Most cross-OS systems (Java, for instance) handle translating slashes to backslashes in file ops on Windows. I also know nothing about Ruby, but I suspect that it does as well. -- T.J. On Apr 3, 1:37 pm, Richard Quadling rquadl...@googlemail.com wrote: 2009/4/3 T.J. Crowder t...@crowdersoftware.com: Hi Andrew, T.J., are you sure you're running the latest code? Yup, for the Ubuntu system yesterday I grabbed everything fresh, including updating the submodules. The Windows stuff last week was also brand-spanking-new, but just to be sure nothing was fixed in the last week, I re-grabbed the entire thing this morning and I get the same permissions error. Maybe it's an issue with how I'm setting up my repos? Here's what I'm doing when building from scratch: (Starting in my projects directory) git clone git://github.com/sstephenson/prototype.git cd prototype git submodule init git submodule update rake dist (Check that prototype.js is in the dist subdirectory) rake doc Until the rake doc part, I'm not getting any errors. Thanks, -- T.J. On Apr 3, 8:35 am, Andrew Dupont goo...@andrewdupont.net wrote: T.J., are you sure you're running the latest code? Do a git submodule update from the root Prototype directory. Those sound like issues I had run into, and fixed, several weeks ago. Meanwhile, I'll fire up my Windows VM and see what happens when I try to generate docs from there. Cheers, Andrew On Apr 2, 6:17 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi again, Thought I'd give this a try on the Ubuntu lab machine I'd just built, in hopes that the permissions problem is Windows-specific. I got further, it can read the temp file, but then it runs into a problem in the PDoc Runner where it can't find the file ajax/ajax: * * * * t...@lab06:~/projects/prototype$ rake doc (in /home/tjc/projects/prototype) Parsing source files: /tmp/pdoc20090402-6276-fmbqy1-0. Parsing completed in 81.040395 seconds. Generating documentation to: /home/tjc/projects/prototype/doc. Rendering: ajax_section.html rake aborted! No such file or directory - ajax/ajax /home/tjc/projects/prototype/Rakefile:74 (See full trace by running task with --trace) * * * * (Rakefile:74 is the PDoc Runner call.) I'm guessing it's meant to be in the doc subdirectory, but looking there, there is no subdirectory called ajax. There is, however, one called Ajax (with a capital A): * * * * t...@lab06:~/projects/prototype$ ls -lA doc total 44 drwxr-xr-x 2 tjc tjc 4096 2009-04-02 12:01 Ajax -rw-r--r-- 1 tjc tjc 21681 2009-04-02 12:01 ajax_section.html -rw-r--r-- 1 tjc tjc 12309 2009-04-02 12:01 index.html * * * * Some kind of case sensitivity problem? I wonder if this has only been used successfully on Windows (if even there?), Mac OS X, and the like that don't (by default) have case-sensitive file systems... -- T.J. On Apr 2, 10:08 am, T.J. Crowder t...@crowdersoftware.com wrote: Folks, Can anyone build the docs other than Tobie and Andrew? If so, do you have any idea what's going on? I really want to close the large number of doc tickets on my plate, but there's no point in doing the work if the patches are just going to sit there unused (like this one [1]), that's just a waste of time, and none of us have time to waste. I'm about to hit a phase of a project where I won't have time to do this, so I was trying to clean them up before that. [1]https://prototype.lighthouseapp.com/projects/8886-prototype/tickets/610 Thanks in advance, -- T.J. On Mar 31, 4:00 pm, T.J. Crowder t...@crowdersoftware.com wrote: Hi Andrew, Thanks for the help. Yeah, it is weird, isn't it? :-) And yet we have permission to delete it (apparently, as it does get deleted). Are you logged in as an administrator? I am indeed, and that file is being created in the temp directory associated with my account, which in theory I'd be able to read/write to regardless. Early on, as a test, I created a different directory with a short path with no spaces and that I have full control permissions to and pointed TEMP/TMP at it instead. The directory got used, but I got the same result. -- T.J. :-) On Mar 31, 6:23 am, Andrew Dupont goo...@andrewdupont.net wrote: Christ, that's weird. It's saying you don't have permission to read the temporary file we create to build a concatenated version of Prototype with documentation comments included. The whole point of the temporary-file approach is to avoid permissions issues. Are you logged in as an administrator?
[Prototype-core] Re: Permission denied error from 'rake doc'
2009/4/3 T.J. Crowder t...@crowdersoftware.com: Hi, I think the issue is the /'s in the filename. I know nada about Ruby, but does it auto translate / to \ for window? I don't think. If it didn't, it probably wouldn't get that far. Most cross-OS systems (Java, for instance) handle translating slashes to backslashes in file ops on Windows. I also know nothing about Ruby, but I suspect that it does as well. -- T.J. On Apr 3, 1:37 pm, Richard Quadling rquadl...@googlemail.com wrote: 2009/4/3 T.J. Crowder t...@crowdersoftware.com: Hi Andrew, T.J., are you sure you're running the latest code? Yup, for the Ubuntu system yesterday I grabbed everything fresh, including updating the submodules. The Windows stuff last week was also brand-spanking-new, but just to be sure nothing was fixed in the last week, I re-grabbed the entire thing this morning and I get the same permissions error. Maybe it's an issue with how I'm setting up my repos? Here's what I'm doing when building from scratch: (Starting in my projects directory) git clone git://github.com/sstephenson/prototype.git cd prototype git submodule init git submodule update rake dist (Check that prototype.js is in the dist subdirectory) rake doc Until the rake doc part, I'm not getting any errors. Thanks, -- T.J. On Apr 3, 8:35 am, Andrew Dupont goo...@andrewdupont.net wrote: T.J., are you sure you're running the latest code? Do a git submodule update from the root Prototype directory. Those sound like issues I had run into, and fixed, several weeks ago. Meanwhile, I'll fire up my Windows VM and see what happens when I try to generate docs from there. Cheers, Andrew On Apr 2, 6:17 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi again, Thought I'd give this a try on the Ubuntu lab machine I'd just built, in hopes that the permissions problem is Windows-specific. I got further, it can read the temp file, but then it runs into a problem in the PDoc Runner where it can't find the file ajax/ajax: * * * * t...@lab06:~/projects/prototype$ rake doc (in /home/tjc/projects/prototype) Parsing source files: /tmp/pdoc20090402-6276-fmbqy1-0. Parsing completed in 81.040395 seconds. Generating documentation to: /home/tjc/projects/prototype/doc. Rendering: ajax_section.html rake aborted! No such file or directory - ajax/ajax /home/tjc/projects/prototype/Rakefile:74 (See full trace by running task with --trace) * * * * (Rakefile:74 is the PDoc Runner call.) I'm guessing it's meant to be in the doc subdirectory, but looking there, there is no subdirectory called ajax. There is, however, one called Ajax (with a capital A): * * * * t...@lab06:~/projects/prototype$ ls -lA doc total 44 drwxr-xr-x 2 tjc tjc 4096 2009-04-02 12:01 Ajax -rw-r--r-- 1 tjc tjc 21681 2009-04-02 12:01 ajax_section.html -rw-r--r-- 1 tjc tjc 12309 2009-04-02 12:01 index.html * * * * Some kind of case sensitivity problem? I wonder if this has only been used successfully on Windows (if even there?), Mac OS X, and the like that don't (by default) have case-sensitive file systems... -- T.J. On Apr 2, 10:08 am, T.J. Crowder t...@crowdersoftware.com wrote: Folks, Can anyone build the docs other than Tobie and Andrew? If so, do you have any idea what's going on? I really want to close the large number of doc tickets on my plate, but there's no point in doing the work if the patches are just going to sit there unused (like this one [1]), that's just a waste of time, and none of us have time to waste. I'm about to hit a phase of a project where I won't have time to do this, so I was trying to clean them up before that. [1]https://prototype.lighthouseapp.com/projects/8886-prototype/tickets/610 Thanks in advance, -- T.J. On Mar 31, 4:00 pm, T.J. Crowder t...@crowdersoftware.com wrote: Hi Andrew, Thanks for the help. Yeah, it is weird, isn't it? :-) And yet we have permission to delete it (apparently, as it does get deleted). Are you logged in as an administrator? I am indeed, and that file is being created in the temp directory associated with my account, which in theory I'd be able to read/write to regardless. Early on, as a test, I created a different directory with a short path with no spaces and that I have full control permissions to and pointed TEMP/TMP at it instead. The directory got used, but I got the same result. -- T.J. :-) On Mar 31, 6:23 am, Andrew Dupont goo...@andrewdupont.net wrote: Christ, that's weird. It's saying you don't have permission to read the temporary file we create to build a concatenated version of Prototype with documentation comments included. The whole point of the temporary-file approach is
[Prototype-core] Re: Permission denied error from 'rake doc'
2009/4/3 Richard Quadling rquadl...@googlemail.com: 2009/4/3 T.J. Crowder t...@crowdersoftware.com: Hi, I think the issue is the /'s in the filename. I know nada about Ruby, but does it auto translate / to \ for window? I don't think. If it didn't, it probably wouldn't get that far. Most cross-OS systems (Java, for instance) handle translating slashes to backslashes in file ops on Windows. I also know nothing about Ruby, but I suspect that it does as well. -- T.J. On Apr 3, 1:37 pm, Richard Quadling rquadl...@googlemail.com wrote: 2009/4/3 T.J. Crowder t...@crowdersoftware.com: Hi Andrew, T.J., are you sure you're running the latest code? Yup, for the Ubuntu system yesterday I grabbed everything fresh, including updating the submodules. The Windows stuff last week was also brand-spanking-new, but just to be sure nothing was fixed in the last week, I re-grabbed the entire thing this morning and I get the same permissions error. Maybe it's an issue with how I'm setting up my repos? Here's what I'm doing when building from scratch: (Starting in my projects directory) git clone git://github.com/sstephenson/prototype.git cd prototype git submodule init git submodule update rake dist (Check that prototype.js is in the dist subdirectory) rake doc Until the rake doc part, I'm not getting any errors. Thanks, -- T.J. On Apr 3, 8:35 am, Andrew Dupont goo...@andrewdupont.net wrote: T.J., are you sure you're running the latest code? Do a git submodule update from the root Prototype directory. Those sound like issues I had run into, and fixed, several weeks ago. Meanwhile, I'll fire up my Windows VM and see what happens when I try to generate docs from there. Cheers, Andrew On Apr 2, 6:17 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi again, Thought I'd give this a try on the Ubuntu lab machine I'd just built, in hopes that the permissions problem is Windows-specific. I got further, it can read the temp file, but then it runs into a problem in the PDoc Runner where it can't find the file ajax/ajax: * * * * t...@lab06:~/projects/prototype$ rake doc (in /home/tjc/projects/prototype) Parsing source files: /tmp/pdoc20090402-6276-fmbqy1-0. Parsing completed in 81.040395 seconds. Generating documentation to: /home/tjc/projects/prototype/doc. Rendering: ajax_section.html rake aborted! No such file or directory - ajax/ajax /home/tjc/projects/prototype/Rakefile:74 (See full trace by running task with --trace) * * * * (Rakefile:74 is the PDoc Runner call.) I'm guessing it's meant to be in the doc subdirectory, but looking there, there is no subdirectory called ajax. There is, however, one called Ajax (with a capital A): * * * * t...@lab06:~/projects/prototype$ ls -lA doc total 44 drwxr-xr-x 2 tjc tjc 4096 2009-04-02 12:01 Ajax -rw-r--r-- 1 tjc tjc 21681 2009-04-02 12:01 ajax_section.html -rw-r--r-- 1 tjc tjc 12309 2009-04-02 12:01 index.html * * * * Some kind of case sensitivity problem? I wonder if this has only been used successfully on Windows (if even there?), Mac OS X, and the like that don't (by default) have case-sensitive file systems... -- T.J. On Apr 2, 10:08 am, T.J. Crowder t...@crowdersoftware.com wrote: Folks, Can anyone build the docs other than Tobie and Andrew? If so, do you have any idea what's going on? I really want to close the large number of doc tickets on my plate, but there's no point in doing the work if the patches are just going to sit there unused (like this one [1]), that's just a waste of time, and none of us have time to waste. I'm about to hit a phase of a project where I won't have time to do this, so I was trying to clean them up before that. [1]https://prototype.lighthouseapp.com/projects/8886-prototype/tickets/610 Thanks in advance, -- T.J. On Mar 31, 4:00 pm, T.J. Crowder t...@crowdersoftware.com wrote: Hi Andrew, Thanks for the help. Yeah, it is weird, isn't it? :-) And yet we have permission to delete it (apparently, as it does get deleted). Are you logged in as an administrator? I am indeed, and that file is being created in the temp directory associated with my account, which in theory I'd be able to read/write to regardless. Early on, as a test, I created a different directory with a short path with no spaces and that I have full control permissions to and pointed TEMP/TMP at it instead. The directory got used, but I got the same result. -- T.J. :-) On Mar 31, 6:23 am, Andrew Dupont goo...@andrewdupont.net wrote: Christ, that's weird. It's saying you don't have permission to read the temporary file we create to build a concatenated version of Prototype with documentation comments included. The
[Prototype-core] Re: Permission denied error from 'rake doc'
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=ZEND002498r=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 -~--~~~~--~~--~--~---
[Prototype-core] Re: Permission denied error from 'rake doc'
*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=ZEND002498r=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 -~--~~~~--~~--~--~---
[Prototype-core] Re: Permission denied error from 'rake doc'
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=ZEND002498r=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 -~--~~~~--~~--~--~---
[Prototype-core] Re: Permission denied error from 'rake doc'
Folks, Can anyone build the docs other than Tobie and Andrew? If so, do you have any idea what's going on? I really want to close the large number of doc tickets on my plate, but there's no point in doing the work if the patches are just going to sit there unused (like this one [1]), that's just a waste of time, and none of us have time to waste. I'm about to hit a phase of a project where I won't have time to do this, so I was trying to clean them up before that. [1] https://prototype.lighthouseapp.com/projects/8886-prototype/tickets/610 Thanks in advance, -- T.J. On Mar 31, 4:00 pm, T.J. Crowder t...@crowdersoftware.com wrote: Hi Andrew, Thanks for the help. Yeah, it is weird, isn't it? :-) And yet we have permission to delete it (apparently, as it does get deleted). Are you logged in as an administrator? I am indeed, and that file is being created in the temp directory associated with my account, which in theory I'd be able to read/write to regardless. Early on, as a test, I created a different directory with a short path with no spaces and that I have full control permissions to and pointed TEMP/TMP at it instead. The directory got used, but I got the same result. -- T.J. :-) On Mar 31, 6:23 am, Andrew Dupont goo...@andrewdupont.net wrote: Christ, that's weird. It's saying you don't have permission to read the temporary file we create to build a concatenated version of Prototype with documentation comments included. The whole point of the temporary-file approach is to avoid permissions issues. Are you logged in as an administrator? Cheers, Andrew On Mar 30, 5:51 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi all, I have a bunch of doc tickets I'd like to resolve (not to mention this ticket[1] discussed here[2] that I've posted a patch for, but seems to be waiting for someone to check that the doc stuff doesn't get broken by blank lines), but 'rake doc' doesn't work on my system. 'rake dist' and 'rake test' both do. [1]http://prototype.lighthouseapp.com/projects/8886-prototype/tickets/610 [2]http://groups.google.com/group/prototype-core/browse_thread/thread/c5... I've installed Ruby, git, rake, etc., cloned the repo, built the submodules, etc., and again dist and test work. But I haven't manually installed anything specific for PDoc -- it'd be a great answer if it were just that I was missing out something. I'd like to get the doc stuff working so I can test my doc changes locally before posting patches. I know nothing about Ruby or rake. Anyone have any idea what's going on here and how to resolve this? * * * * C:\Projects\prototyperake doc --trace (in C:/Projects/prototype) ** Invoke doc (first_time) ** Invoke doc:build (first_time) ** Invoke doc:require (first_time) ** Execute doc:require ** Execute doc:build rake aborted! Permission denied - C:/DOCUME~1/tjc/LOCALS~1/Temp/pdoc.3196.0 C:/Projects/prototype/vendor/sprockets/lib/sprockets/concatenation.rb: 27:in `utime' C:/Projects/prototype/vendor/sprockets/lib/sprockets/concatenation.rb: 27:in `save_to' C:/Projects/prototype/rakefile:72 c:/ruby/lib/ruby/1.8/tempfile.rb:172:in `open' C:/Projects/prototype/rakefile:64 c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `call' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `execute' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `each' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `execute' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:578:in `invoke_with_call_chain' c:/ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:571:in `invoke_with_call_chain' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:588:in `invoke_prerequisites' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:585:in `each' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:585:in `invoke_prerequisites' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:577:in `invoke_with_call_chain' c:/ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:571:in `invoke_with_call_chain' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:564:in `invoke' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2027:in `invoke_task' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `each' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in `standard_exception_handling' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1999:in `top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1977:in `run'
[Prototype-core] Re: Permission denied error from 'rake doc'
Hi again, Thought I'd give this a try on the Ubuntu lab machine I'd just built, in hopes that the permissions problem is Windows-specific. I got further, it can read the temp file, but then it runs into a problem in the PDoc Runner where it can't find the file ajax/ajax: * * * * t...@lab06:~/projects/prototype$ rake doc (in /home/tjc/projects/prototype) Parsing source files: /tmp/pdoc20090402-6276-fmbqy1-0. Parsing completed in 81.040395 seconds. Generating documentation to: /home/tjc/projects/prototype/doc. Rendering: ajax_section.html rake aborted! No such file or directory - ajax/ajax /home/tjc/projects/prototype/Rakefile:74 (See full trace by running task with --trace) * * * * (Rakefile:74 is the PDoc Runner call.) I'm guessing it's meant to be in the doc subdirectory, but looking there, there is no subdirectory called ajax. There is, however, one called Ajax (with a capital A): * * * * t...@lab06:~/projects/prototype$ ls -lA doc total 44 drwxr-xr-x 2 tjc tjc 4096 2009-04-02 12:01 Ajax -rw-r--r-- 1 tjc tjc 21681 2009-04-02 12:01 ajax_section.html -rw-r--r-- 1 tjc tjc 12309 2009-04-02 12:01 index.html * * * * Some kind of case sensitivity problem? I wonder if this has only been used successfully on Windows (if even there?), Mac OS X, and the like that don't (by default) have case-sensitive file systems... -- T.J. On Apr 2, 10:08 am, T.J. Crowder t...@crowdersoftware.com wrote: Folks, Can anyone build the docs other than Tobie and Andrew? If so, do you have any idea what's going on? I really want to close the large number of doc tickets on my plate, but there's no point in doing the work if the patches are just going to sit there unused (like this one [1]), that's just a waste of time, and none of us have time to waste. I'm about to hit a phase of a project where I won't have time to do this, so I was trying to clean them up before that. [1]https://prototype.lighthouseapp.com/projects/8886-prototype/tickets/610 Thanks in advance, -- T.J. On Mar 31, 4:00 pm, T.J. Crowder t...@crowdersoftware.com wrote: Hi Andrew, Thanks for the help. Yeah, it is weird, isn't it? :-) And yet we have permission to delete it (apparently, as it does get deleted). Are you logged in as an administrator? I am indeed, and that file is being created in the temp directory associated with my account, which in theory I'd be able to read/write to regardless. Early on, as a test, I created a different directory with a short path with no spaces and that I have full control permissions to and pointed TEMP/TMP at it instead. The directory got used, but I got the same result. -- T.J. :-) On Mar 31, 6:23 am, Andrew Dupont goo...@andrewdupont.net wrote: Christ, that's weird. It's saying you don't have permission to read the temporary file we create to build a concatenated version of Prototype with documentation comments included. The whole point of the temporary-file approach is to avoid permissions issues. Are you logged in as an administrator? Cheers, Andrew On Mar 30, 5:51 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi all, I have a bunch of doc tickets I'd like to resolve (not to mention this ticket[1] discussed here[2] that I've posted a patch for, but seems to be waiting for someone to check that the doc stuff doesn't get broken by blank lines), but 'rake doc' doesn't work on my system. 'rake dist' and 'rake test' both do. [1]http://prototype.lighthouseapp.com/projects/8886-prototype/tickets/610 [2]http://groups.google.com/group/prototype-core/browse_thread/thread/c5... I've installed Ruby, git, rake, etc., cloned the repo, built the submodules, etc., and again dist and test work. But I haven't manually installed anything specific for PDoc -- it'd be a great answer if it were just that I was missing out something. I'd like to get the doc stuff working so I can test my doc changes locally before posting patches. I know nothing about Ruby or rake. Anyone have any idea what's going on here and how to resolve this? * * * * C:\Projects\prototyperake doc --trace (in C:/Projects/prototype) ** Invoke doc (first_time) ** Invoke doc:build (first_time) ** Invoke doc:require (first_time) ** Execute doc:require ** Execute doc:build rake aborted! Permission denied - C:/DOCUME~1/tjc/LOCALS~1/Temp/pdoc.3196.0 C:/Projects/prototype/vendor/sprockets/lib/sprockets/concatenation.rb: 27:in `utime' C:/Projects/prototype/vendor/sprockets/lib/sprockets/concatenation.rb: 27:in `save_to' C:/Projects/prototype/rakefile:72 c:/ruby/lib/ruby/1.8/tempfile.rb:172:in `open' C:/Projects/prototype/rakefile:64 c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `call' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `execute' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in