emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Problem with publishing to html


From: Mark Scala
Subject: Re: [Orgmode] Problem with publishing to html
Date: Sat, 30 Oct 2010 10:37:40 -0500

On Sat, Oct 30, 2010 at 1:25 AM, Nick Dokos <address@hidden> wrote:
Noorul Islam <address@hidden> wrote:

> On Sat, Oct 30, 2010 at 4:23 AM,  <address@hidden> wrote:
> > I updated to 7.02 today and now am unable to publish a project to
> > html.  This is the error reported in *Messages*
> >
> > Publishing file /home/mark/teach/10fall/metaphysics/notes/index.org using `org-publish-org-to-html'
> > Exporting...
> > tramp-convert-file-attributes: Wrong type argument: numberp,
> > 1288383678\.599600284\.0
> >
> > Here's my setting of org-publish-project-alist:
> >
> >  (setq org-publish-project-alist '(("metaphysics"
> >                                     :base-directory "~/teach/10fall/metaphysics/notes/"
> >                                     :publishing-directory "/ssh:address@hidden:~/metaphysics"
> >                                     :recursive t
> >                                     :section-numbers nil
> >                                     :table-of-contents nil
> >                                     :base-extension "org"
> >                                     :publishing-function org-publish-org-to-html
> >                                     :author-info nil
> >                                     :creator-info nil)))
>
> I tried to re-create this on my machine using
>
> (setq org-publish-project-alist '(("metaphysics"
>                                     :base-directory "/tmp/notes/"
>                                     :publishing-directory
> "/ssh:address@hidden:/tmp/publish"
>                                     :recursive t
>                                     :section-numbers nil
>                                     :table-of-contents nil
>                                     :base-extension "org"
>                                     :publishing-function org-publish-org-to-html
>                                     :author-info nil
>                                     :creator-info nil)))
>
> I got the project published without any issues.
>
> I have
>
> Org-mode version 7.01trans (release_7.01h.880.gba6b6)
> GNU Emacs 23.2.2 (i686-pc-linux-gnu)
>  of 2010-06-08 on sajida
>
I tried with just-pulled 7.02 and could not reproduce it either. It
looks like a tramp problem.

Mark, try evaluating the following form (but note that the IP address
looks like a DHCP address assigned by your router, so you should make
sure that it is still correct):

(file-attributes "/ssh:address@hidden:/home/mark/metaphysics/index.html")

You can evaluate it by placing the cursor after the closing paren
of the form and pressing ``C-x C-e''. Do you get the same error?
Either way it probably has nothing to do with org, but if you do
get the same error, then it *definitely* has nothing to do with org.

HTH,
Nick



Nick, you were right. This problem doesn't arise from Org at all.  It had to do with an upgrade to coreutils (in my case, on Arch Linux).  In case anyone else encounters this, I solved the  problem by applying the patch at this link:

http://osdir.com/ml/tramp-devel-gnu/2010-10/msg00009.html

Best,
Mark
 
reply via email to

[Prev in Thread] Current Thread [Next in Thread]