Noorul Islam <noo...@noorul.com> wrote:

> On Sat, Oct 30, 2010 at 4:23 AM,  <marksc...@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:metaphys...@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:noo...@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:metaphys...@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




_______________________________________________
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

Reply via email to