From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Problem with publishing to html Date: Sat, 30 Oct 2010 02:25:06 -0400 Message-ID: <9636.1288419906@gamaville.dokosmarshall.org> References: <87k4l0k3un.fsf@gmail.com> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=47463 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PC6dx-0005WW-DE for emacs-orgmode@gnu.org; Sat, 30 Oct 2010 04:18:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PC6dw-000596-6w for emacs-orgmode@gnu.org; Sat, 30 Oct 2010 04:18:29 -0400 Received: from vms173013pub.verizon.net ([206.46.173.13]:44606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PC6dw-000592-3k for emacs-orgmode@gnu.org; Sat, 30 Oct 2010 04:18:28 -0400 Received: from gamaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173013.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LB300834GEPHJ30@vms173013.mailsrvcs.net> for emacs-orgmode@gnu.org; Sat, 30 Oct 2010 03:18:26 -0500 (CDT) In-reply-to: Message from Noorul Islam of "Sat\, 30 Oct 2010 09\:20\:33 +0530." 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: Noorul Islam Cc: nicholas.dokos@hp.com, org-mode-list Org 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. =C2=A0This is the error reported in *Messages* > > > > Publishing file /home/mark/teach/10fall/metaphysics/notes/index.org usi= ng `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: > > > > =C2=A0(setq org-publish-project-alist '(("metaphysics" > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :base-directory "~/= teach/10fall/metaphysics/notes/" > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :publishing-directo= ry "/ssh:metaphysics@192.168.2.100:~/metaphysics" > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :recursive t > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :section-numbers nil > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :table-of-contents = nil > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :base-extension "or= g" > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :publishing-functio= n org-publish-org-to-html > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :author-info nil > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :creator-info nil))) >=20 > I tried to re-create this on my machine using >=20 > (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))) >=20 > I got the project published without any issues. >=20 > I have >=20 > 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 >=20 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/ind= ex.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