emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Noorul Islam <noorul@noorul.com>
Cc: nicholas.dokos@hp.com, org-mode-list Org <emacs-orgmode@gnu.org>
Subject: Re: Problem with publishing to html
Date: Sat, 30 Oct 2010 02:25:06 -0400	[thread overview]
Message-ID: <9636.1288419906@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Noorul Islam <noorul@noorul.com> of "Sat\, 30 Oct 2010 09\:20\:33 +0530." <AANLkTikmwAb0tK3B4HTgcBurhx3+DvyHF59oWbNhh-wY@mail.gmail.com>

Noorul Islam <noorul@noorul.com> wrote:

> On Sat, Oct 30, 2010 at 4:23 AM,  <markscala@gmail.com> 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:metaphysics@192.168.2.100:~/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:noorul@127.0.0.1:/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:metaphysics@192.168.2.100:/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

  reply	other threads:[~2010-10-30  8:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-29 22:53 Problem with publishing to html markscala
2010-10-30  3:50 ` Noorul Islam
2010-10-30  6:25   ` Nick Dokos [this message]
2010-10-30 15:37     ` Mark Scala

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=9636.1288419906@gamaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=noorul@noorul.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).