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