From: Mark Scala <markscala@gmail.com>
To: nicholas.dokos@hp.com
Cc: org-mode-list Org <emacs-orgmode@gnu.org>,
Noorul Islam <noorul@noorul.com>
Subject: Re: Problem with publishing to html
Date: Sat, 30 Oct 2010 10:37:40 -0500 [thread overview]
Message-ID: <AANLkTi=tZ6-yEM_jknb5UVVOwPA8=bKQxO3qxpfbUgwd@mail.gmail.com> (raw)
In-Reply-To: <9636.1288419906@gamaville.dokosmarshall.org>
[-- Attachment #1.1: Type: text/plain, Size: 3241 bytes --]
On Sat, Oct 30, 2010 at 1:25 AM, Nick Dokos <nicholas.dokos@hp.com> wrote:
> 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.orgusing `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
>
>
>
> 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
[-- Attachment #1.2: Type: text/html, Size: 4309 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
prev parent reply other threads:[~2010-10-30 15:37 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
2010-10-30 15:37 ` Mark Scala [this message]
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='AANLkTi=tZ6-yEM_jknb5UVVOwPA8=bKQxO3qxpfbUgwd@mail.gmail.com' \
--to=markscala@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=nicholas.dokos@hp.com \
--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).