From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Scala Subject: Re: Problem with publishing to html Date: Sat, 30 Oct 2010 10:37:40 -0500 Message-ID: References: <87k4l0k3un.fsf@gmail.com> <9636.1288419906@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0535418840==" Return-path: Received: from [140.186.70.92] (port=59581 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCDV1-0007Ug-NK for emacs-orgmode@gnu.org; Sat, 30 Oct 2010 11:37:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PCDUz-0000hV-AF for emacs-orgmode@gnu.org; Sat, 30 Oct 2010 11:37:43 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:56028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PCDUz-0000hD-4s for emacs-orgmode@gnu.org; Sat, 30 Oct 2010 11:37:41 -0400 Received: by vws18 with SMTP id 18so1088219vws.0 for ; Sat, 30 Oct 2010 08:37:40 -0700 (PDT) In-Reply-To: <9636.1288419906@gamaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: org-mode-list Org , Noorul Islam --===============0535418840== Content-Type: multipart/alternative; boundary=0015175cd1dafc47c70493d75aa6 --0015175cd1dafc47c70493d75aa6 Content-Type: text/plain; charset=ISO-8859-1 On Sat, Oct 30, 2010 at 1:25 AM, Nick Dokos wrote: > Noorul Islam wrote: > > > On Sat, Oct 30, 2010 at 4:23 AM, 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 --0015175cd1dafc47c70493d75aa6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sat, Oct 30, 2010 at 1:25 AM, Nick Dokos <nicholas.dokos@hp.com> wrot= e:
Noorul Islam <noorul@noorul.com> wrote:

> On Sat, Oct 30, 2010 at 4:23 AM, =A0<markscala@gmail.com> wrote:
> > I updated to 7.02 today and now am unable to publish a project to=
> > html. =A0This is the error reported in *Messages*
> >
> > Publishing file /home/mark/teach/10fall/metaphysics/notes/index.org using `org-publish-or= g-to-html'
> > Exporting...
> > tramp-convert-file-attributes: Wrong type argument: numberp,
> > 1288383678\.599600284\.0
> >
> > Here's my setting of org-publish-project-alist:
> >
> > =A0(setq org-publish-project-alist '(("metaphysics"=
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 :base-directory "~/teach/10fall/metaphysics/notes/"
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 :publishing-directory "/ssh:metaphysics@192.168.2.100:~/metaph= ysics"
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 :recursive t
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 :section-numbers nil
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 :table-of-contents nil
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 :base-extension "org"
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 :publishing-function org-publish-org-to-html
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 :author-info nil
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 :creator-info nil)))
>
> I tried to re-create this on my machine using
>
> (setq org-publish-project-alist '(("metaphysics"
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 :base-directory "/tmp/notes/"
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 :publishing-directory
> "/ssh:noorul@127.0.0.1:/tmp/publish"
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 :recursive t
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 :section-numbers nil
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 :table-of-contents nil
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 :base-extension "org"
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 :publishing-function org-publish-org-to-html
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 :author-info nil
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 :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)
> =A0of 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/metaphysic= s/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 ar= ise from Org at all.=A0 It had to do with an upgrade to coreutils (in my ca= se, on Arch Linux).=A0 In case anyone else encounters this, I solved the=A0= problem by applying the patch at this link:

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

Be= st,
Mark
=A0 --0015175cd1dafc47c70493d75aa6-- --===============0535418840== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0535418840==--