[TxMt] "scriptmate.rb:128:in `initialize': Permission denied" when running Python script
Daryl Spitzer
daryl.spitzer at gmail.com
Mon Nov 12 16:03:42 UTC 2007
Was this change submitted? I'm still having the same problem. (I'm
running version 1.5.7--1436.)
--
Daryl
On 7/11/07, Alex Ross <alex.j.ross at gmail.com> wrote:
> Yah. ScriptMate does save the file before running it. However it
> probably shouldn't crash when the file is unwriteable. I'll add an
> exception handler.
>
> –Alex
>
>
>
> On Jul 11, 2007, at 1:54 PM, Daryl Spitzer wrote:
>
> > Perforce isn't in the trace, it just happens to be the name of a
> > directory that the script I'm trying to run ("integration_status.py")
> > is in.
> >
> > But that gave me a clue. The script is checked in to version control
> > (Perforce). If it's not opened for edit, then I don't have write
> > permission to the file. Apparently scriptmate.rb requires write
> > access to run it. (I only get this error when the I don't have write
> > access to the file.)
> >
> > Thanks Alex.
> >
> > --
> > Daryl
> >
> >
> > On 7/11/07, Alex Ross <alex.j.ross at gmail.com> wrote:
> >> > /Applications/TextMate/TextMate.app/Contents/SharedSupport/Support/
> >> > lib/scriptmate.rb:128:in
> >> > `initialize': Permission denied -
> >> > /Users/darylspitzer/Programming/Altera/Perforce/miscellany/
> >> > infrastructure/integration/integration_status.py
> >> > (Errno::EACCES) from
> >> > /Applications/TextMate/TextMate.app/Contents/SharedSupport/Support/
> >> > lib/scriptmate.rb:128:
> >>
> >> hmm… why is this Perforce in the trace? Is this the script that you
> >> are running? Perhaps you can post a minimal script that causes the
> >> crash?
> >>
> >> –Alex
> >> _____________________________________________________________________
> >> _
> >> For new threads USE THIS: textmate at lists.macromates.com
> >> (threading gets destroyed and the universe will collapse if you
> >> don't)
> >> http://lists.macromates.com/mailman/listinfo/textmate
> >>
> >
> > ______________________________________________________________________
> > For new threads USE THIS: textmate at lists.macromates.com
> > (threading gets destroyed and the universe will collapse if you don't)
> > http://lists.macromates.com/mailman/listinfo/textmate
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
More information about the textmate
mailing list