all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Riley <rileyrgdev@googlemail.com>
To: org-mode <emacs-orgmode@gnu.org>
Subject: Bug on file publish
Date: Sat, 25 Oct 2008 02:09:53 +0200	[thread overview]
Message-ID: <iwfxmlr0vi.fsf@development.richardriley.net> (raw)


If I modify a file and then publish it using "C-c C-e f" without saving
it I get an error of the form:

,----
| File error: "Opening directory", "no such file or directory",
| "/home/shamrock/webs/mydomain/.#index.org"
`----

I traced it through with edebug (how do you set a watch on a variable? I
couldnt get it through my thick skull from the manual).

Anyway, the error occurs in

org-publish-get-base-files-1

and is a result of a broken link :
,----
| lrwxrwxrwx 1 shamrock shamrock 54 2008-10-25 02:03 .#index.org -> shamrock@development.mydomain.net.21672:1224638771
| shamrock@development:~/webs/mydomain$ cat .#index.org 
| cat: .#index.org: No such file or directory
`----

The link is created somewhere in the publish process and is not properly
constructed if the file has not been saved prior to publish.

Someone more familiar with the process might know immediately where to
fix it, if not I will have a crack next week.


-- 
We've arranged a civilization in which most crucial elements profoundly depend on science and technology.  We have also arranged things so that almost no one understands science and technology.  This is a prescription for disaster.  We might get away with it for a while, but sooner or later this combustible mixture of ignorance and power is going to blow up in our faces.  ~Carl Sagan

             reply	other threads:[~2008-10-25  0:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-25  0:09 Richard Riley [this message]
2008-10-26  6:42 ` Bug on file publish Carsten Dominik
2008-10-26 21:56   ` Sebastian Rose
2008-10-26 22:10   ` Sebastian Rose
2008-10-26 23:55     ` Sebastian Rose
2008-10-27  5:24       ` Carsten Dominik
2008-10-27  7:22       ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=iwfxmlr0vi.fsf@development.richardriley.net \
    --to=rileyrgdev@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.