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
> > > > > > [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\prototype>rake 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'
> > > > > > 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:1974:in `run'
> > > > > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake:31
> > > > > > c:/ruby/bin/rake:16:in `load'
> > > > > > c:/ruby/bin/rake:16
> > > > > > * * * *
> > > > > > The temp file (C:/DOCUME~1/tjc/LOCALS~1/Temp/pdoc.3196.0, in the
> > > > > > above) _does_ get created briefly, and then deleted by the end of 
> > > > > > the
> > > > > > process.  Naturally I've checked permissions.  As you can tell, this
> > > > > > is a Windows system -- XP Home SP3, specifically.
>
> > > > > > Thanks in advance,
> > > > > > --
> > > > > > T.J. Crowder
> > > > > > tj / crowder software / com
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to