emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problem with publishing to html
@ 2010-10-29 22:53 markscala
  2010-10-30  3:50 ` Noorul Islam
  0 siblings, 1 reply; 4+ messages in thread
From: markscala @ 2010-10-29 22:53 UTC (permalink / raw)
  To: org-mode-list Org

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)))

Thanks,
Mark

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem with publishing to html
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Noorul Islam @ 2010-10-30  3:50 UTC (permalink / raw)
  To: markscala; +Cc: org-mode-list Org

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

Thanks and Regards
Noorul

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem with publishing to html
  2010-10-30  3:50 ` Noorul Islam
@ 2010-10-30  6:25   ` Nick Dokos
  2010-10-30 15:37     ` Mark Scala
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Dokos @ 2010-10-30  6:25 UTC (permalink / raw)
  To: Noorul Islam; +Cc: nicholas.dokos, org-mode-list Org

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem with publishing to html
  2010-10-30  6:25   ` Nick Dokos
@ 2010-10-30 15:37     ` Mark Scala
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Scala @ 2010-10-30 15:37 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: org-mode-list Org, Noorul Islam


[-- 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-30 15:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).