Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Hidden Characters?

by Fastolfe (Vicar)
on Nov 14, 2000 at 00:42 UTC ( #41417=note: print w/replies, xml ) Need Help??

in reply to Hidden Characters?

Is emacs still open, or do you exit it before you try to run your script? It sounds almost like a program is putting a lock on the file, preventing it from being read by another application. It's not inserting any characters.

Update: Typically you get this error when you attempt to execute or write to a file that is currently being written to. So it may have less to do with locking and more to do with slow writes? Note that you can get this error against the Perl binary itself, not just a script. Don't be misled by the word "text".

The solution is just to wait until Emacs is finished saving the file. If you're sure this is the case, and you continue to consistently get this error message even after exiting Emacs, maybe do an 'lsof' on the file and see if you can identify any other applications that have it open.

Update: Note that Re: Hidden Characters? makes these theories unlikely. Very weird problem.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://41417]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2021-07-26 16:20 GMT
Find Nodes?
    Voting Booth?

    No recent polls found